Skip to content

Commit

Permalink
remove old comments
Browse files Browse the repository at this point in the history
  • Loading branch information
wangruohui authored Apr 25, 2021
1 parent 03d054f commit 2b92d48
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion mmcv/engine/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ def single_gpu_test(model, data_loader):
result = model(return_loss=False, **data)
results.extend(result)

# use the first key as main key to calculate the batch size
batch_size = len(result)
for _ in range(batch_size):
prog_bar.update()
Expand Down

0 comments on commit 2b92d48

Please sign in to comment.