【发布时间】:2021-01-20 16:09:49
【问题描述】:
我每次运行 tf.keras.Sequential().predict_on_batch 时都会收到此消息:
WARNING: AutoGraph could not transform <bound method Layer.__call__ of <tensorflow.python.keras.engine.sequential.Sequential object at 0x000001F927581348>> and will run it as-is.
Please report this to the TensorFlow team. When filing the bug, set the verbosity to 10 (on Linux, `export AUTOGRAPH_VERBOSITY=10`) and attach the full output.
Cause:
它完全填满了我的控制台,我找不到抑制它的方法。
Python 版本:3.7.7 张量流版本:2.1.0
【问题讨论】:
-
你的 python 版本是什么?你的 tensorflow 版本是什么?
-
3.7.7 和 2.1.0 分别
-
升级 TensorFlow 对我有用(py 3.9)stackoverflow.com/a/64923461/8692977
标签: python tensorflow