yhw-yhw / TalkSHOW

This is the official repository for TalkSHOW: Generating Holistic 3D Human Motion from Speech [CVPR2023].
301 stars 26 forks source link

rendering problem #8

Closed sora158 closed 1 year ago

sora158 commented 1 year ago

AttributeError: 'GLXPlatform' object has no attribute 'OSMesa'

/NeRF/TalkSHOW/scripts/diversity.py(340)main() sudo apt-get install libosmesa6 sudo apt-get install libosmesa6-dev set os.environ['PYOPENGL_PLATFORM'] = 'osmesa' still doesn't work

sora158 commented 1 year ago

sudo apt-get remove libosmesa6-dev (libosmesa6 is enough) pip uninstall pyopengl pip install pyopengl==3.1.5 solved the problem;(3.1.0 have this issue)

pxcai commented 1 year ago

Hi, do you rendering the results successfully?
Could you give me some advice to rendering the results?

sora158 commented 1 year ago

Hi, do you rendering the results successfully?
Could you give me some advice to rendering the results?

normally, directly get the smpl output vertices from parameters(smpl betas and shape parameters) and rendering it like pointclouds in pytorch3d is a goodway to avoid using osemesa in opengl.