SinGAN icon indicating copy to clipboard operation
SinGAN copied to clipboard

Problem about generating random samples of arbitrary size

Open yikedi opened this issue 6 years ago • 1 comments

I can only generate random samples of arbitrary size with gen_start_scale=0. I would get runtime error if I use gen_start_scale bigger than 0.

image

yikedi avatar Dec 13 '19 09:12 yikedi

Thanks, this function indeed can only work with gen_start_scale=0. This because when starting the generation from a finer scale, you need to also input a specific image to this scale. In the case of using the random_samples mode, this input will be the reconstructed image from the previous scale, which has the dimension of the training image of that scale. In the case of random_samples_arbitrary_sizes mode, we couldn't use it as an input, as it doesn't match the desire image dimensions.

tamarott avatar Dec 13 '19 09:12 tamarott