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
not getting 3d shape #11
Comments
I am also getting the same thing with pytorch3d 0.7.0 and when I try with pytorch3d 0.3.0, it gives me an error saying, |
Yes I tried downgrading my pytorch3D to the version that is recommended along with other versions in requirements.txt but I get the same error. |
Hi, Pytorch3D 0.5.0 had some breaking changes regarding camera conventions. If you want to use a Pytorch3D 0.5.0 or later, you will need to modify the camera code in the renderer class here. You should be able to use Pytorch3d 0.3.0 instead. I am not 100% sure what the above error means, but I would guess that you are missing CUDA toolkit 10.1. Maybe this will be fixed by using the appropriate command to install Pytorch with CUDA toolkint 10.1 in your environment from here, i.e.
|
I was able to compile and get human body mesh with the latest pytorch and torchvision using CUDA 11.6, pytorch3d 0.7.0
|
Cool, thanks @asluborski. Are the visualisations as expected? If so, I will point future issues on this topic to this thread. |
Formatting
|
I tried to predict and it looks promising, however, is there a way to get the smpl params (shape and pose) and save them after the prediction ? |
Hi, The mode of the predicted distribution over SMPL shape and pose can be obtained from here. Specifically, mode body pose is saved as 23 3x3 rotation matrices in |
what do you mean with "saved as 23 3x3 rotation matrices" ? Shouldn't contain 72 params ? |
SMPL pose parameters are the 3D rotations of each joint in the kinematic tree. There are 23 body joints + 1 root joint, so 24 in total. If you represent these 3D rotations as axis-angle vectors, the pose can be given as a 24x3 array, or concatenated to 72x1. We represent the rotations using rotations matrices, hence 23 3x3 matrices for the body and 1 3x3 matrix for the global rotation about the root. |
Hello, I am running prediction script with no errors but I only get hrnet pose heatmap. The other images do not have SMPL model overlaid. Am I missing something?
Thank you.
The text was updated successfully, but these errors were encountered: