Closed uselessai closed 2 years ago
Perhaps the reason for the difference is the parameters you used when calling G
? Maybe you used a different truncation_psi
when running inference and when generating the images in the code snippet you provided above?
Thanks for the response.
I used the same truncation_psi, equal to 1, but I also had tried with different truncation_psi and always got the same image with small differences finishing at truncation_psi = 0 showing the average image.
This example is what is showing with different truncation_psi values, from truncation_psi [0, 1]
I also had tried with different latents vectors from differents images and always got the same with aslile
I am using google colab to test this code with the pt model. https://colab.research.google.com/drive/1vPF7zz8Rsc6D8_TBUFDRxsslHagebmr9?usp=sharing
Are these latents that were obtained with inversion? Did you make sure that your code works correctly on randomly generated latents?
Hi! I am trying to use the latent vectors (I need to do some interpolations) from the "latents.npy" file in the stylegan3 pkl model and it does not work, I have tried with several latent vectors and always got the same imagen. I trained the model with Market-1501 dataset.
This is the image I got from the inference when the latents.npy is created.
And this is the imagen when I use latents.npy
This is my code, I have modified the gen_images.py from stylegan3 github project.
I do not know if I am missing something. Thanks in advance.