anvoynov / GANLatentDiscovery

The authors official implementation of Unsupervised Discovery of Interpretable Directions in the GAN Latent Space
416 stars 52 forks source link

Very confusing instructions #24

Closed molo32 closed 2 years ago

molo32 commented 3 years ago

sorry, but the instructions are very confusing. Can you tell me how I look for the latent addresses and where in which folder they are stored? How do I load and use latent addresses after saving? for example I want to find the latent code that changes the hair color?

anvoynov commented 3 years ago

Hi, @molo32 could you specify the confusing step? Is it the training run or the inference? Asking the second question: as the approach is fully unsupervised, there is no guarantees, the method will find the exact direction you desire (e.g. hair color). You can check the found directions in interpolation charts saved in the log directory: https://github.com/anvoynov/GANLatentDiscovery/blob/03fa8f9585dd9d4bfa05c7872f2dbb6007b6d9cf/run_train.py#L90