gntp icon indicating copy to clipboard operation
gntp copied to clipboard

Demo Does Not run with Tensorflow Version 2.0

Open dbl001 opened this issue 5 years ago • 3 comments

$ ipython Python 3.6.7 | packaged by conda-forge | (default, Nov 6 2019, 16:19:42) Type 'copyright', 'credits' or 'license' for more information IPython 7.11.1 -- An enhanced Interactive Python. Type '?' for help.

In [1]: import tensorflow

In [2]: print(tensorflow.version)
2.0.0

In [3]: import tensorflow.contrib

ModuleNotFoundError Traceback (most recent call last) in ----> 1 import tensorflow.contrib

ModuleNotFoundError: No module named 'tensorflow.contrib'

dbl001 avatar Jan 29 '20 20:01 dbl001

Yep it's currently a problem - our code is still based on TF 1.x

I can start porting it to TF 2.x in the second half of February

pminervini avatar Jan 30 '20 11:01 pminervini

TF 1.x can't run on cuda11.

570710065-jili avatar Jul 21 '22 06:07 570710065-jili

Hi, did you managed to transfer it to TF2.x? I also have the problem with higher cuda version on GPU .

Yanzhiwen001 avatar Mar 25 '24 23:03 Yanzhiwen001