Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion alonet/common/pl_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ def load_training(
if "weights" in kwargs and kwargs["weights"] is not None: # Highest priority
weights_path = kwargs["weights"]

strict = True if "nostrict" in args else not args.nostrict
strict = True if "nostrict" not in args else not args.nostrict
if run_id is not None and project_run_id is not None:
run_id_project_dir = os.path.join(vb_folder(), f"project_{project_run_id}")
ckpt_path = os.path.join(run_id_project_dir, run_id, "last.ckpt")
Expand Down