Following the install instructions on the main README page caused an error seemingly due to incompatibilities between jax and flax.
Following install instructions gave jax version 0.4.16 and flax version 0.5.3
Running the example training code gave the following error ImportError: cannot import name 'ShapedArray' from 'jax'
I have not used jax or flax before but from doing some digging this seems to be because jax hasn't provided ShapedArray since version 0.4.14.
Upgrading flax to version 0.7.0 got past this problem but opened up a new issue of flax.optim no longer being a part of the flax library.
What is the recommended solution to this problem and can code/documentation be updated to reflect this compatibility issue?
Following the install instructions on the main README page caused an error seemingly due to incompatibilities between jax and flax.
Following install instructions gave jax version 0.4.16 and flax version 0.5.3
Running the example training code gave the following error
ImportError: cannot import name 'ShapedArray' from 'jax'I have not used jax or flax before but from doing some digging this seems to be because jax hasn't provided ShapedArray since version 0.4.14.
Upgrading flax to version 0.7.0 got past this problem but opened up a new issue of
flax.optimno longer being a part of the flax library.What is the recommended solution to this problem and can code/documentation be updated to reflect this compatibility issue?