Skip to content

Commit 11ad4cc

Browse files

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
 

‎docs/tutorials/config.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -238,12 +238,12 @@ lr_config = dict(
238238
policy='poly', # The policy of scheduler, also support Step, CosineAnnealing, Cyclic, etc. Refer to details of supported LrUpdater from https://github.com/open-mmlab/mmcv/blob/master/mmcv/runner/hooks/lr_updater.py#L9.
239239
power=0.9, # The power of polynomial decay.
240240
min_lr=0.0001, # The minimum learning rate to stable the training.
241-
by_epoch=False) # Whethe count by epoch or not.
241+
by_epoch=False) # Whether count by epoch or not.
242242
runner = dict(
243243
type='IterBasedRunner', # Type of runner to use (i.e. IterBasedRunner or EpochBasedRunner)
244244
max_iters=40000) # Total number of iterations. For EpochBasedRunner use `max_epochs`
245245
checkpoint_config = dict( # Config to set the checkpoint hook, Refer to https://github.com/open-mmlab/mmcv/blob/master/mmcv/runner/hooks/checkpoint.py for implementation.
246-
by_epoch=False, # Whethe count by epoch or not.
246+
by_epoch=False, # Whether count by epoch or not.
247247
interval=4000) # The save interval.
248248
evaluation = dict( # The config to build the evaluation hook. Please refer to mmseg/core/evaulation/eval_hook.py for details.
249249
interval=4000, # The interval of evaluation.
@@ -321,7 +321,7 @@ model = dict(
321321
auxiliary_head=dict(...))
322322
```
323323

324-
The `_delete_=True` would replace all old keys in `backbone` field with new keys new keys.
324+
The `_delete_=True` would replace all old keys in `backbone` field with new keys.
325325

326326
### Use intermediate variables in configs
327327

0 commit comments

Comments
 (0)
Please sign in to comment.