mmagic icon indicating copy to clipboard operation
mmagic copied to clipboard

Maybe a small bug about RDN

Open ryanxingql opened this issue 2 years ago • 0 comments

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. In the forward function, the residual learning may lead to error.

I refer to the original code of RDN. The output channel number should be the same as the input channel number.

ryanxingql avatar Sep 19 '22 02:09 ryanxingql