tf1转换成tf2语句: tf.image.resize_images 转换成:tf.image.resize tf.Session() 转换成 tf.compat.v1.Session() tf.gfile.FastGFile 转换成tf.io.gfile.GFile