Skip to content

Commit

Permalink
fix bug in multi-batch_test (open-mmlab#985)
Browse files Browse the repository at this point in the history
  • Loading branch information
wusize authored Oct 25, 2021
1 parent 59dc5e7 commit 2b4a5cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,8 @@ def main():
**loader_cfg,
**dict(shuffle=False, drop_last=False),
**dict(workers_per_gpu=cfg.data.get('workers_per_gpu', 1)),
**cfg.data.get('test_dataloader', {}),
**dict(samples_per_gpu=1)
**dict(samples_per_gpu=cfg.data.get('samples_per_gpu', 1)),
**cfg.data.get('test_dataloader', {})
}
data_loader = build_dataloader(dataset, **test_loader_cfg)

Expand Down

0 comments on commit 2b4a5cf

Please sign in to comment.