stylegan-human / StyleGAN-Human

StyleGAN-Human: A Data-Centric Odyssey of Human Generation
1.14k stars 141 forks source link

Distorted faces and distorted patterns when using PTI #37

Closed resa-git closed 1 year ago

resa-git commented 1 year ago

I tried two methods in order to find the latent code with your pre-trained model, stylegan_human_v2_1024.pkl and e4e_w+.pt

1 - I started with some seeds (e.g. 0, 4000, 4050, 4020, 5500, 5000, 10) and generated some images. Then I treated those images as real images and tried to find their latent representations using ("python run_pti.py"), I used the default config in "pti_configs" folder. In some cases, the face, and in others, the pattern of the cloth is distorted (please see the following pictures)

2 - I downloaded the sample images from your GitHub and did the same procedure. The aforementioned problems are more noticeable. I got distorted faces and patterns.

I was wondering if you have any advice for these cases.

1 2

resa-git commented 1 year ago

It seems that the quality gets much better if we change the hyperparameters

yummyJade commented 1 year ago

It seems that the quality gets much better if we change the hyperparameters

Hi, I got the same distorted results like yours, I wonder what hyperparameters you adjusted? thank you~

resa-git commented 1 year ago

I changed max_pti_steps and LPIPS_value_threshold.