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

Hi ! How to get the ground-true boundary maps #9

Open
wqz960 opened this issue Nov 11, 2019 · 3 comments
Open

Hi ! How to get the ground-true boundary maps #9

wqz960 opened this issue Nov 11, 2019 · 3 comments

Comments

@wqz960
Copy link

wqz960 commented Nov 11, 2019

It seems that the training code of the encode network for transforming the face image to boundary maps does not include in this project, you have provided the pretrained model, can you provide me the code for producing the ground-true boundary maps? Thanks!!!

@rosebbb
Copy link

rosebbb commented Dec 9, 2019

I think you can get the boundary map using the pretrained model - v8_net_boundary_detection.pth. You can find the code that turns image into boundary maps in transformer_model.py (in 'init_Bound') or face2boundary2face_model.py ('self.netBoundary' does the job).

@wqz960
Copy link
Author

wqz960 commented Dec 11, 2019

@rosebbb emmmm. sorry to bother you! can you provide me the script for transforming the ground true landmarks to the boundary maps instead of a test model? Thank you!

@rosebbb
Copy link

rosebbb commented Dec 12, 2019

I don't find such a script in this repository. The model here takes face images as input and outputs boundary maps, which is what you talked about in your first question. If you want to work on landmarks maybe take a look at another paper by the author on https://wywu.github.io/projects/LAB/LAB.html

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

2 participants