We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6aaa6ab commit 752f5efCopy full SHA for 752f5ef
src/e2eflow/util.py
@@ -77,6 +77,9 @@ def convert_input_strings(config_dct, dirs):
77
for name in config_dct['finetune'].split(","):
78
ckpt_dir = os.path.join(dirs['checkpoints'], name)
79
ckpt = tf.train.get_checkpoint_state(ckpt_dir)
80
+ if ckpt is None:
81
+ ckpt_dir = os.path.join(dirs['log'], 'ex', name)
82
+ ckpt = tf.train.get_checkpoint_state(ckpt_dir)
83
assert ckpt, "Could not load experiment " + name
84
finetune.append(ckpt)
85
config_dct['finetune'] = finetune
0 commit comments