Currently I am loading a previously trained model using
with tf.Session() as sess:
saver.restore(sess, tf.train.latest_checkpoint('./'))
which loads the file recorded in the file "checkpoint" that was created when saving the model. However, the file "checkpoint" always refers to the last trained model, so if I want to load another model I have to manually edit the "checkpoint" file to change the model name.
My question is, how can I restore a trained model different from the last one I created, without manually editing the "checkpoint" file?