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
When i visualize the simulation, i meet the follow problems of Pyglet. How can i do it?
IMPORTING OPENGL RENDERING MODULE. THIS SHOULD NOT BE IMPORTED IN HEADLESS MODE!
Traceback (most recent call last):
File "/home/madrl/code/quad-swarm-rl-master/swarm_rl/enjoy.py", line 34, in
sys.exit(main())
File "/home/madrl/code/quad-swarm-rl-master/swarm_rl/enjoy.py", line 12, in main
status = enjoy(cfg)
File "/home/madrl/.conda/envs/madrl/lib/python3.8/site-packages/sample_factory/enjoy.py", line 169, in enjoy
last_render_start = render_frame(cfg, env, video_frames, num_episodes, last_render_start)
File "/home/madrl/.conda/envs/madrl/lib/python3.8/site-packages/sample_factory/enjoy.py", line 78, in render_frame
env.render()
File "/home/madrl/.conda/envs/madrl/lib/python3.8/site-packages/gymnasium/core.py", line 418, in render
return self.env.render()
File "/home/madrl/.conda/envs/madrl/lib/python3.8/site-packages/gymnasium/core.py", line 418, in render
return self.env.render()
File "/home/madrl/.conda/envs/madrl/lib/python3.8/site-packages/gymnasium/core.py", line 418, in render
return self.env.render()
File "/home/madrl/code/quad-swarm-rl-master/swarm_rl/env_wrappers/compatibility.py", line 57, in render
return self.env.render()
File "/home/madrl/.conda/envs/madrl/lib/python3.8/site-packages/gymnasium/core.py", line 418, in render
return self.env.render()
File "/home/madrl/code/quad-swarm-rl-master/gym_art/quadrotor_multi/quadrotor_multi.py", line 736, in render
self.scenes[i].update_env(self.room_dims)
File "/home/madrl/code/quad-swarm-rl-master/gym_art/quadrotor_multi/quadrotor_multi_visualization.py", line 211, in update_env
self._make_scene()
File "/home/madrl/code/quad-swarm-rl-master/gym_art/quadrotor_multi/quadrotor_multi_visualization.py", line 289, in _make_scene
world.build(batch)
File "/home/madrl/code/quad-swarm-rl-master/gym_art/quadrotor_multi/rendering3d.py", line 273, in build
self._build_children(batch)
File "/home/madrl/code/quad-swarm-rl-master/gym_art/quadrotor_multi/rendering3d.py", line 260, in _build_children
c.build(batch, self.pyg_grp)
File "/home/madrl/code/quad-swarm-rl-master/gym_art/quadrotor_multi/rendering3d.py", line 312, in build
c.build(batch, ordering)
File "/home/madrl/code/quad-swarm-rl-master/gym_art/quadrotor_multi/rendering3d.py", line 402, in build
self.pyg_grp = _PygTexture(tex=self.tex,
File "/home/madrl/code/quad-swarm-rl-master/gym_art/quadrotor_multi/rendering3d.py", line 503, in init
glGetFloatv(GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT, anisotropy)
File "/home/madrl/.conda/envs/madrl/lib/python3.8/site-packages/pyglet/gl/lib.py", line 107, in errcheck
raise GLException(msg)
pyglet.gl.lib.GLException: b'invalid enumerant'
The text was updated successfully, but these errors were encountered:
When i visualize the simulation, i meet the follow problems of Pyglet. How can i do it?
IMPORTING OPENGL RENDERING MODULE. THIS SHOULD NOT BE IMPORTED IN HEADLESS MODE!
Traceback (most recent call last):
File "/home/madrl/code/quad-swarm-rl-master/swarm_rl/enjoy.py", line 34, in
sys.exit(main())
File "/home/madrl/code/quad-swarm-rl-master/swarm_rl/enjoy.py", line 12, in main
status = enjoy(cfg)
File "/home/madrl/.conda/envs/madrl/lib/python3.8/site-packages/sample_factory/enjoy.py", line 169, in enjoy
last_render_start = render_frame(cfg, env, video_frames, num_episodes, last_render_start)
File "/home/madrl/.conda/envs/madrl/lib/python3.8/site-packages/sample_factory/enjoy.py", line 78, in render_frame
env.render()
File "/home/madrl/.conda/envs/madrl/lib/python3.8/site-packages/gymnasium/core.py", line 418, in render
return self.env.render()
File "/home/madrl/.conda/envs/madrl/lib/python3.8/site-packages/gymnasium/core.py", line 418, in render
return self.env.render()
File "/home/madrl/.conda/envs/madrl/lib/python3.8/site-packages/gymnasium/core.py", line 418, in render
return self.env.render()
File "/home/madrl/code/quad-swarm-rl-master/swarm_rl/env_wrappers/compatibility.py", line 57, in render
return self.env.render()
File "/home/madrl/.conda/envs/madrl/lib/python3.8/site-packages/gymnasium/core.py", line 418, in render
return self.env.render()
File "/home/madrl/code/quad-swarm-rl-master/gym_art/quadrotor_multi/quadrotor_multi.py", line 736, in render
self.scenes[i].update_env(self.room_dims)
File "/home/madrl/code/quad-swarm-rl-master/gym_art/quadrotor_multi/quadrotor_multi_visualization.py", line 211, in update_env
self._make_scene()
File "/home/madrl/code/quad-swarm-rl-master/gym_art/quadrotor_multi/quadrotor_multi_visualization.py", line 289, in _make_scene
world.build(batch)
File "/home/madrl/code/quad-swarm-rl-master/gym_art/quadrotor_multi/rendering3d.py", line 273, in build
self._build_children(batch)
File "/home/madrl/code/quad-swarm-rl-master/gym_art/quadrotor_multi/rendering3d.py", line 260, in _build_children
c.build(batch, self.pyg_grp)
File "/home/madrl/code/quad-swarm-rl-master/gym_art/quadrotor_multi/rendering3d.py", line 312, in build
c.build(batch, ordering)
File "/home/madrl/code/quad-swarm-rl-master/gym_art/quadrotor_multi/rendering3d.py", line 402, in build
self.pyg_grp = _PygTexture(tex=self.tex,
File "/home/madrl/code/quad-swarm-rl-master/gym_art/quadrotor_multi/rendering3d.py", line 503, in init
glGetFloatv(GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT, anisotropy)
File "/home/madrl/.conda/envs/madrl/lib/python3.8/site-packages/pyglet/gl/lib.py", line 107, in errcheck
raise GLException(msg)
pyglet.gl.lib.GLException: b'invalid enumerant'
The text was updated successfully, but these errors were encountered: