Skip to content

Commit 02d4fb8

Browse files
committed
don't forget this file
1 parent 289196f commit 02d4fb8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

inference.py

Lines changed: 1 addition & 1 deletion
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)