haofanwang / CLIFF

This repo equips the official CLIFF [ECCV 2022 Oral] with better detector, better tracker. Support multi-person, motion interpolation, motion smooth and SMPLify fitting.
Apache License 2.0
147 stars 16 forks source link

Error from pyrender #4

Closed JosephKKim closed 1 year ago

JosephKKim commented 1 year ago

When I try to run demo_fit.py I face with this error which seems to related with the pyrender. Any ideas for this error? Please let me know if you have a solution to this error. I've found google for the solution but couldn't find the right one. Thanks.

front_view = renderer.render_front_view(pred_vertices.cpu().numpy(), File "/CLIFF/common/renderer_pyrd.py", line 69, in render_front_view color_rgba, depth_map = self.renderer.render(scene, flags=pyrender.RenderFlags.RGBA) File "/miniconda3/envs/cliff/lib/python3.9/site-packages/pyrender/offscreen.py", line 86, in render self._platform.make_current() File "//miniconda3/envs/cliff/lib/python3.9/site-packages/pyrender/platforms/egl.py", line 196, in make_current assert eglMakeCurrent( File "src/errorchecker.pyx", line 58, in OpenGL_accelerate.errorchecker._ErrorChecker.glCheckError OpenGL.error.GLError: GLError( err = 12289, baseOperation = eglMakeCurrent, cArguments = ( <OpenGL._opaque.EGLDisplay_pointer object at 0x7f6abbd31140>, <OpenGL._opaque.EGLSurface_pointer object at 0x7f6abbf22640>, <OpenGL._opaque.EGLSurface_pointer object at 0x7f6abbf22640>, <OpenGL._opaque.EGLContext_pointer object at 0x7f6abbd314c0>, ), result = 0 )

JosephKKim commented 1 year ago

I have solved this issue by adding renderer.delete() after line #147

I will close this issue.