updates
This commit is contained in:
parent
2ee0d0c714
commit
cdc382e313
2
test.py
2
test.py
|
@ -21,7 +21,7 @@ def test(cfg,
|
||||||
# Initialize/load model and set device
|
# Initialize/load model and set device
|
||||||
if model is None:
|
if model is None:
|
||||||
device = torch_utils.select_device(opt.device, batch_size=batch_size)
|
device = torch_utils.select_device(opt.device, batch_size=batch_size)
|
||||||
verbose = True
|
verbose = opt.task == 'test'
|
||||||
|
|
||||||
# Remove previous
|
# Remove previous
|
||||||
for f in glob.glob('test_batch*.jpg'):
|
for f in glob.glob('test_batch*.jpg'):
|
||||||
|
|
Loading…
Reference in New Issue