Fix misleading error message.
@@ -294,8 +294,8 @@ class SamplingMultiTaskTrainer:
self._serialization_dir, "*_{}_*.th".format(phase))
assert_for_log(len(glob.glob(checkpoint_pattern)) == 0,
"There are existing checkpoints here which will be overwritten. "
- "Use -m or LOAD_MODEL to load the checkpoints instead. "
- "If you don't want them, delete them or change your experimnent name.")
+ "Use load_model = 1 to load the checkpoints instead. "
+ "If you don't want them, delete them or change your experiment name.")
if self._grad_clipping is not None: # pylint: disable=invalid-unary-operand-type
def clip_function(grad): return grad.clamp(-self._grad_clipping, self._grad_clipping)
