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

How to generate custom dataset ganspace pca.pt? #61

Closed Ruye-aa closed 2 years ago

Ruye-aa commented 2 years ago

Hi, thanks your great work! I am a newbie doing research on image editing, I want to use HyperStyle mothods to implement specific editing tasks on custom datasets. I have run ganspace code successfully, and find some meaningful direction, but I don't know how to generate the _pca.pt https://github.com/yuval-alaluf/hyperstyle/tree/main/editing/ganspace_directions

yuval-alaluf commented 2 years ago

The pca.pt files were taken from GANSpace's official implementation. We did not do anything special ourselves to get these files.