Closed karen-jin closed 2 years ago
File "/content/gansformer-reproducibility-challenge/src/dnnlib/tflib/tfutil.py", line 16, in import tensorflow.contrib # requires TensorFlow 1.x! ModuleNotFoundError: No module named 'tensorflow.contrib'
added to be back compatible.
import tensorflow.compat.v1 as tf tf.disable_v2_behavior()
File "/content/gansformer-reproducibility-challenge/src/dnnlib/tflib/tfutil.py", line 16, in
import tensorflow.contrib # requires TensorFlow 1.x!
ModuleNotFoundError: No module named 'tensorflow.contrib'