Skip to content

Commit

Permalink
new flag to resume wandb run
Browse files Browse the repository at this point in the history
useful after crash or when splitting training into multiple jobs
  • Loading branch information
Simon Adamov committed May 1, 2024
1 parent 96eea78 commit 72272bc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions train_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,9 @@ def main():
type=str,
help="Path to load model parameters from (default: None)",
)
parser.add_argument(
"--resume_run", type=str, help="Run ID to resume (default: None)"
)
parser.add_argument(
"--restore_opt",
type=int,
Expand Down

0 comments on commit 72272bc

Please sign in to comment.