Commit
·
01a73ec
1
Parent(s):
a586751
multi-gpu ckpt filesize bug fix #253
Browse files
train.py
CHANGED
@@ -287,7 +287,7 @@ def train(hyp):
|
|
287 |
scheduler.step()
|
288 |
|
289 |
# mAP
|
290 |
-
ema.update_attr(model, include=['md', 'nc', 'hyp', 'names', 'stride'])
|
291 |
final_epoch = epoch + 1 == epochs
|
292 |
if not opt.notest or final_epoch: # Calculate mAP
|
293 |
results, maps, times = test.test(opt.data,
|
|
|
287 |
scheduler.step()
|
288 |
|
289 |
# mAP
|
290 |
+
ema.update_attr(model, include=['md', 'nc', 'hyp', 'gr', 'names', 'stride'])
|
291 |
final_epoch = epoch + 1 == epochs
|
292 |
if not opt.notest or final_epoch: # Calculate mAP
|
293 |
results, maps, times = test.test(opt.data,
|