facebookresearch / eft

visualization code for 3D human body annotation by EFT (Exemplar Fine-tuning)
Other
375 stars 34 forks source link

OpenGL.error.GLError #15

Open huangzijian1998 opened 4 years ago

huangzijian1998 commented 4 years ago

First, I encountered the bug 'ImportError: cannot import name 'ModelOutput''. Then, I modified the code from 'from smplx.body_models import ModelOutput' to 'from smplx.body_models import SMPLOutput' in smpl.py. Finally, I encountered the bug OpenGL.error.GLError: GLError( err = 1282, description = b'invalid operation', baseOperation = glGetUniformLocation, cArguments = (3, b'ModelMat\x00'), result = -1 ) and I don't know how to solve it. Could you please help me?

tamBou commented 3 years ago

I had the same issue and have fixed it by using this command: export MESA_GL_VERSION_OVERRIDE=3.3

miramirakim227 commented 3 years ago

@tamBou Hello :) would you please let us know where you put the 'export...=3.3' code??

tamBou commented 3 years ago

Hello! After pip install PyOpenGL I put: export MESA_GL_VERSION_OVERRIDE==3.3