From b0c78206aa8d31da4721cec32fa0cb45d5114293 Mon Sep 17 00:00:00 2001 From: hexiangdong2019 <PIpi589632147> Date: Fri, 30 Jul 2021 23:33:17 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9eval=5Fbatch=E5=87=BD?= =?UTF-8?q?=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 9723d8f..33229d8 100644 --- a/main.py +++ b/main.py @@ -93,7 +93,7 @@ def eval_batch(eval_net, img_lst, crop_size=513, flip=True): resize_hw = [] for l in range(batch_size): img_ = img_lst[l] - img_, resize_h, resize_w = pre_process(args, img_, crop_size) + img_, resize_h, resize_w = pre_process(img_, crop_size) batch_img[l] = img_ resize_hw.append([resize_h, resize_w]) -- GitLab