1.Tensorflow._api.v2.train has no attribute ‘AdamOptimizer’
AdamOptimizer() => tf.optimizers.Adam()
2.AttributeError: module ‘tensorflow’ has no attribute ‘contrib’
3.ModuleNotFoundError: No module named ‘past’
这个module叫future
4.absl.flags._exceptions.UnrecognizedFlagError: Unknown command line flag ‘data_format’
标记异常:未识别的标志错误:未知命令行标志“data_format”,即意味着没有这个命令行参数,既然没有,添加一个即可!
flags.DEFINE_string('data_format', 'value', 'The explanation of this parameter is ing')