Loading error fix
This commit is contained in:
parent
8586a31949
commit
85d97d1d69
@ -78,8 +78,6 @@ with tf.Session() as sess:
|
||||
val_saver = tf.train.Saver()
|
||||
# training or inference
|
||||
|
||||
continue_from_epoch = -1
|
||||
|
||||
if continue_from_epoch != -1:
|
||||
train_saver.restore(sess, "{}/{}_{}.ckpt".format(saved_models_filepath, experiment_name,
|
||||
continue_from_epoch)) # restore previous graph to continue operations
|
||||
|
@ -78,8 +78,6 @@ with tf.Session() as sess:
|
||||
val_saver = tf.train.Saver()
|
||||
# training or inference
|
||||
|
||||
continue_from_epoch = -1
|
||||
|
||||
if continue_from_epoch != -1:
|
||||
train_saver.restore(sess, "{}/{}_{}.ckpt".format(saved_models_filepath, experiment_name,
|
||||
continue_from_epoch)) # restore previous graph to continue operations
|
||||
|
@ -78,8 +78,6 @@ with tf.Session() as sess:
|
||||
val_saver = tf.train.Saver()
|
||||
# training or inference
|
||||
|
||||
continue_from_epoch = -1
|
||||
|
||||
if continue_from_epoch != -1:
|
||||
train_saver.restore(sess, "{}/{}_{}.ckpt".format(saved_models_filepath, experiment_name,
|
||||
continue_from_epoch)) # restore previous graph to continue operations
|
||||
|
@ -78,7 +78,6 @@ with tf.Session() as sess:
|
||||
val_saver = tf.train.Saver()
|
||||
# training or inference
|
||||
|
||||
continue_from_epoch = -1
|
||||
|
||||
if continue_from_epoch != -1:
|
||||
train_saver.restore(sess, "{}/{}_{}.ckpt".format(saved_models_filepath, experiment_name,
|
||||
|
@ -78,8 +78,6 @@ with tf.Session() as sess:
|
||||
val_saver = tf.train.Saver()
|
||||
# training or inference
|
||||
|
||||
continue_from_epoch = -1
|
||||
|
||||
if continue_from_epoch != -1:
|
||||
train_saver.restore(sess, "{}/{}_{}.ckpt".format(saved_models_filepath, experiment_name,
|
||||
continue_from_epoch)) # restore previous graph to continue operations
|
||||
|
Loading…
Reference in New Issue
Block a user