stylegan2-pytorch
stylegan2-pytorch copied to clipboard
How to use the *.pt file to generate the images?
Dear Rosinality
I used project.py to get the pt file for one images. Could you let me know how to use this pt file to generate the images? thanks.
It will have latent codes and learnt noises. You can pass it to the generator.
got it. thanks.
can I only pass the latent codes to generator? I mean don't pass the learnt noises.
You can inject it as in this: https://github.com/rosinality/stylegan2-pytorch/blob/f8dc9ad21746c81029c86eb8a3bfaf92a3988ce6/projector.py#L192
thanks!
Dear Rosinality
I used project.py to get the pt file for one images. Could you let me know how to use this pt file to generate the images? thanks.
Hey, how did you do this ? I am really trying to understand how to work to get latents in .pt for my own image.