anvoynov / GANLatentDiscovery

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

K Value #4

Closed bennymi closed 4 years ago

bennymi commented 4 years ago

Hi, thanks for your intriguing work. I was wondering how you can change the K value inside the code so that it looks for fewer directions?

anvoynov commented 4 years ago

Hi, you can control it with the directions_count parameter in https://github.com/anvoynov/GANLatentDiscovery/blob/master/trainer.py#L31. You can pass it as an argument to run_train.py