Unverified 提交 3cd66b1c authored 作者: robinned's avatar robinned 提交者: GitHub

Train.py line 486 typo fix (#9330)

上级 5f075eed
......@@ -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
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论