Skip to content

Commit

Permalink
fix typo, close #1260 (#1263)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhouzaida committed Aug 12, 2021
1 parent d48020b commit 54907a3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion mmcv/ops/deform_conv.py
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down
2 changes: 1 addition & 1 deletion mmcv/runner/hooks/evaluation.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 54907a3

Please sign in to comment.