williamyang1991 / StyleGANEX

[ICCV 2023] StyleGANEX: StyleGAN-Based Manipulation Beyond Cropped Aligned Faces
Other
510 stars 36 forks source link

about scale_factor #1

Closed ruanjiyang closed 1 year ago

ruanjiyang commented 1 year ago

Dear Williamyang1991:

thanks for your nice work.

I want to generate the video with younger face, is the following command correct?

python video_editing.py --ckpt pretrained_models\styleganex_edit_age.pt --data_path data\2.mp4 --scale_factor 2

what's the real meaning of scale_factor?

thanks.

williamyang1991 commented 1 year ago

--scale_factor -2

editedw = w + scale_factor * v where w is the latent code, v is the editing vector, scale_factor is a weight if scale_factor = 0, no editing. if scale_factor > 0, there is a postive editing; <0, a negative editing.

ruanjiyang commented 1 year ago

Thanks for your rapid feedback.

what's the reasonable scale_factor scrope for age editting? -10 ~10 ?

williamyang1991 commented 1 year ago

normally, -2 ~ 2