update train.py remove save_json final_epoch

pull/1/head
Glenn Jocher 5 years ago
parent 41523e2c91
commit 8e5c66579b

@ -306,7 +306,6 @@ def train(hyp, opt, device, tb_writer=None):
results, maps, times = test.test(opt.data,
batch_size=total_batch_size,
imgsz=imgsz_test,
save_json=final_epoch and opt.data.endswith(os.sep + 'coco.yaml'),
model=ema.ema.module if hasattr(ema.ema, 'module') else ema.ema,
single_cls=opt.single_cls,
dataloader=testloader,

Loading…
Cancel
Save