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

can't run train.py #39

Open
MustafaFayez opened this issue Nov 5, 2018 · 4 comments
Open

can't run train.py #39

MustafaFayez opened this issue Nov 5, 2018 · 4 comments

Comments

@MustafaFayez
Copy link

MustafaFayez commented Nov 5, 2018

I ran
ipython3 train.py
I got this:
screenshot from 2018-11-04 21-33-29

I installed sonnet from this command
$ pip install dm-sonnet

@LaithS
Copy link

LaithS commented Feb 29, 2020

If you're still stuck on that, or someone else runs into the same problem, this is probably due to the use of sonnet >=2

@vincentrolfs
Copy link

vincentrolfs commented Apr 26, 2020

It will work with these exact versions:

pip install -q tensorflow==1.13.2
pip install -q tensorflow-probability==0.6.0
pip install -q dm-sonnet

Edit: Looks like pip install -q "tensorflow<=1.15" also works.

@saschaschramm
Copy link

Sonnet 1.35 is required.

pip install -q dm-sonnet==1.35

@MoxyFoxy
Copy link

Doesn't seem to work anymore. I keep getting SystemError: Sonnet requires tensorflow_probability (minimum version 0.4.0) to be installed. If using pip, run 'pip install tensorflow-probability' or 'pip install tensorflow-probability-gpu' even though tensorflow-probability is installed (even with dm-sonnet==1.35). Anyone have any ideas that could solve this?

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

5 participants