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

Error compiling code #7

Closed priyablue closed 4 years ago

priyablue commented 4 years ago

priya@ros:~/qlearning_ws$ rosrun stage_ros_add_pose_and_crash stageros -g worlds/stage1.world [FATAL] [1585235899.273644693]: The world file worlds/stage1.world does not exist. [FATAL] [1585235899.274600526]: BREAKPOINT HIT file = /home/priya/qlearning_ws/src/stage_ros-add_pose_and_crash/src/stageros.cpp line=333

Can you hep me why is this error??

Acmece commented 4 years ago

Please cd into THE_PATH_TO/rl-collison-avoidance. After that, there should be no prolem.

priyablue commented 4 years ago

Fine thanks.. its working .. but torch is installed, but still i am getting error.

Traceback (most recent call last): File "ppo_stage1.py", line 7, in import torch ImportError: No module named torch

Primary job terminated normally, but 1 process returned a non-zero exit code.. Per user-direction, the job has been aborted.


mpiexec detected that one or more processes exited with non-zero status, thus causing the job to be terminated. The first process to do so was:

Process name: [[10077,1],2] Exit code: 1

Acmece commented 4 years ago

I am guessing you installed torch on Python3. Could you please check that if you have installed torch on Python2.7?