Skip to content

Commit

Permalink
update train.py remove save_json final_epoch
Browse files Browse the repository at this point in the history
  • Loading branch information
glenn-jocher committed Aug 10, 2020
1 parent 41523e2 commit 8e5c665
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion train.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 8e5c665

Please sign in to comment.