diff --git a/mmaction/models/backbones/resnet3d.py b/mmaction/models/backbones/resnet3d.py index 063b21d959..2f0eea8d72 100644 --- a/mmaction/models/backbones/resnet3d.py +++ b/mmaction/models/backbones/resnet3d.py @@ -362,7 +362,7 @@ class ResNet3d(nn.Module): not freezing any parameters. Default: -1. inflate (Sequence[int]): Inflate Dims of each block. Default: (1, 1, 1, 1). - inflate_style (str): ``3x1x1`` or ``1x1x1``. which determines the + inflate_style (str): ``3x1x1`` or ``3x3x3``. which determines the kernel sizes and padding strides for conv1 and conv2 in each block. Default: '3x1x1'. conv_cfg (dict): Config for conv layers. required keys are ``type`` @@ -544,7 +544,7 @@ def make_res_layer(block, Default: ``pytorch``. inflate (int | Sequence[int]): Determine whether to inflate for each block. Default: 1. - inflate_style (str): ``3x1x1`` or ``1x1x1``. which determines + inflate_style (str): ``3x1x1`` or ``3x3x3``. which determines the kernel sizes and padding strides for conv1 and conv2 in each block. Default: '3x1x1'. non_local (int | Sequence[int]): Determine whether to apply @@ -879,7 +879,7 @@ class ResNet3dLayer(nn.Module): the first 1x1 conv layer. Default: 'pytorch'. all_frozen (bool): Frozen all modules in the layer. Default: False. inflate (int): Inflate Dims of each block. Default: 1. - inflate_style (str): ``3x1x1`` or ``1x1x1``. which determines the + inflate_style (str): ``3x1x1`` or ``3x3x3``. which determines the kernel sizes and padding strides for conv1 and conv2 in each block. Default: '3x1x1'. conv_cfg (dict): Config for conv layers. required keys are ``type`` diff --git a/mmaction/models/backbones/resnet3d_csn.py b/mmaction/models/backbones/resnet3d_csn.py index 4539dec01e..5d041d5450 100644 --- a/mmaction/models/backbones/resnet3d_csn.py +++ b/mmaction/models/backbones/resnet3d_csn.py @@ -84,7 +84,7 @@ class ResNet3dCSN(ResNet3d): norm_cfg (dict): Config for norm layers. required keys are `type` and `requires_grad`. Default: dict(type='BN3d', requires_grad=True, eps=1e-3). - inflate_style (str): `3x1x1` or `1x1x1`. which determines the kernel + inflate_style (str): `3x1x1` or `3x3x3`. which determines the kernel sizes and padding strides for conv1 and conv2 in each block. Default: '3x3x3'. bottleneck_mode (str): Determine which ways to factorize a 3D diff --git a/mmaction/models/backbones/resnet3d_slowfast.py b/mmaction/models/backbones/resnet3d_slowfast.py index 45e9d5a7da..be1ea1a2b2 100644 --- a/mmaction/models/backbones/resnet3d_slowfast.py +++ b/mmaction/models/backbones/resnet3d_slowfast.py @@ -120,7 +120,7 @@ def make_res_layer(self, Default: ``pytorch``. inflate (int | Sequence[int]): Determine whether to inflate for each block. Default: 1. - inflate_style (str): ``3x1x1`` or ``1x1x1``. which determines + inflate_style (str): ``3x1x1`` or ``3x3x3``. which determines the kernel sizes and padding strides for conv1 and conv2 in each block. Default: ``3x1x1``. non_local (int | Sequence[int]): Determine whether to apply