日萌社
人工智能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 那就也可以正常使用了。