-
Notifications
You must be signed in to change notification settings - Fork 20
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
Exporting .PKL SMPL Meshes and defining whether to use male or female models #43
Comments
Hi @nshreyasvi You can save into a .obj file using this code snippet for the first human in the list: vertices = humans[0]['v3d'].cpu().numpy()
faces = model.smpl_layer['neutral_10'].bm_x.faces
mesh = trimesh.Trimesh(vertices=vertices, faces=faces)
filename = "human_0.obj"
mesh.export(filename) The mesh follow sthe SMPL-X topology (not SMPL). And we use the neutral model so we cannot choose between male or female at inference time. |
Hello, Thank you so much. I also wanted to know if the generated meshes are fitted according to the body shape of the person and if it is able to generate meshes accurately using the neural mesh for male and female bodies without using the male and female SMPL-X templates/prompt? |
Hi, the mesh that we are outpouting is gender neutral. So I do not have a precise answer for your question sorry. |
Hello,
|
Hello, Thank you for the amazing work. I would like to know how can I export the output .npy meshes into .obj, .npz or .pkl format? I would also like to know if the output .pkl file would follow the standard SMPL keys or would the keys be changed? Moreover, is there a way to use Male/Female model and if it can be defined anywhere?
The text was updated successfully, but these errors were encountered: