parser.add_argument("--no_checkpoint", action="store_true", default=False)
-parser.add_argument("--overwrite_results", action="store_true", default=False)
+parser.add_argument("--continue_training", action="store_true", default=False)
parser.add_argument("--checkpoint_name", type=str, default="checkpoint.pth")
try:
os.mkdir(args.result_dir)
except FileExistsError:
- if not args.overwrite_results:
+ if not args.continue_training:
print(f"result directory {args.result_dir} already exists")
exit(1)
######################################################################
if self.training and self.proba_gate_dropout > 0.0:
+ # This is a better implementation of "flashbacks". A is
+ # NxExT where e is the caterpillar's row.
+
warnings.warn("gate dropout", RuntimeWarning)
epsilon = 0.5