We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Code: https://github.com/open-mmlab/mmediting/blob/e1d488323096c0850a08919ffdb03e0139ca66d7/mmedit/models/backbones/sr_backbones/rdn.py#L54
The output channel number of self.lff is channel_growth. However, the input channel number of x is in_channels.
self.lff
channel_growth
x
in_channels
In the forward function, https://github.com/open-mmlab/mmediting/blob/e1d488323096c0850a08919ffdb03e0139ca66d7/mmedit/models/backbones/sr_backbones/rdn.py#L66 the residual learning may lead to error because of the misalignment.
forward
I refer to the original code of RDN. The output channel number should be the same as the input channel number.
The text was updated successfully, but these errors were encountered:
Please check this issue. @plyfager
Sorry, something went wrong.
I have raised a PR: #1292
Thanks for your contribution, #1292 has been merged.
plyfager
No branches or pull requests
Code: https://github.com/open-mmlab/mmediting/blob/e1d488323096c0850a08919ffdb03e0139ca66d7/mmedit/models/backbones/sr_backbones/rdn.py#L54
The output channel number of
self.lff
ischannel_growth
.However, the input channel number of
x
isin_channels
.In the
forward
function,https://github.com/open-mmlab/mmediting/blob/e1d488323096c0850a08919ffdb03e0139ca66d7/mmedit/models/backbones/sr_backbones/rdn.py#L66
the residual learning may lead to error because of the misalignment.
I refer to the original code of RDN. The output channel number should be the same as the input channel number.
The text was updated successfully, but these errors were encountered: