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

Material Missing at import: strange... #197

Open
jecampagne opened this issue Sep 15, 2022 · 0 comments
Open

Material Missing at import: strange... #197

jecampagne opened this issue Sep 15, 2022 · 0 comments

Comments

@jecampagne
Copy link

jecampagne commented Sep 15, 2022

Hi,
I am on Google Colab and

! pip install git+https://github.com/deepmind/distrax.git
from distrax import ScalarAffine, Tanh, DiagLinear, Shift

I get this error

ImportError: cannot import name 'DiagLinear' from 'distrax' (/usr/local/lib/python3.7/dist-packages/distrax/__init__.py)

But also strange

from distrax._src.bijectors.diag_linear import DiagLinear
from distrax._src.bijectors.linear import Linear

The first import is ok, but the second complains

ModuleNotFoundError: No module named 'distrax._src.bijectors.linear'

something wrong in my install??? I check that the version is (0.1.2)

Thanks

@jecampagne jecampagne changed the title DiagLinear Missing? Material Missing at import: strange... Sep 15, 2022
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

1 participant