-
Notifications
You must be signed in to change notification settings - Fork 602
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
TypeError: iteration over a 0-d array #23
Comments
Hi @jondeaton, I believe your (though the fact that this error is what appears should be considered a bug!) |
Thanks for the suggestion! Unfortunately, I'm still encountering the same problem after changing
Any ideas why this is occurring or how I could contribute a patch that would fix this bug? I'm not able to continue with my RL project that I'm trying to use flax for, so I'd be happy to send a PR but I'm not really sure where to start looking to fix this. |
Hi Jon, I was able to reproduce this, but once I upgraded to latest flax, jax (which required a new version of jaxlib as well) this was resolved. Can you give that a shot? |
I managed to run it without errors as well using the latest version of flax, so I am closing this issue. |
When I run the following code, I get a
TypeError: iteration over a 0-d array
error from Jax. The code looks correct to me, and I don't understand where this error is coming from or how to fix the issue.produces the following stack trace
Any help is greatly appreciated!
The text was updated successfully, but these errors were encountered: