修改一些小问题

This commit is contained in:
2025-06-05 08:45:44 +08:00
parent f32cd5b9a2
commit 0cd3d914e9
7 changed files with 31 additions and 84 deletions

View File

@ -485,7 +485,7 @@ def train(hyp, opt, device, callbacks):
"ema": deepcopy(ema.ema).half(),
"updates": ema.updates,
"optimizer": optimizer.state_dict(),
"opt": vars(opt),
# "opt": vars(opt),
"git": GIT_INFO, # {remote, branch, commit} if a git repo
"date": datetime.now().isoformat(),
}