一、可能引起的问题: 1.图操作重复载入会导致模型变量越来越大,调用saver保存时可能报错。 错误信息:Cannot serialize protocol buffer of type tensorflow.GraphDef as the serialized size (2392135075bytes) would be larger than the limit (2147483647 bytes) 可能存在的问题: tf.convert_to_tensor: 图操作 将numpy转为tensor,但是不是图变量,所以运行代码会重复导入。