Skip to content

Commit 1869bcd

Browse files
authored
fix typos in docstring (#446)
1 parent 2725457 commit 1869bcd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mmgen/models/architectures/ddpm/denoising.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,9 +112,9 @@ class DenoisingUnet(nn.Module):
112112
downsample_conv (bool, optional): Whether use conv operation in
113113
downsample block. Defaults to ``True``.
114114
upsample_cfg (dict, optional): Config for upsample blocks.
115-
Defaults to ``dict(type='DenoisingDownsample')``.
116-
downsample_cfg (dict, optional): Config for downsample blocks.
117115
Defaults to ``dict(type='DenoisingUpsample')``.
116+
downsample_cfg (dict, optional): Config for downsample blocks.
117+
Defaults to ``dict(type='DenoisingDownsample')``.
118118
attention_res (int | list[int], optional): Resolution of feature maps
119119
to apply attention operation. Defaults to ``[16, 8]``.
120120
pretrained (str | dict, optional): Path for the pretrained model or

0 commit comments

Comments
 (0)