From 8e5c66579b901e7ae1ac34e22084fc7160f82b0b Mon Sep 17 00:00:00 2001 From: Glenn Jocher Date: Sun, 9 Aug 2020 21:24:40 -0700 Subject: [PATCH] update train.py remove save_json final_epoch --- train.py | 1 - 1 file changed, 1 deletion(-) diff --git a/train.py b/train.py index 108c9269bd00..86a9dbc291c7 100644 --- a/train.py +++ b/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,