nghorbani / human_body_prior

VPoser: Variational Human Pose Prior
https://smpl-x.is.tue.mpg.de/
Other
797 stars 142 forks source link

OpenGL issue when running ik_example_joints.py #58

Open SizheAn opened 2 years ago

SizheAn commented 2 years ago

`sample_amass keys: ['poses', 'dmpls', 'labels', 'markers', 'mocap_framerate', 'betas', 'gender', 'vids', 'trans'] OpenGL test failed: stdout: failure

    stderr: /`

Anyone facing this issue? Thanks!

GaigeY commented 8 months ago

Hi Sizhe, I met the same problem as you. This issue is caused by EGL, and I guess it's raised when the system cannot support real-time rendering. Unfortunately, it seems that the author didn't leave any comment to tell us how to avoid this kind of OpenGL/rendering issues. Have you ever solved this problem?

GaigeY commented 8 months ago

Hi Sizhe, I finally solved this issues through re-installing the whole environment. I'm sure that this issue is caused by package conflict, and we must install the packages in correct version.

Here is the details of my re-install, holp it could help :-)

# ENV: ubuntu, python3.7-pytorch1.10.0-cuda11.3-cudnn8
1. apt install ffmpeg libsm6 libxext6 libboost-dev g++ gcc -y
2. pip install setuptools numpy tqdm scipy opencv-python==4.5.1.48 PyOpenGL==3.1.0 matplotlib==3.2.2 pillow pyzmq pyyaml dotmap pytorch-lightning==1.5 transforms3d==0.3.1 pytorch3d omegaconf loguru
3. # setup-using-python: configer, mesh and human_body_prior

I think this issue can be closed now. :-)