darknet_ros icon indicating copy to clipboard operation
darknet_ros copied to clipboard

failed to launch darknet_ros yolo_v3.launch

Open hoppss opened this issue 7 years ago • 7 comments

MY ros version is indigo. I successfully install this realse pkg. I have modify the ros.yaml about image topic name

when i try to launch yolo_v3.launch. the process died after loading weights file.

Loading weights from /home/robot/yolo/src/darknet_ros/darknet_ros/yolo_network_config/weights/yolov3.weights...Done! Waiting for image. [darknet_ros-1] process has died [pid 13522, exit code -11, cmd /home/robot/yolo/devel/lib/darknet_ros/darknet_ros __name:=darknet_ros __log:=/home/robot/.ros/log/a25df0de-af28-11e8-80b5-701ce7c05837/darknet_ros-1.log]. log file: /home/robot/.ros/log/a25df0de-af28-11e8-80b5-701ce7c05837/darknet_ros-1*.log

hoppss avatar Sep 03 '18 03:09 hoppss

Others have had this issue. See https://github.com/leggedrobotics/darknet_ros/issues/100 and https://github.com/leggedrobotics/darknet_ros/issues/64

I also have gotten stuck on this issue and ended up using a different Jetson TX2 to fix it. See details here: https://github.com/leggedrobotics/darknet_ros/issues/102

umer936 avatar Sep 30 '18 18:09 umer936

I am getting the same issue. I found that

Line: detection *dets = get_network_boxes(net, buff_[0].w, buff_[0].h, demoThresh_, demoHier_, 0, 1, nboxes); in darknet_ros/src/YoloObjectDetector.cpp. This function is failing when we try yolo3, but if we try yolo 2, this is not making an issue. Any help will be appreciated.

qboticslabs avatar May 22 '19 17:05 qboticslabs

i met this error too. And i found that if i changed to launch darknet_ros.launch instead of yolo_v3.launch. It works! I don't know why. You can have a try.

XueMingXiao avatar May 10 '20 02:05 XueMingXiao

Need to change the network_param_file to yolov3.yaml in order to use yolo_v3.launch.

Alex-Beh avatar Jul 15 '20 06:07 Alex-Beh

MY ros version is indigo. I successfully install this realse pkg. I have modify the ros.yaml about image topic name

when i try to launch yolo_v3.launch. the process died after loading weights file.

Loading weights from /home/robot/yolo/src/darknet_ros/darknet_ros/yolo_network_config/weights/yolov3.weights...Done! Waiting for image. [darknet_ros-1] process has died [pid 13522, exit code -11, cmd /home/robot/yolo/devel/lib/darknet_ros/darknet_ros __name:=darknet_ros __log:=/home/robot/.ros/log/a25df0de-af28-11e8-80b5-701ce7c05837/darknet_ros-1.log]. log file: /home/robot/.ros/log/a25df0de-af28-11e8-80b5-701ce7c05837/darknet_ros-1*.log

I meet the same error, have you solved it ?

cxhmikegithub avatar Aug 06 '20 08:08 cxhmikegithub

@cxhmikegithub You can try what I have said in the comment above. Change the param file.

ChunJyeBehBeh avatar Aug 06 '20 15:08 ChunJyeBehBeh

You can try the method I mentioned in #381

cheexuu avatar Jan 06 '23 03:01 cheexuu