dnc
dnc copied to clipboard
can't run train.py
I ran
ipython3 train.py
I got this:
I installed sonnet from this command
$ pip install dm-sonnet
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
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.
Sonnet 1.35 is required.
pip install -q dm-sonnet==1.35
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?