提问者:小点点

AttributeError:模块的tensorflow_应用程序编程接口。v1。配置“”没有属性“急切地运行函数”


试图在Jupyter运行ImageAI。我得到以下错误

中的AttributeError回溯(最近一次调用)----

#######################################################################################################################

#######################################################################################################################################

AttributeError:模块的tensorflow_应用程序编程接口。v1。配置“没有属性”急切地运行函数

这里的问题是什么?提前感谢


共1个答案

匿名用户

您可以这样尝试:

import tensorflow.compat.v1 as tf
tf.config.experimental_run_functions_eagerly(True)
@tf.function
def fn():
  # `enter code here