Maclory / Deep-Iterative-Collaboration

Pytorch implementation of Deep Face Super-Resolution with Iterative Collaboration between Attentive Recovery and Landmark Estimation (CVPR 2020)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Question about the train.json

wcy-cs opened this issue · comments

Hi,thank you very much for your sharing the code!
I have some question about the parameter setting.
In train_CelebA, there is no "distort", while in the train_helen, the "distort" is [0.66, 1.33]. Why the difference occur here. In the paper, the LR and HR from both CelebA and Helen are 16X16 and 128x128.
I am looking forward to you answer. Thanks.

Hi, distort mean randomly change the ratio of height and width of the region to be cropped (like RandomResizedCrop). We only use it for Helen because there are only 2k images in Helen's training set. To avoid overfitting, we use "distort". However, there are enough images in CelebA so we don't need that.