Skip to content

Commit

Permalink
Train.py line 486 typo fix (#9330)
Browse files Browse the repository at this point in the history
fixed issue

Signed-off-by: robinned <78896580+robinned@users.noreply.github.com>

Signed-off-by: robinned <78896580+robinned@users.noreply.github.com>
Co-authored-by: Ayush Chaurasia <ayush.chaurarsia@gmail.com>
  • Loading branch information
robinned and AyushExel authored Sep 8, 2022
1 parent 5f075ee commit 3cd66b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion train.py
Original file line number Diff line number Diff line change
Expand Up @@ -483,7 +483,7 @@ def main(opt, callbacks=Callbacks()):
check_requirements()

# Resume (from specified or most recent last.pt)
if opt.resume and not check_wandb_resume(opt) and not check_comet_resume(opt) or opt.evolve:
if opt.resume and not check_wandb_resume(opt) and not check_comet_resume(opt) and not opt.evolve:
last = Path(check_file(opt.resume) if isinstance(opt.resume, str) else get_latest_run())
opt_yaml = last.parent.parent / 'opt.yaml' # train options yaml
opt_data = opt.data # original dataset
Expand Down

0 comments on commit 3cd66b1

Please sign in to comment.