Skip to content

Commit e3b5b5e

Browse files
authored
remove show=False parameter in test_fn (open-mmlab#1741)
1 parent 5cb9f43 commit e3b5b5e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

mmseg/core/hook/wandblogger_hook.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -203,8 +203,7 @@ def after_train_iter(self, runner):
203203
# Currently the results of eval_hook is not reused by wandb, so
204204
# wandb will run evaluation again internally. We will consider
205205
# refactoring this function afterwards
206-
results = self.test_fn(
207-
runner.model, self.eval_hook.dataloader, show=False)
206+
results = self.test_fn(runner.model, self.eval_hook.dataloader)
208207
# Initialize evaluation table
209208
self._init_pred_table()
210209
# Log predictions

0 commit comments

Comments
 (0)