When i run 'eval.py' and 'occlusion_analysis.py' , i got error:
WARNING: You are using a SMPL model, with only 10 shape coefficients.
WARNING: You are using a SMPL model, with only 10 shape coefficients.
WARNING: You are using a SMPL model, with only 10 shape coefficients.
libEGL warning: DRI2: failed to create dri screen
libEGL warning: DRI2: failed to create dri screen
Traceback (most recent call last):
File "/home/ywk/Paper/PARE/scripts/occlusion_analysis.py", line 265, in
run_dataset(args, hparams)
File "/home/ywk/Paper/PARE/scripts/occlusion_analysis.py", line 129, in run_dataset
model = PARETrainer(hparams=hparams).to(device)
File "/home/ywk/Paper/PARE/scripts/pare/core/trainer.py", line 223, in init
mesh_color=self.hparams.DATASET.MESH_COLOR,
File "/home/ywk/Paper/PARE/scripts/pare/utils/renderer.py", line 43, in init
point_size=1.0
File "/home/ywk/anaconda3/envs/PARE/lib/python3.7/site-packages/pyrender/offscreen.py", line 31, in init
self._create()
File "/home/ywk/anaconda3/envs/PARE/lib/python3.7/site-packages/pyrender/offscreen.py", line 134, in _create
self._platform.init_context()
File "/home/ywk/anaconda3/envs/PARE/lib/python3.7/site-packages/pyrender/platforms/egl.py", line 177, in init_context
assert eglInitialize(self._egl_display, major, minor)
File "/home/ywk/anaconda3/envs/PARE/lib/python3.7/site-packages/OpenGL/platform/baseplatform.py", line 415, in call
return self( *args, **named )
File "/home/ywk/anaconda3/envs/PARE/lib/python3.7/site-packages/OpenGL/error.py", line 234, in glCheckError
baseOperation = baseOperation,
OpenGL.raw.EGL._errors.EGLError: EGLError(
err = EGL_NOT_INITIALIZED,
baseOperation = eglInitialize,
cArguments = (
<OpenGL._opaque.EGLDisplay_pointer object at 0x7fa447ad8680>,
c_long(0),
c_long(0),
),
result = 0
)
Process finished with exit code 1
Can you tell me how to solve it ? Thanks.