Loading error fix

This commit is contained in:
AntreasAntoniou 2018-02-05 13:41:45 +00:00
parent 8586a31949
commit 85d97d1d69
5 changed files with 0 additions and 9 deletions

View File

@ -78,8 +78,6 @@ with tf.Session() as sess:
val_saver = tf.train.Saver() val_saver = tf.train.Saver()
# training or inference # training or inference
continue_from_epoch = -1
if continue_from_epoch != -1: if continue_from_epoch != -1:
train_saver.restore(sess, "{}/{}_{}.ckpt".format(saved_models_filepath, experiment_name, train_saver.restore(sess, "{}/{}_{}.ckpt".format(saved_models_filepath, experiment_name,
continue_from_epoch)) # restore previous graph to continue operations continue_from_epoch)) # restore previous graph to continue operations

View File

@ -78,8 +78,6 @@ with tf.Session() as sess:
val_saver = tf.train.Saver() val_saver = tf.train.Saver()
# training or inference # training or inference
continue_from_epoch = -1
if continue_from_epoch != -1: if continue_from_epoch != -1:
train_saver.restore(sess, "{}/{}_{}.ckpt".format(saved_models_filepath, experiment_name, train_saver.restore(sess, "{}/{}_{}.ckpt".format(saved_models_filepath, experiment_name,
continue_from_epoch)) # restore previous graph to continue operations continue_from_epoch)) # restore previous graph to continue operations

View File

@ -78,8 +78,6 @@ with tf.Session() as sess:
val_saver = tf.train.Saver() val_saver = tf.train.Saver()
# training or inference # training or inference
continue_from_epoch = -1
if continue_from_epoch != -1: if continue_from_epoch != -1:
train_saver.restore(sess, "{}/{}_{}.ckpt".format(saved_models_filepath, experiment_name, train_saver.restore(sess, "{}/{}_{}.ckpt".format(saved_models_filepath, experiment_name,
continue_from_epoch)) # restore previous graph to continue operations continue_from_epoch)) # restore previous graph to continue operations

View File

@ -78,7 +78,6 @@ with tf.Session() as sess:
val_saver = tf.train.Saver() val_saver = tf.train.Saver()
# training or inference # training or inference
continue_from_epoch = -1
if continue_from_epoch != -1: if continue_from_epoch != -1:
train_saver.restore(sess, "{}/{}_{}.ckpt".format(saved_models_filepath, experiment_name, train_saver.restore(sess, "{}/{}_{}.ckpt".format(saved_models_filepath, experiment_name,

View File

@ -78,8 +78,6 @@ with tf.Session() as sess:
val_saver = tf.train.Saver() val_saver = tf.train.Saver()
# training or inference # training or inference
continue_from_epoch = -1
if continue_from_epoch != -1: if continue_from_epoch != -1:
train_saver.restore(sess, "{}/{}_{}.ckpt".format(saved_models_filepath, experiment_name, train_saver.restore(sess, "{}/{}_{}.ckpt".format(saved_models_filepath, experiment_name,
continue_from_epoch)) # restore previous graph to continue operations continue_from_epoch)) # restore previous graph to continue operations