Skip to content
This repository has been archived by the owner on Sep 28, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants