yuval-alaluf / hyperstyle

Official Implementation for "HyperStyle: StyleGAN Inversion with HyperNetworks for Real Image Editing" (CVPR 2022) https://arxiv.org/abs/2111.15666
https://yuval-alaluf.github.io/hyperstyle/
MIT License
1.01k stars 115 forks source link

About editing of AFHQW using StyleCLIP global-directions #68

Closed zhihongp closed 1 year ago

zhihongp commented 1 year ago

I have tried the default script (used for FFHQ) but no effect on AFHQW editing. My guess is the settings of delta_i_c and s_statistics are not properly set. How could we duplicate the AFHQW editing as included in the paper. Thanks

yuval-alaluf commented 1 year ago

You may need to play a lot with the alpha and beta parameters in StyleCLIP. Sometimes with StyleCLIP's global directions, you need test out a lot of parameters to get a combination that behaves well.

zhihongp commented 1 year ago

I found out that you need to compute fs3.py using code provided by StyleCLIP for a new domain. It takes 10 hours to finish and after that it's work as I wanted. Tweaking alpha and beta is needed too