NVIDIA / partialconv

A New Padding Scheme: Partial Convolution based Padding
Other
1.22k stars 216 forks source link

About args: multi-channel for image inpainting #38

Open JHang2020 opened 2 years ago

JHang2020 commented 2 years ago

Hello! In partialconv2d.py : if 'multi_channel' in kwargs: self.multi_channel = kwargs['multi_channel'] kwargs.pop('multi_channel') else: self.multi_channel = False
Why should we set the args: multi-channel to be "True" if we want use Pconv for image inpainting? I think it has no effect when we use it for image inpainting if multi-channel is set to False. It seems like a waste, but it doesn't make any difference to the result.

Please correct me if I make some wrongs.