remove show=False parameter in test_fn (#1741)

This commit is contained in:
谢昕辰 2022-07-07 09:21:27 +08:00 committed by GitHub
parent 5cb9f43c9d
commit e3b5b5ee38
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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