@@ -324,7 +324,7 @@ optimizer_config = dict( # Config used to build the optimizer hook, refer to ht
...
@@ -324,7 +324,7 @@ optimizer_config = dict( # Config used to build the optimizer hook, refer to ht
max_norm=10,# max norm of the gradients
max_norm=10,# max norm of the gradients
norm_type=2))# Type of the used p-norm. Can be 'inf' for infinity norm.
norm_type=2))# Type of the used p-norm. Can be 'inf' for infinity norm.
lr_config=dict(# Learning rate scheduler config used to register LrUpdater hook
lr_config=dict(# Learning rate scheduler config used to register LrUpdater hook
policy='step',# The policy of scheduler, also support CosineAnealing, Cyclic, etc. Refer to details of supported LrUpdater from https://github.com/open-mmlab/mmcv/blob/master/mmcv/runner/hooks/lr_updater.py#L9.
policy='step',# The policy of scheduler, also support 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.
warmup=None,# The warmup policy, also support `exp` and `constant`.
warmup=None,# The warmup policy, also support `exp` and `constant`.
step=[24,32])# Steps to decay the learning rate
step=[24,32])# Steps to decay the learning rate
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.
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.