multi-gpu ckpt filesize bug fix #253

This commit is contained in:
Glenn Jocher committed 2020-07-11 12:35:21 -07:00
1 parent 5de4e25d68
commit a586751904
2 files changed
+12 -13

No files matched your search

+1 -1
View File
@@ -287,7 +287,7 @@ def train(hyp):
scheduler.step()
# mAP
ema.update_attr(model)
ema.update_attr(model, include=['md', 'nc', 'hyp', 'names', 'stride'])
final_epoch = epoch + 1 == epochs
if not opt.notest or final_epoch: # Calculate mAP
results, maps, times = test.test(opt.data,