update train.py remove save_json final_epoch
This commit is contained in:
parent
41523e2c91
commit
8e5c66579b
1
train.py
1
train.py
|
|
@ -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…
Reference in New Issue