We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When running python run_group_ppo.py --algo ppo --use-gae --lr 2.5e-4 --clip-param 0.1 --value-loss-coef 0.5 --num-processes 4 --num-steps 128 --num-mini-batch 4 --log-interval 100 --use-linear-lr-decay --entropy-coef 0.01 --eval-interval 50 in the Python Console in PyCharm I get:
python run_group_ppo.py --algo ppo --use-gae --lr 2.5e-4 --clip-param 0.1 --value-loss-coef 0.5 --num-processes 4 --num-steps 128 --num-mini-batch 4 --log-interval 100 --use-linear-lr-decay --entropy-coef 0.01 --eval-interval 50
ERROR Traceback (most recent call last): File "evogym/examples/ppo/../utils/mp_group.py", line 7, in job_wrapper out_value = func(*args) File "evogym/examples/ppo/run.py", line 57, in run_ppo args.gamma, args.log_dir, device, False) File "evogym/examples/ppo/envs.py", line 97, in make_vec_envs envs = SubprocVecEnv(envs) File "/opt/anaconda3/envs/evogym/lib/python3.7/site-packages/stable_baselines3/common/vec_env/subproc_vec_env.py", line 111, in init observation_space, action_space = self.remotes[0].recv() File "/opt/anaconda3/envs/evogym/lib/python3.7/multiprocessing/connection.py", line 250, in recv buf = self._recv_bytes() File "/opt/anaconda3/envs/evogym/lib/python3.7/multiprocessing/connection.py", line 407, in _recv_bytes buf = self._recv(4) File "/opt/anaconda3/envs/evogym/lib/python3.7/multiprocessing/connection.py", line 383, in _recv raise EOFError EOFError
When I run the same command with --num-processes 1 I don't get any error and robots are evaluated using 1 episode.
--num-processes 1
Running the code through terminal doesn't give any problem.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When running
python run_group_ppo.py --algo ppo --use-gae --lr 2.5e-4 --clip-param 0.1 --value-loss-coef 0.5 --num-processes 4 --num-steps 128 --num-mini-batch 4 --log-interval 100 --use-linear-lr-decay --entropy-coef 0.01 --eval-interval 50
in the Python Console in PyCharm I get:
ERROR
Traceback (most recent call last):
File "evogym/examples/ppo/../utils/mp_group.py", line 7, in job_wrapper
out_value = func(*args)
File "evogym/examples/ppo/run.py", line 57, in run_ppo
args.gamma, args.log_dir, device, False)
File "evogym/examples/ppo/envs.py", line 97, in make_vec_envs
envs = SubprocVecEnv(envs)
File "/opt/anaconda3/envs/evogym/lib/python3.7/site-packages/stable_baselines3/common/vec_env/subproc_vec_env.py", line 111, in init
observation_space, action_space = self.remotes[0].recv()
File "/opt/anaconda3/envs/evogym/lib/python3.7/multiprocessing/connection.py", line 250, in recv
buf = self._recv_bytes()
File "/opt/anaconda3/envs/evogym/lib/python3.7/multiprocessing/connection.py", line 407, in _recv_bytes
buf = self._recv(4)
File "/opt/anaconda3/envs/evogym/lib/python3.7/multiprocessing/connection.py", line 383, in _recv
raise EOFError
EOFError
When I run the same command with
--num-processes 1
I don't get any error and robots are evaluated using 1 episode.Running the code through terminal doesn't give any problem.
The text was updated successfully, but these errors were encountered: