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

failed to EGL with glad. #16

Open
GeorgeWuzy opened this issue Oct 7, 2024 · 0 comments
Open

failed to EGL with glad. #16

GeorgeWuzy opened this issue Oct 7, 2024 · 0 comments

Comments

@GeorgeWuzy
Copy link

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?

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