RameenAbdal / StyleFlow

StyleFlow: Attribute-conditioned Exploration of StyleGAN-generated Images using Conditional Continuous Normalizing Flows (ACM TOG 2021)
http://rameenabdal.github.io/StyleFlow
2.42k stars 342 forks source link

aligning styleflow + stylegan2 seed #93

Open straeter opened 3 years ago

straeter commented 3 years ago

I want to start the styleflow ui with a specific image that I have produced in stylegan (seed + truncation_psi) or vice versa find the right seed for a styleflow image with a specific index - but I couldn't figure it out. Are the indices in styleflow main.py related to the stylegan2 seed in any way? Or is there another way to align the images?

Great project, thanks for your work!

RameenAbdal commented 2 years ago

You can select the indices using self.keep_indexes in main.py. This will select the latents and the attributes from the files here: https://github.com/RameenAbdal/StyleFlow/tree/master/data