Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DoublePendulum example not working #125

Closed
jcvillaquira opened this issue Apr 6, 2023 · 3 comments
Closed

DoublePendulum example not working #125

jcvillaquira opened this issue Apr 6, 2023 · 3 comments

Comments

@jcvillaquira
Copy link

Currently some of the examples are not working. For example, in the DoublePendulum I get

julia> using DoublePendulum; DoublePendulum.train() [ Info: Training on CPU ERROR: BoundsError: attempt to access 3×30×64×100 Array{ComplexF32, 4} at index [1:4, 1:16, 1:64, 1:100]
full stacktrace

and a similar error in the Navier-Stokes example. The Burgers example is working.

@HanjiangHu
Copy link

Hi @jcvillaquira , I meet the same issue with the DoublePendulum example, could you please share me the way to fix it?

@jcvillaquira
Copy link
Author

jcvillaquira commented Jul 20, 2024

@HanjiangHu choose a smaller number of modes. This happens because the number of channels is too small for the modes.

@HanjiangHu
Copy link

Thanks for the quick response, yes, it works after I change the number of modes to smaller ones. Thank you once again for your help!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants