-
Notifications
You must be signed in to change notification settings - Fork 41
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 do i try on custom test dataset? #4
Comments
Thank you for your kind words. I'm glad to hear that the work meets your expectations and works perfectly. Regarding your question about the ldmks for custom test dataset, the ldmks we used are predicted by a pre-trained face tracker from https://microsoft.github.io/DenseLandmarks/, which is maintained by another group in MSR and not publicly available at the moment. |
Thank you! |
Thanks for the great work @ForeverFancy !! You explained "ldmks" in your comment above, but what about thetas? How can I obtain it? |
It's actually the transformation matrix used to align the face to the center. For example, you could refer to this blog, while we use 5 keypoints instead of 2 in the blog to align the face. |
@ForeverFancy Can you describe in more detail, what you mean by "connect the predicted ldmks using color lines"? I wasn't able to find anything related to "color lines" in the paper. It seems to me like you're suggesting we train the landmark transformer from the paper, did I get that right? |
I followed the instruction and generate the imgs, ldmaks and thetas. What is the src_0_id.npy? And how can i generate it? |
Hi, you could refer to #10 for more detail. |
Hi, the code for connecting ldmks with color lines is here. |
in dataset.py src_ldmk_norm.shape is (58, 2), is this the key point of the human face? in face_alignment point of the human face is (68 ,2 )Does this affect the results? |
Did anyone manage to try it on a custom data set (custom source image+custom driving video)? I have created the landmarks (ldmk), transformation matrices (theta), facial embeddings (id), and connectivity.tsv, I've also tried it in different ways, but it didn't seem to produce acceptable results even close to the ones they published in the paper. The landmarks in the suggested by @ForeverFancy source are not as dense as the ones used in the paper, and I didn't find any open source that would produce similar landmarks. If someone knows how to make it work, please let me know, I would love some further directions where to look for the solution. |
@liliya-imasheva Did your solution solve the problem? |
Hi, Is the project working? Can you share the pipeline |
no, I also tried denser landmarks, very similar to what they have in the paper, but it didn't help either. |
thank you! Did you use pre-trained face landmarks detector instead of Keypoint Detector in this work |
@Hujiazeng, for this one Keypoint Detector was working well, so I didn't try any other landmarks. |
Hi, @liliya-imasheva |
@alasokolova honestly I don't remember and can't find it right now, but I followed some information given here in the issues, something like here: #4 (comment), and I think there is more in other issues. But as I said, I wasn't able to get acceptable results with a custom dataset for this model, so maybe the way I computed them is not actually the best :D |
Thanks for the great work! It works perfectly. the model seems to need some other stuff (ldmk, theta) how can I get it for custom test dataset?
The text was updated successfully, but these errors were encountered: