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

在源图像中使用手工标记的关键点 #53

Open
hsk-yjk opened this issue Nov 13, 2022 · 2 comments
Open

在源图像中使用手工标记的关键点 #53

hsk-yjk opened this issue Nov 13, 2022 · 2 comments

Comments

@hsk-yjk
Copy link

hsk-yjk commented Nov 13, 2022

HRZT)6TX)VRWJ3 7W}W4C4E
您好,非常感谢您开源代码。我的源图像是face_alignment识别不了他是一个人脸,所以我想使用手工标记关键点,实现这个任务。
1.我想问的是kp_source 中value和jacobian的联系
2.value值为{Tensor(1,15,2)} 为什么是15个点呢?
3.jacobian值为{Tensor(1,15,2,2)} 为什么是这个输出呢?
4我该如何使用手工标记的关键点 替代此处的kp_source
非常感谢您!!!

@harlanhong
Copy link
Owner

Hi @hsk-yjk,

For others to understand better, I am replying you in English :)
1/ Mathematically, jacobian is the partial derivative of the point in the horizontal and vertical direction. But we estimate the jacobian by network instead of computing it by the keypoint.

2/ The number of keypoints is determined by our evaluation.

3/ Jacobian is the partial derivative of the point in the horizontal and vertical directions. Thus, it is a matrix with four elements.

4/ For your question, our DaGAN cannot support the manual keypoint, because the motion field is estimated by both the keypoint and its jacobian matrix. If you create the keypoint manually, you have to create its jacobian. However, we cannot know a keypoint's jacobian matrix even if the keypoint is given.

@hsk-yjk
Copy link
Author

hsk-yjk commented Nov 13, 2022 via email

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