From e3b5b5ee38e5c3cc951fd73b2ea1ec8525fb4553 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B0=A2=E6=98=95=E8=BE=B0?= Date: Thu, 7 Jul 2022 09:21:27 +0800 Subject: [PATCH] remove show=False parameter in test_fn (#1741) --- mmseg/core/hook/wandblogger_hook.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/mmseg/core/hook/wandblogger_hook.py b/mmseg/core/hook/wandblogger_hook.py index 2284e5a08..20a7b12ba 100644 --- a/mmseg/core/hook/wandblogger_hook.py +++ b/mmseg/core/hook/wandblogger_hook.py @@ -203,8 +203,7 @@ class MMSegWandbHook(WandbLoggerHook): # Currently the results of eval_hook is not reused by wandb, so # wandb will run evaluation again internally. We will consider # refactoring this function afterwards - results = self.test_fn( - runner.model, self.eval_hook.dataloader, show=False) + results = self.test_fn(runner.model, self.eval_hook.dataloader) # Initialize evaluation table self._init_pred_table() # Log predictions