报错:tensorflow.python.eager.core._FallbackException

日萌社

人工智能AI:Keras PyTorch MXNet TensorFlow PaddlePaddle 深度学习实战(不定时更新)


1.问题:同时使用 tf.compat.v1.disable_eager_execution() 和 TensorBoard 的时候,TensorBoard会报错:
  tensorflow.python.eager.core._FallbackException: This function does not handle the case of the path where all inputs are not already EagerTensors.
2.解决:不使用 tf.compat.v1.disable_eager_execution() 就可以了,TensorBoard 那就也可以正常使用了。    
发布了389 篇原创文章 · 获赞 129 · 访问量 21万+

猜你喜欢

转载自blog.csdn.net/zimiao552147572/article/details/105033788
今日推荐