Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error of eval.py and occlusion_analysis.py #13

Open
yiweike opened this issue Dec 10, 2021 · 0 comments
Open

Error of eval.py and occlusion_analysis.py #13

yiweike opened this issue Dec 10, 2021 · 0 comments

Comments

@yiweike
Copy link

yiweike commented Dec 10, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant