StyleGAN.pytorch icon indicating copy to clipboard operation
StyleGAN.pytorch copied to clipboard

How do I smoothly interpolate between outputs?

Open SqrtRyan opened this issue 5 years ago • 1 comments

First of all, thank you for making this amazing code -- the outputs are very realistic! However, it appears that the generator isn't deterministic with respect to it's input latent vector. I want to make a smooth interpolation animation between outputs, and so I need to make the output deterministic -- how do I do this? Thank you

SqrtRyan avatar Aug 14 '20 07:08 SqrtRyan

I think it's caused by https://github.com/huangzh13/StyleGAN.pytorch/blob/bce838ecfa34d4de69429af4f7e028b63e52c3fe/models/CustomLayers.py#L183 Fixed random noise is already included in this implementation, but I did not use it in the upper module. You can try to modify the generator and its calling method to achieve the fixation of random noise.

huangzh13 avatar Aug 17 '20 01:08 huangzh13