From 54907a3922cd1edf934697e58337343d079d1475 Mon Sep 17 00:00:00 2001 From: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com> Date: Thu, 12 Aug 2021 16:59:39 +0800 Subject: [PATCH] fix typo, close #1260 (#1263) --- mmcv/ops/deform_conv.py | 2 +- mmcv/runner/hooks/evaluation.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mmcv/ops/deform_conv.py b/mmcv/ops/deform_conv.py index 5e04622386..c2531792e5 100644 --- a/mmcv/ops/deform_conv.py +++ b/mmcv/ops/deform_conv.py @@ -311,7 +311,7 @@ def __repr__(self): s += f'groups={self.groups},\n' s += f'deform_groups={self.deform_groups},\n' # bias is not supported in DeformConv2d. - s += 'deform_groups=False)' + s += 'bias=False)' return s diff --git a/mmcv/runner/hooks/evaluation.py b/mmcv/runner/hooks/evaluation.py index e8788f2214..bdc6d8ab74 100644 --- a/mmcv/runner/hooks/evaluation.py +++ b/mmcv/runner/hooks/evaluation.py @@ -29,7 +29,7 @@ class EvalHook(Hook): interval (int): Evaluation interval. Default: 1. by_epoch (bool): Determine perform evaluation by epoch or by iteration. If set to True, it will perform by epoch. Otherwise, by iteration. - default: True. + Default: True. save_best (str, optional): If a metric is specified, it would measure the best checkpoint during evaluation. The information about best checkpoint would be saved in ``runner.meta['hook_msgs']`` to keep