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

How to get the face parsing result for the whole input image? #15

Open
DingyunZhang opened this issue Jul 27, 2023 · 2 comments
Open

How to get the face parsing result for the whole input image? #15

DingyunZhang opened this issue Jul 27, 2023 · 2 comments

Comments

@DingyunZhang
Copy link

DingyunZhang commented Jul 27, 2023

Thanks for your great job!

I am seeking information on the methodology used to obtain the face parsing result ('farl/celebm/448') for the full input image (512x512) instead of relying on a bg_mask.

Thanks a lot!

@dstoutamire
Copy link

This is not a great answer, but in case it helps others, I stopped celebm cropping with this hack:

settings = facer.face_parsing.farl.pretrain_settings
for k in ['get_matrix_fn', 'get_grid_fn', 'get_inv_grid_fn']:
    settings['celebm/448'][k] = settings['lapa/448'][k]

@XavierJiezou
Copy link

It's my solution: #36

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