tactile_gym icon indicating copy to clipboard operation
tactile_gym copied to clipboard

failed to EGL with glad.

Open GeorgeWuzy opened this issue 4 months ago • 0 comments

Hi,

When I run training code, I met this bug:

python train_agent.py pybullet build time: Nov 28 2023 23:48:36 argv[0]= failed to EGL with glad. pybullet build time: Nov 28 2023 23:48:36 argv[0]= failed to EGL with glad. pybullet build time: Nov 28 2023 23:48:36 argv[0]= failed to EGL with glad. pybullet build time: Nov 28 2023 23:48:36 argv[0]= failed to EGL with glad. pybullet build time: Nov 28 2023 23:48:36 argv[0]= failed to EGL with glad. pybullet build time: Nov 28 2023 23:48:36 argv[0]= failed to EGL with glad. pybullet build time: Nov 28 2023 23:48:36 argv[0]= failed to EGL with glad. Traceback (most recent call last): File "/home/george/tactile_gym_2/tactile_gym/sb3_helpers/train_agent.py", line 307, in train_agent( File "/home/george/tactile_gym_2/tactile_gym/sb3_helpers/train_agent.py", line 96, in train_agent env = make_training_envs(env_name, rl_params, save_dir) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/george/anaconda3/lib/python3.11/site-packages/tactile_gym-0.0.1-py3.11.egg/tactile_gym/sb3_helpers/rl_utils.py", line 17, in make_training_envs env = make_vec_env( ^^^^^^^^^^^^^ File "/home/george/anaconda3/lib/python3.11/site-packages/stable_baselines3/common/env_util.py", line 108, in make_vec_env return vec_env_cls([make_env(i + start_index) for i in range(n_envs)], **vec_env_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/george/anaconda3/lib/python3.11/site-packages/stable_baselines3/common/vec_env/subproc_vec_env.py", line 112, in init observation_space, action_space = self.remotes[0].recv() ^^^^^^^^^^^^^^^^^^^^^^ File "/home/george/anaconda3/lib/python3.11/multiprocessing/connection.py", line 250, in recv buf = self._recv_bytes() ^^^^^^^^^^^^^^^^^^ File "/home/george/anaconda3/lib/python3.11/multiprocessing/connection.py", line 430, in _recv_bytes buf = self._recv(4) ^^^^^^^^^^^^^ File "/home/george/anaconda3/lib/python3.11/multiprocessing/connection.py", line 395, in _recv chunk = read(handle, remaining) ^^^^^^^^^^^^^^^^^^^^^^^ ConnectionResetError: [Errno 104] Connection reset by peer

Can you help me fix this bug?

GeorgeWuzy avatar Oct 07 '24 19:10 GeorgeWuzy