IDEA-Research / OSX

[CVPR 2023] Official implementation of the paper "One-Stage 3D Whole-Body Mesh Recovery with Component Aware Transformer"
https://osx-ubody.github.io/
MIT License
651 stars 56 forks source link

Pyrender seems always utilize CPU #98

Open longphamkhac opened 9 months ago

longphamkhac commented 9 months ago

Hi, I try to run OSX model with videos. Despite the fact that setting the environment to be egl (os.environ["PYOPENGL_PLATFORM"] = "egl") but the GPU utilization always equal to 0%, so the rendering step is very slow. Do you have any ideas, thank you so much!!!

linjing7 commented 9 months ago

Hi, I also found that the GPU utilization of pyrender is low. I think it's a problem of pyrender.

longphamkhac commented 9 months ago

Do you have any alternative solutions for rendering mesh in python?

linjing7 commented 9 months ago

You can try open3d or pytorch3d. Open3d has a very fast rendering speed.

longphamkhac commented 9 months ago

Thank you so much, I will try it!!!

longphamkhac commented 9 months ago

Sorry to bother you again, when I render to the 3d mesh, I recognize that the overall body shape is a little bit fatter than the actual shape. Do you have any ideas to control the shape parameters because I need to get the body measurement of the person?