DECA
DECA copied to clipboard
Confused on Pytorch3dRasterizer code
Hello, @YadiraF ,Thanks for your great work!
I'm a recruit at this direction and I'm reading this repo as learning material. I'm confused on the Pytorch3dRasterizer code(https://github.com/YadiraF/DECA/blob/master/decalib/utils/renderer.py#L163). In this line, from what I understand, the value range of idx is $[0,num_of_faces]$, while the index range of attributes at $dim=0$ is $[0, N \times num_of_faces]$ which means the $attributes[num_of_faces:N*num_of_faces]$ will not be gathered. Is there any wrong understanding on this code,looking forward to your reply.
Best Regards.