Acmece / rl-collision-avoidance

Implementation of the paper "Towards Optimally Decentralized Multi-Robot Collision Avoidance via Deep Reinforcement Learning"
https://arxiv.org/abs/1709.10082
326 stars 92 forks source link

some questions during trainning stage1 #14

Open HanBing0802 opened 3 years ago

HanBing0802 commented 3 years ago

Hello, I have some questions when I train stage1.

  1. When I run rosrun stage_ros_add_pose_and_crash stageros -g worlds/stage1.world, the output is as follows without any visual interface: [Loading worlds/stage1.world][threads 16] [ INFO] [1610369354.678821077]: Found 1 laser devices and 0 cameras in robot 0 [ INFO] [1610369354.693095245]: Found 1 laser devices and 0 cameras in robot 1 [ INFO] [1610369354.708531831]: Found 1 laser devices and 0 cameras in robot 2 [ INFO] [1610369354.720706122]: Found 1 laser devices and 0 cameras in robot 3 [ INFO] [1610369354.734728776]: Found 1 laser devices and 0 cameras in robot 4 [ INFO] [1610369354.748230607]: Found 1 laser devices and 0 cameras in robot 5 [ INFO] [1610369354.762854094]: Found 1 laser devices and 0 cameras in robot 6 [ INFO] [1610369354.775696698]: Found 1 laser devices and 0 cameras in robot 7 [ INFO] [1610369354.787860822]: Found 1 laser devices and 0 cameras in robot 8 [ INFO] [1610369354.802445547]: Found 1 laser devices and 0 cameras in robot 9 [ INFO] [1610369354.814354865]: Found 1 laser devices and 0 cameras in robot 10 [ INFO] [1610369354.828385483]: Found 1 laser devices and 0 cameras in robot 11 [ INFO] [1610369354.840344842]: Found 1 laser devices and 0 cameras in robot 12 [ INFO] [1610369354.855495273]: Found 1 laser devices and 0 cameras in robot 13 [ INFO] [1610369354.869669496]: Found 1 laser devices and 0 cameras in robot 14 [ INFO] [1610369354.882580702]: Found 1 laser devices and 0 cameras in robot 15 [ INFO] [1610369354.897105963]: Found 1 laser devices and 0 cameras in robot 16 [ INFO] [1610369354.909743873]: Found 1 laser devices and 0 cameras in robot 17 [ INFO] [1610369354.924472736]: Found 1 laser devices and 0 cameras in robot 18 [ INFO] [1610369354.936563229]: Found 1 laser devices and 0 cameras in robot 19 [ INFO] [1610369354.950033612]: Found 1 laser devices and 0 cameras in robot 20 [ INFO] [1610369354.963278519]: Found 1 laser devices and 0 cameras in robot 21 [ INFO] [1610369354.975240964]: Found 1 laser devices and 0 cameras in robot 22 [ INFO] [1610369354.990895507]: Found 1 laser devices and 0 cameras in robot 23
  2. And there is nothing output when I run mpiexec -np 24 python2 ppo_stage1.py. I don't know why and how to solve them. Thank you very much!
Acmece commented 3 years ago

Hello, you need to remove the -g in the command for visualization.

The policies are saved in the policy fold periodically.