ImportError: cannot import name 'contrib'/AttributeError: module 'tensorflow' has no attribute 'contrib'
Temp solve: Just comment it and ignore
Solved: Need to specify t2t_usr_dir
Solved: Might be caused by the problem generate wrong samples.
Could not load dynamic library 'libcudart.so.10.1'; dlerror: libcudart.so.1: cannot open shared object file: No such file or directory
Solved: conda install cudatoolkit=10.1
Could not load dynamic library 'libcudart.so.10.0'; dlerror: libcudart.so.10.0: cannot open shared object file: No such file or directory
Solved: conda install cudatoolkit=10.0
Could not load dynamic library 'libcudnn.so.7'; dlerror: libcudnn.so.7: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: /usr/local/cuda/lib64:/share/local/slocal/lib:/usr/local/cuda/lib64:/share/local/lib:$LD_LIBRARY_PATH
Not solve: conda install cudnn Solved: conda install -c anaconda cudnn
ERROR: Cannot uninstall 'wrapt'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.
Solved: pip install -U --ignore-installed wrapt enum34 simplejson netaddr csdn
Solved: upgrade tensorflow
UnknownError: Failed to get convolution algorithm. This is probably because cuDNN failed to initialize, so try looking to see if a warning log message was printed above. [Op:Conv2D]
Solving: change cudnn version
Unable to Enable Tensorflows Eager execution: AttributeError: module 'tensorflow' has no attribute 'enable_eager_execution'
Solved: tf.enable_eager_execution() in tensorflow 1.x, in tensorflow 2, eager mode is set to be open default.
RuntimeError: Exporting/importing meta graphs is not supported when eager execution is enabled. No graph exists when eager execution is enabled.
Solving A: check version of tensorflow:Can a TensorFlow Hub module be used in TensorFlow 2.0?
Solving B: tf.placeholder() is not compatible with eager execution
Solving C: Load tf1 model with tf2 in hub: Offical Q&A Offical moving tf1 to tf2