From 5e79810e69fc8b3be02200d80c1e336cd5c66a66 Mon Sep 17 00:00:00 2001 From: Glenn Jocher Date: Fri, 5 Apr 2019 15:54:59 +0200 Subject: [PATCH] updates --- test.py | 2 +- train.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test.py b/test.py index 2bfe6b0e..89a3ea06 100644 --- a/test.py +++ b/test.py @@ -137,7 +137,7 @@ def test( mp, mr, map, mf1 = p.mean(), r.mean(), ap.mean(), f1.mean() # Print results - pf = ('%20s' + '%10.3g' * 6) # print format + pf = '%20s' + '%10.3g' * 6 # print format print(pf % ('all', seen, nt.sum(), mp, mr, map, mf1), end='\n\n') # Print results per class diff --git a/train.py b/train.py index a62612ce..7ea5b763 100644 --- a/train.py +++ b/train.py @@ -33,7 +33,7 @@ def train( img_size = 608 # initiate with maximum multi_scale size num_workers = 0 # bug https://github.com/ultralytics/yolov3/issues/174 else: - torch.backends.cudnn.benchmark = True # unsuitable for multiscale + pass # torch.backends.cudnn.benchmark = True # unsuitable for multiscale # Configure run train_path = parse_data_cfg(data_cfg)['train']