You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I met this bug
Traceback (most recent call last):
File "/opt/data/private/VIBE-master/demo.py", line 416, in
main(args)
File "/opt/data/private/VIBE-master/demo.py", line 278, in main
renderer = Renderer(resolution=(orig_width, orig_height), orig_img=True, wireframe=args.wireframe)
File "/opt/data/private/VIBE-master/lib/utils/renderer.py", line 60, in init
point_size=1.0
File "/opt/tools/anaconda3/envs/vibe-env/lib/python3.7/site-packages/pyrender/offscreen.py", line 31, in init
self._create()
File "/opt/tools/anaconda3/envs/vibe-env/lib/python3.7/site-packages/pyrender/offscreen.py", line 122, in _create
egl_device = egl.get_device_by_index(device_id)
File "/opt/tools/anaconda3/envs/vibe-env/lib/python3.7/site-packages/pyrender/platforms/egl.py", line 83, in get_device_by_index
raise ValueError('Invalid device ID ({})'.format(device_id, len(devices)))
ValueError: Invalid device ID (0)
The text was updated successfully, but these errors were encountered:
lllllialois
changed the title
[BUG] Traceback (most recent call last): File "/opt/data/private/VIBE-master/demo.py", line 416, in <module> main(args) File "/opt/data/private/VIBE-master/demo.py", line 278, in main renderer = Renderer(resolution=(orig_width, orig_height), orig_img=True, wireframe=args.wireframe) File "/opt/data/private/VIBE-master/lib/utils/renderer.py", line 60, in __init__ point_size=1.0 File "/opt/tools/anaconda3/envs/vibe-env/lib/python3.7/site-packages/pyrender/offscreen.py", line 31, in __init__ self._create() File "/opt/tools/anaconda3/envs/vibe-env/lib/python3.7/site-packages/pyrender/offscreen.py", line 122, in _create egl_device = egl.get_device_by_index(device_id) File "/opt/tools/anaconda3/envs/vibe-env/lib/python3.7/site-packages/pyrender/platforms/egl.py", line 83, in get_device_by_index raise ValueError('Invalid device ID ({})'.format(device_id, len(devices))) ValueError: Invalid device ID (0)
[BUG]egl:ValueError: Invalid device ID (0)
Aug 22, 2022
ok, It seems that there has some elusive bug with the egl. According to the docs of pyrender, we can use osmesa instead of egl.
change os.environ['PYOPENGL_PLATFORM'] = 'egl'
into os.environ['PYOPENGL_PLATFORM'] = 'osmesa'
to use osmesa.
see the docs to learn how to install osmesa.
output_img = rgb[:, :, :-1] * valid_mask + (1 - valid_mask) * img
ValueError: operands could not be broadcast together with shapes (1080,1920,2) (1080,1920,3)
I met this bug
Traceback (most recent call last):
File "/opt/data/private/VIBE-master/demo.py", line 416, in
main(args)
File "/opt/data/private/VIBE-master/demo.py", line 278, in main
renderer = Renderer(resolution=(orig_width, orig_height), orig_img=True, wireframe=args.wireframe)
File "/opt/data/private/VIBE-master/lib/utils/renderer.py", line 60, in init
point_size=1.0
File "/opt/tools/anaconda3/envs/vibe-env/lib/python3.7/site-packages/pyrender/offscreen.py", line 31, in init
self._create()
File "/opt/tools/anaconda3/envs/vibe-env/lib/python3.7/site-packages/pyrender/offscreen.py", line 122, in _create
egl_device = egl.get_device_by_index(device_id)
File "/opt/tools/anaconda3/envs/vibe-env/lib/python3.7/site-packages/pyrender/platforms/egl.py", line 83, in get_device_by_index
raise ValueError('Invalid device ID ({})'.format(device_id, len(devices)))
ValueError: Invalid device ID (0)
The text was updated successfully, but these errors were encountered: