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

Running demo with custom image #4

Open
Sarmyt opened this issue Dec 23, 2020 · 4 comments
Open

Running demo with custom image #4

Sarmyt opened this issue Dec 23, 2020 · 4 comments

Comments

@Sarmyt
Copy link

Sarmyt commented Dec 23, 2020

Interested in running the colab demo with a custom image, would I need to use resnetEncoder to convert my image into latent space. If so, where can I find the pretrained weights for the resnetEncoder?

@kevinhuangxf
Copy link

Could you share the resetnetEncoder pretrained model? I tried to use other stylegan-encoder to get my custom image. But its lipsync result is not as ideal as the demo latent vectors. I guess it may need the resetnetEncoder.
Thanks for your fancy work.

@FeliMe
Copy link
Owner

FeliMe commented Jan 4, 2021

There is no one universal resnetEncoder that works for every image. Using projector.py for single images gives the best results and is the way to go.

@bduvenhage
Copy link

Hi @FeliMe

I've used projector.py to find latent face vectors for my own images and the resulting re-renders look great.

However, the resulting latent vectors don't always animate well. In many cases the lip motion is suppressed and sometimes there is 'crosstalk' into other parts of the face or shoulders.

I noticed that your training data seem to be from a 'Aligned256' folder. Do you perhaps have some examples of how you crop and align faces in preparation for the projection step so that it matches the data expected by your your model?

Warm regards,
Bernardt

@bduvenhage
Copy link

Hi @FeliMe

I used your align_face.py to automatically crop out a 256x256 face, but still some of the projected latent vectors are not as animatable as others. I'll keep digging.

Regards,
Bernardt

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

4 participants