Closed LifeBeyondExpectations closed 1 year ago
Hi, thanks for your interest and the detailed explaination. I think the disagreement here is the Jacobian matrix. In my understanding, it should be pnts_c over pnts_d which you can refer to Eq. 6 in the paper.
Got it. My mistake. Thanks for your comments and let me close this issue.
Thanks for sharing the code. I wonder whether this code is correct or not.
which is located at https://github.com/MoyGcc/vid2avatar/blob/4c7e640200151e2210077459faac3e85e6b8a086/code/lib/model/v2a.py#L282
Let me describe my understanding. The variable
gradients
indicates the surface normal vector at the canonical space,which is located at https://github.com/MoyGcc/vid2avatar/blob/4c7e640200151e2210077459faac3e85e6b8a086/code/lib/model/v2a.py#L274
Accordingly, to compute the surface normal vector at the deformed space, we need to use the Jacobian matrix (pnts_d over pnts_c) which is identical to the variable
grads
below,Based on these variables, I could compute the surface normal at the deformed space as
which is identical to the code below.
TL;DR) grads_inv -> grads
Can you check this issue? If I am wrong, please let me know.
Thanks.