Unverified Commit 54907a39 authored by Zaida Zhou's avatar Zaida Zhou Committed by GitHub
Browse files

fix typo, close #1260 (#1263)

parent d48020bd
...@@ -311,7 +311,7 @@ class DeformConv2d(nn.Module): ...@@ -311,7 +311,7 @@ class DeformConv2d(nn.Module):
s += f'groups={self.groups},\n' s += f'groups={self.groups},\n'
s += f'deform_groups={self.deform_groups},\n' s += f'deform_groups={self.deform_groups},\n'
# bias is not supported in DeformConv2d. # bias is not supported in DeformConv2d.
s += 'deform_groups=False)' s += 'bias=False)'
return s return s
......
...@@ -29,7 +29,7 @@ class EvalHook(Hook): ...@@ -29,7 +29,7 @@ class EvalHook(Hook):
interval (int): Evaluation interval. Default: 1. interval (int): Evaluation interval. Default: 1.
by_epoch (bool): Determine perform evaluation by epoch or by iteration. by_epoch (bool): Determine perform evaluation by epoch or by iteration.
If set to True, it will perform by epoch. Otherwise, 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 save_best (str, optional): If a metric is specified, it would measure
the best checkpoint during evaluation. The information about best the best checkpoint during evaluation. The information about best
checkpoint would be saved in ``runner.meta['hook_msgs']`` to keep checkpoint would be saved in ``runner.meta['hook_msgs']`` to keep
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment