- .ckpt older version of the file is output
saver.save(sess)
, equivalent to the current .ckpt-data - The checkpoint file is only used to tell some TF function, which is the latest checkpoint file.
- FIG comprising .ckpt-meta-membered, i.e. computation graph structure, there is no value of the variable (see substantially in tensorboard / graph in).
saver = tf.train.import_meta_graph(path_to_ckpt_meta) saver.restore(sess, path_to_ckpt_data)
- .ckpt-index is an internal need some kind of index to correctly map the first two documents, it is usually not necessary, can only .ckpt-meta and restore a model .ckpt-data.
- .pb file can save your entire chart (yuan + data). To load and use (but not training) graphics in C ++, often use it to create
freeze_graph
, it will.pb
create a file from the metadata and data.
.ckpt file with the file .pb
Guess you like
Origin www.cnblogs.com/liuboblog/p/11915490.html
Recommended
Ranking