From 813fd66a11ea32a35ae47648cd28a1454204ef66 Mon Sep 17 00:00:00 2001 From: Junjun2016 Date: Sun, 25 Jul 2021 18:32:28 +0800 Subject: [PATCH] refine docstring --- mmseg/models/backbones/resnet.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/mmseg/models/backbones/resnet.py b/mmseg/models/backbones/resnet.py index 9d84f6b67c..f7238f02f6 100644 --- a/mmseg/models/backbones/resnet.py +++ b/mmseg/models/backbones/resnet.py @@ -340,8 +340,7 @@ class ResNet(BaseModule): freeze running stats (mean and var). Note: Effect on Batch Norm and its variants only. Default: False. dcn (dict | None): Dictionary to construct and config DCN conv layer. - When dcn is not None, conv_cfg must be None. - Default: None. + When dcn is not None, conv_cfg must be None. Default: None. stage_with_dcn (Sequence[bool]): Whether to set DCN conv for each stage. The length of stage_with_dcn is equal to num_stages. Default: (False, False, False, False).