[英]Error: ModuleNotFoundError: No module named 'tensorflow.contrib'
I'm using Tensorflow 2.0 but getting error while executing train.py.我正在使用 Tensorflow 2.0,但在执行 train.py 时出错。
from tensorflow.contrib.memory_stats.python.ops.memory_stats_ops import BytesInUse ModuleNotFoundError: No module named 'tensorflow.contrib'从 tensorflow.contrib.memory_stats.python.ops.memory_stats_ops 导入 BytesInUse ModuleNotFoundError:没有名为“tensorflow.contrib”的模块
can anyone please help me with finding tf.contrib module in tensorflow2.0谁能帮我在 tensorflow2.0 中找到 tf.contrib 模块
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.