muelea / shapy

CVPR 2022 - Official code repository for the paper: Accurate 3D Body Shape Regression using Metric and Semantic Attributes.
https://shapy.is.tue.mpg.de/
319 stars 47 forks source link

Some problems and solves #33

Closed freedom521jin closed 9 months ago

freedom521jin commented 11 months ago

1.ValueError: Failed to initialize Pyglet window with an OpenGL >= 3+ context. If you're logged in via SSH, ensure that you're running your script with vglrun (i.e. VirtualGL). The internal error message was "Cannot connect to "None"" solved:

import os
os.environ['PYOPENGL_PLATFORM'] = 'egl'

2.error:pyglet.canvas.xlib.NoSuchDisplayException: Cannot connect to "None" solved: pip install pyrender==0.1.43

muelea commented 9 months ago

Thanks for your comment! I will add a FAQ page with your solutions.