From cdc382e3131194c1e211b595e646e3943bd23c69 Mon Sep 17 00:00:00 2001 From: Glenn Jocher Date: Tue, 24 Dec 2019 14:11:31 -0800 Subject: [PATCH] updates --- test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test.py b/test.py index 67476a81..4315d826 100644 --- a/test.py +++ b/test.py @@ -21,7 +21,7 @@ def test(cfg, # Initialize/load model and set device if model is None: device = torch_utils.select_device(opt.device, batch_size=batch_size) - verbose = True + verbose = opt.task == 'test' # Remove previous for f in glob.glob('test_batch*.jpg'):