Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generating latent spaces for our own images. #4

Open
GunaSekhar-T opened this issue Nov 22, 2019 · 2 comments
Open

Generating latent spaces for our own images. #4

GunaSekhar-T opened this issue Nov 22, 2019 · 2 comments

Comments

@GunaSekhar-T
Copy link

Hi @a312863063 ,

Thank you for this great repository and we are using this for our GANs research.

I need a clarification for creating the latent space vector from our own image to feed into this model. I can able to create new image and using that image can able to adjust the different attributes using latest directions like smile, age, etc.

I tried StyleGAN-encoder package to create latent space with FFHQ model and its size is (18,512) with *.npy format. But this repository needs in the format of .txt and its length is around (512). If possible can you please help me on how can I generate the latent space for the original(our own) images which is compatible with this model(i.e. latent spaces in *.txt format without any loss in the quality of image).

Also, while we create latent space form real image using StyleGan encoder, we are facing some loss in the quality, is it because of the model or do I need to adjust any parameter in general?

Thanks in advance, looking forward you response.

@GunaSekhar-T GunaSekhar-T changed the title Generating latent spaces for the our own images. Generating latent spaces for our own images. Nov 22, 2019
@Cherry2410
Copy link

@GunaSekhar-T,do you know how to generate the latent spaces in *.txt format?

@foamliu
Copy link

foamliu commented Jan 6, 2020

@GunaSekhar-T finetune the model.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants