AttributeError: module 'tensorflow_core.compat.v1' has no attribute 'contrib'
lstm_cell = tf.contrib.rnn.core_rnn_cell.BasicLSTMCell(lstm_size)#报错
解决方法:
lstm_cell =tf.nn.rnn_cell.BasicLSTMCell(lstm_size)
ModuleNotFoundError: No module named 'PIL'
解决方法:conda install pillow
ModuleNotFoundError: No module named 'tensorflow.contrib'
from tensorflow.compat.v1 import quantize as tfcvq
ValueError: invalid literal for int() with base 10
要转换成int型的文本不符合10进制类型
查看文件路径结尾中是否有 ‘/’