【Bug提示】:AttributeError: module’ tensorflow_core._api.v2. train’ has no attribute’ AdamOptimizer’
【Bug定位】:
【改正方法】:
此外,在程序开始部分加上tf.compat.v1.disable_eager_execution()
AttributeError: module‘ tensorflow_core._api.v2. train‘ has no attribute‘ AdamOptimizer‘
最新推荐文章于 2023-07-06 15:58:26 发布