ValueError: tf.enable

xiaoxiao2025-08-08  30

在Juptynotebook里面运行一下代码,出现了这个错误:

import tensorflow as tf tf.enable_eager_execution() tfe = tf.contrib.eager

解决方法也很简单,重新运行一下 kernel 就可以了,restart 即可。

转载请注明原文地址: https://www.6miu.com/read-5034486.html

最新回复(0)