ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
FileNotFoundError: [Errno 2] No such file or directory: 'cfg/tiny-yolo-voc-3c.cfg'
ROS changes the current working directory for nodes when using rosrun
and roslaunch
. You cannot use relative filenames then. Change it to an absolute path and it should work.
2 | No.2 Revision |
FileNotFoundError: [Errno 2] No such file or directory: 'cfg/tiny-yolo-voc-3c.cfg'
ROS changes the current working directory for nodes when using rosrun
and roslaunch
. You cannot use relative filenames then. Change it to an absolute path and it should work.
See #q33890 for a very old -- but still correct -- explanation of this.