Comments (4)
when i run the train_mujoco.sh, the error generate: NotImplementedError Traceback (most recent call last): File "/home/spaci/RL/TRPO-in-MARL-master/scripts/train/train_mujoco.py", line 163, in main(sys.argv[1:]) File "/home/spaci/RL/TRPO-in-MARL-master/scripts/train/train_mujoco.py", line 136, in main envs = make_train_env(all_args) File "/home/spaci/RL/TRPO-in-MARL-master/scripts/train/train_mujoco.py", line 37, in make_train_env return ShareSubprocVecEnv([get_env_fn(i) for i in range(all_args.n_rollout_threads)]) File "/home/spaci/RL/TRPO-in-MARL-master/scripts/../envs/env_wrappers.py", line 360, in init self.n_agents = self.remotes[0].recv() File "/home/spaci/anaconda3/envs/env_name/lib/python3.9/multiprocessing/connection.py", line 255, in recv buf = self._recv_bytes() File "/home/spaci/anaconda3/envs/env_name/lib/python3.9/multiprocessing/connection.py", line 419, in _recv_bytes buf = self._recv(4) File "/home/spaci/anaconda3/envs/env_name/lib/python3.9/multiprocessing/connection.py", line 384, in _recv chunk = read(handle, remaining) ConnectionResetError: [Errno 104] Connection reset by peer
can anyone help me? thanks
I've met the same error, Maybe it caused by setting rollout thread or training thread too large, or your PC can not aford current setting of process number, or there exist many zombie process in computer system. you can restart you HPC or PC to retry it.
Hope this suggestion can help you!
from trpo-in-marl.
Thank you for your answer
I have modified relevant parameters, but errors will still occur. Can you help me?
the parameters is as:
parser.add_argument("--n_training_threads", type=int,
default=1, help="Number of torch threads for training")
parser.add_argument("--n_rollout_threads", type=int,
default=2, help="Number of parallel envs for training rollouts")
from trpo-in-marl.
I'm learning your awesome work, but I'm having some trouble, can you help me?
Actually, when i run the ShareSubprocVecEnv, the above error appeared. when i change to the 'ShareDummyVecEnv', then another error appeared: AttributeError: 'ShareDummyVecEnv' object has no attribute 'n_agents'.
from trpo-in-marl.
Thank you for your answer I have modified relevant parameters, but errors will still occur. Can you help me? the parameters is as: parser.add_argument("--n_training_threads", type=int, default=1, help="Number of torch threads for training") parser.add_argument("--n_rollout_threads", type=int, default=2, help="Number of parallel envs for training rollouts")
You also need to modify the relevant parameters in train_mujoco.sh.
from trpo-in-marl.
Related Issues (19)
- About the number of Critic Networks HOT 3
- How do you use global information and local information in multi-agent mujoco? HOT 1
- I found that the action value exceeds the limit HOT 1
- gym error
- The question about critic loss
- I found a bug in file 'utils/util.py'. If we use discrete action space in 'runners\separated\mujoco_runner.py' and store it's transition in buffer, we will get a bug. Because the act_shape is a constant value. HOT 2
- I have some questions about the adjustment of experiment parameters. HOT 3
- conflicting dependicies and distribution of some packages not found HOT 1
- Some questions about HAPPO implementation HOT 2
- Question about observation and state in multi-agent mujoco tasks HOT 1
- Do you have PyMARL implementation? HOT 1
- The
- The Script code runs wrong when applying the HATRPO algorithm with 【rnn】 network. HOT 1
- Confused about the results of IPPO and MAPPO. HOT 5
- what to do with a dead agent HOT 1
- Question about HAPPO performance in StarCraftII
- Questions about visualization
- dependency issue HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from trpo-in-marl.