Skip to content

Commit f04bdc8

Browse files
committed
don't forget this file
1 parent 8ffdc59 commit f04bdc8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: inference.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def main():
7373
(args.model, sum([m.numel() for m in model.parameters()])))
7474

7575
config = resolve_data_config(vars(args), model=model)
76-
model, test_time_pool = model, False if args.no_test_pool else apply_test_time_pool(model, config)
76+
model, test_time_pool = (model, False) if args.no_test_pool else apply_test_time_pool(model, config)
7777

7878
if args.num_gpu > 1:
7979
model = torch.nn.DataParallel(model, device_ids=list(range(args.num_gpu))).cuda()

0 commit comments

Comments
 (0)