Load tensorflow model from moved directory
问题 saver = tf.train.import_meta_graph(filepath) tf.reset_default_graph() sess = tf.Session() saver.restore(sess, tf.train.latest_checkpoint('/home/deep_learning_tests/tensorflow/')) Ok, the code is simple. And loading tensorflow model with the original path works perfectly. But the problem is that if I move the tensorflow model (including .index, .meta, checkpoint) to other path it gives error tensorflow.python.framework.errors_impl.NotFoundError: /home/deep_learning_tests/tensorflow/d:/labtest