From 2b92d48f9ae308a99add881381e416c21e923707 Mon Sep 17 00:00:00 2001 From: WRH <12756472+wangruohui@users.noreply.github.com> Date: Sun, 25 Apr 2021 18:01:56 +0800 Subject: [PATCH] remove old comments --- mmcv/engine/test.py | 1 - 1 file changed, 1 deletion(-) diff --git a/mmcv/engine/test.py b/mmcv/engine/test.py index 023ebc4e9f..a1a5bcfcb5 100644 --- a/mmcv/engine/test.py +++ b/mmcv/engine/test.py @@ -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()