I am training a model in tensorflow and I am doing checkpoints for my model. I the Checkpoints directory, I have four files namely,
Checkpoints
checkpo
You are restoring in a wrong way
saver.restore(sess, 'model.cpkt-0') # get the graph g = tf.get_default_graph() w1 = g.get_tensor_by_name('some_variable_name as per your definition in the model')