SinGAN
SinGAN copied to clipboard
valid vs same padding?
In config.py:
parser.add_argument('--padd_size',type=int,help='net pad size',default=0)#math.floor(opt.ker_size/2)
I'm wondering why you commented out the code for same padding to use valid padding instead? Is this important? (I checked both paper and ICCV talk, and it wasn't mentioned)
We found that with initial padding we get higher variability on the edges of the generated images, than the case of using zero padding at each conv layer.
See the supplementary material for the full explanation and an experiment which illustrate this: http://openaccess.thecvf.com/content_ICCV_2019/supplemental/Shaham_SinGAN_Learning_a_ICCV_2019_supplemental.pdf