Skip to content

Commit

Permalink
[Bug Fixed] Correct the number of output channels of LFF in RDB (#1292)
Browse files Browse the repository at this point in the history
Correct the out_channels of LFF
  • Loading branch information
ryanxingql authored Oct 13, 2022
1 parent 27f14e4 commit 14f1ffc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mmedit/models/backbones/sr_backbones/rdn.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def __init__(self, in_channels, channel_growth, num_layers):
# local feature fusion
self.lff = nn.Conv2d(
in_channels + channel_growth * num_layers,
channel_growth,
in_channels,
kernel_size=1)

def forward(self, x):
Expand Down

0 comments on commit 14f1ffc

Please sign in to comment.