Open karray opened 2 years ago
Thanks. Will look into it.
False or Weakening. Ignore or Endure
Sorry for commenting on a rather old issue, but I've recently implemented StyleGAN2 (being helped by the code from this repository too) and experienced a similar issue - however, in my case, it wasn't due to z
or noise
.
My models were actually experiencing mode collapse, and no matter what the input was, a pretrained model would always generate the same image. I managed to overcome this issue by playing around with the learning rates and number of gradient accumulation steps.
The implementation of StyleGAN2 does not learn a mapping for the latent vector
z
. The vectorz
is completely ignored, and a variety of generated images is provided bynoise
. To demonstrate the issue, I created a google colab with a pre-trained model that I trained for 55400 iterations.Images genertd with a random
z
and a fixednoise
:Images generated with a fixed
z
and randomnoise