XPixelGroup / BasicSR

Open Source Image and Video Restoration Toolbox for Super-resolution, Denoise, Deblurring, etc. Currently, it includes EDSR, RCAN, SRResNet, SRGAN, ESRGAN, EDVR, BasicVSR, SwinIR, ECBSR, etc. Also support StyleGAN2, DFDNet.
https://basicsr.readthedocs.io/en/latest/
Apache License 2.0
6.83k stars 1.19k forks source link

In your train,there is any rgb_mean for train data to average? #180

Closed zhuwanling closed 5 years ago

zhuwanling commented 5 years ago

你好!感谢你们的代码共享! GAN训练时由于生成器去掉了BN层,需要对输入训练数据做均值化吗?我看其他的基于edsr的GAN使用了 rgb_mean = (0.4488, 0.4371, 0.4040),rgb_std = (1.0, 1.0, 1.0)进行处理。请问在你们的训练中使用了相应操作吗?

xinntao commented 5 years ago

No, we do not use these normalizations. It does not make differences from our previous experiments.

zhuwanling commented 5 years ago

Thanks for your reply. Is there a weight for the discriminator?

xinntao commented 5 years ago

Did you mean the pre-trained discriminator?

zhuwanling commented 5 years ago

Yes

zhuwanling commented 5 years ago

Thank you, I found VGG