Suppose I have checkpoint with content:
checkpoint
├── model.ckpt-240000.data-00000-of-00001
├── model.ckpt-240000.index
└── model.ckpt-240000.meta
Is it possible to view content of checkpoint in tensorboard or it only possible converting to .pb
format?
Looks like it can be done like:
import tensorflow as tf
g = tf.Graph()
with g.as_default() as g:
tf.train.import_meta_graph('./checkpoint/model.ckpt-240000.meta')
with tf.Session(graph=g) as sess:
file_writer = tf.summary.FileWriter(logdir='checkpoint_log_dir/faceboxes', graph=g)
And then tensorboard --logdir checkpoint_log_dir/faceboxes/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With