ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 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.

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.