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

Correspondence query meshes and reconstructed meshes #19

Open
aniskacem opened this issue Jul 19, 2019 · 3 comments
Open

Correspondence query meshes and reconstructed meshes #19

aniskacem opened this issue Jul 19, 2019 · 3 comments

Comments

@aniskacem
Copy link

No description provided.

@aniskacem aniskacem changed the title Dear Authors, Correspondence query meshes and reconstructed meshes Jul 19, 2019
@aniskacem
Copy link
Author

Dear Authors,

First, I would like to thank you for this great work and for making your codes publicly available.

I have an issue with visualizing the reconstructed meshes from the input meshes. I succeeded in running the codes in the different modes, but when I wanted to visualize the reconstructed meshes I was not able to find a correspondence between the predicted meshes and the input meshes. I saw that in your code, you introduced the variable "unperm_predictions" instead of predictions for the visualization to highlight that the predicted meshes are not in the same order as for the input meshes. Can you recommend a way to find the predicted mesh of each input mesh?

Thanks in advance!

Best regards,

@anuragranj
Copy link
Owner

Oops. This unperm stuff is leftover code from previous version. Please use vec2mesh to get a mesh, and then visualize the mesh using mesh.show().

https://github.com/anuragranj/coma/blob/master/facemesh.py#L65-L67

Something like this would work.

predicted_mesh = FaceData.vec2mesh(predicted_vec)
predicted_mesh.show()

@anuragranj
Copy link
Owner

This is with the provided pretrained model? or did you train from scratch? I haven't seen anything like this before? You should at least get something close to a face, because you are learning only the deviations from a mean face.
Here, the mean face is added if you call vec2mesh:
https://github.com/anuragranj/coma/blob/master/facemesh.py#L66

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