PyTorch-progressive_growing_of_gans icon indicating copy to clipboard operation
PyTorch-progressive_growing_of_gans copied to clipboard

resize_activation function

Open Paseam opened this issue 8 years ago • 1 comments

hi,as you say you replace repeat by torch.nn.functional.upsample, but i read the source codes from author, it seems that author uses repeat, do you notice it ?

Paseam avatar Nov 19 '17 08:11 Paseam

However, using repeat suffers from severe perturbation when fading in. Besides, the author used repeat to implement nearest neighbor upsampling. You can verify that via numpy.repeat(PyTorch can not achieve this through repeat, since it only repeat at size 1 dim.).

github-pengge avatar Nov 19 '17 10:11 github-pengge