From 3e40840beeb5229963d3731732c25416bfdd9f88 Mon Sep 17 00:00:00 2001 From: robinned <78896580+robinned@users.noreply.github.com> Date: Wed, 7 Sep 2022 22:53:37 -0700 Subject: [PATCH] fixed issue Signed-off-by: robinned <78896580+robinned@users.noreply.github.com> --- train.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/train.py b/train.py index e16c17c499f0..4eff6e5d645a 100644 --- a/train.py +++ b/train.py @@ -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