【Bug提示】:AttributeError: module’ tensorflow_core._api.v2. train’ has no attribute’ AdamOptimizer’
【Bug定位】:
【改正方法】:
此外,在程序开始部分加上tf.compat.v1.disable_eager_execution()
【Bug提示】:AttributeError: module’ tensorflow_core._api.v2. train’ has no attribute’ AdamOptimizer’
【Bug定位】:
【改正方法】:
此外,在程序开始部分加上tf.compat.v1.disable_eager_execution()