AttributeError: module 'tensorflow' has no attribute 'gfile' - tensorflow Version 2.0.0-alpha0 解决方法: 将tf.gfile 换成tf.io.gfile.