You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The demo notebook's imports do not work out of the box in Colab in their current state.
I get ImportError: cannot import name 'stax' from 'jax.experimental' (/usr/local/lib/python3.7/dist-packages/jax/experimental/__init__.py)
and
ImportError: cannot import name 'optimizers' from 'jax.experimental' (/usr/local/lib/python3.7/dist-packages/jax/experimental/__init__.py)
Switching the stax and optimizers import to from jax.example_libraries import stax, optimizers fixed the import issues for me
The text was updated successfully, but these errors were encountered:
The demo notebook's imports do not work out of the box in Colab in their current state.
I get
ImportError: cannot import name 'stax' from 'jax.experimental' (/usr/local/lib/python3.7/dist-packages/jax/experimental/__init__.py)
and
ImportError: cannot import name 'optimizers' from 'jax.experimental' (/usr/local/lib/python3.7/dist-packages/jax/experimental/__init__.py)
Switching the stax and optimizers import to
from jax.example_libraries import stax, optimizers
fixed the import issues for meThe text was updated successfully, but these errors were encountered: