I have a piece of TF1 code that I got to work, and am implementing checkpoint saving and restoration using Tf.train.Saver()
After fixing a few bugs, seems to run OK, but I would like to confirm that the restoration was successfully implemented.
The lines in question
saver = tf.train.import_meta_graph(“/root/saved_checkpoints/model.ckpt.meta”) saver.restore(sess, tf.train.latest_checkpoint(‘/root/saved_checkpoints’))
I tried using assert_consumed() after the second line, but it returned a nonetype error. Is there any other way to confirm?
submitted by /u/dxjustice
[visit reddit] [comments]