報錯: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 那就也可以正常使用了。    

 

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章