tamarott / SinGAN

Official pytorch implementation of the paper: "SinGAN: Learning a Generative Model from a Single Natural Image"
https://tamarott.github.io/SinGAN.htm
Other
3.31k stars 611 forks source link

Question about imresize_in function in SinGAN/imresize.py #100

Closed jychoi118 closed 4 years ago

jychoi118 commented 4 years ago

I have two questions about this function in line66 of SinGAN/imresize.py. def imresize_in(im, scale_factor=None, output_shape=None, kernel=None, antialiasing=True, kernel_shift_flag=False):

  1. Why did you chose "cubic" as default kernel method?
  2. Why did you do resizing dim by dim, instead of using simple method such as "nn.Upsample with scale_factor<1" ?
jychoi118 commented 4 years ago

Similar to issue #80