tensorflow保存模型的几种方法
tensorflow保存模型有多种方法第一种:saver.save(sess, "./hello_model") # 生成ckpt模型文件, hello_model.data-00000-of-00001 hello_model.index hello_model.meta第二种:tf.train.write_graph(sess.graph_def, ./, 'hello.pb') # 生成hello.pb, 再通过freeze_graph把hello.pb与ckpt固...
python list字符按数字大小排序