tensorflow / tensor2tensor

Library of deep learning models and datasets designed to make deep learning more accessible and accelerate ML research.
Apache License 2.0
15.6k stars 3.51k forks source link

Subdependencies (tensorflow-probability) conflict in T2T==1.15.7 #1859

Open yw662 opened 4 years ago

yw662 commented 4 years ago

Description

T2T==1.15.7 requires kfac==0.2.3, which requires tensorflow-probability==0.8.0, however, T2T itself requires tensorflow-probability==0.7.0

...

Environment information

OS: debian buster 10

$ pip freeze | grep tensor
# your output here
not available(nothing installed)

$ python -V
# your output here

Python 3.7.3

For bugs: reproduction and error logs

# Steps to reproduce:
...
# Error logs:
...
yw662 commented 4 years ago

Solved by restrict kfac == 0.1.5. Please consider applying this restriction into setup.py of T2T.

Wsine commented 3 years ago

I met the same problem. I solved by preinstall kfac==0.2.0 before tensor2tensor. similar to the above.

pipenv install --dev kfac==0.2.0 tensor2tensor