Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nothing happens after running darknet_ros.launch #428

Open
Kane1440 opened this issue Sep 25, 2024 · 1 comment
Open

Nothing happens after running darknet_ros.launch #428

Kane1440 opened this issue Sep 25, 2024 · 1 comment
Labels

Comments

@Kane1440
Copy link

Describe the bug
Nothing happens after running darknet_ros.launch
weights seem to have loaded, and the image topic is fine, but nothing happens.
The same code is normal on my other machine
help!!!

started roslaunch server http://ubuntu:44749/

SUMMARY
========

PARAMETERS
 * /darknet_ros/actions/camera_reading/name: /darknet_ros/chec...
 * /darknet_ros/config_path: /home/wheeltec-cl...
 * /darknet_ros/image_view/enable_console_output: True
 * /darknet_ros/image_view/enable_opencv: True
 * /darknet_ros/image_view/wait_key_delay: 1
 * /darknet_ros/publishers/bounding_boxes/latch: False
 * /darknet_ros/publishers/bounding_boxes/queue_size: 1
 * /darknet_ros/publishers/bounding_boxes/topic: /darknet_ros/boun...
 * /darknet_ros/publishers/detection_image/latch: True
 * /darknet_ros/publishers/detection_image/queue_size: 1
 * /darknet_ros/publishers/detection_image/topic: /darknet_ros/dete...
 * /darknet_ros/publishers/object_detector/latch: False
 * /darknet_ros/publishers/object_detector/queue_size: 1
 * /darknet_ros/publishers/object_detector/topic: /darknet_ros/foun...
 * /darknet_ros/subscribers/camera_reading/queue_size: 1
 * /darknet_ros/subscribers/camera_reading/topic: /camera/color/ima...
 * /darknet_ros/weights_path: /home/wheeltec-cl...
 * /darknet_ros/yolo_model/config_file/name: yolov3-tiny1.cfg
 * /darknet_ros/yolo_model/detection_classes/names: ['orange', 'banan...
 * /darknet_ros/yolo_model/threshold/value: 0.3
 * /darknet_ros/yolo_model/weight_file/name: yolov3-tiny_last....
 * /rosdistro: melodic
 * /rosversion: 1.14.13

NODES
  /
    darknet_ros (darknet_ros/darknet_ros)

ROS_MASTER_URI=http://localhost:11311

process[darknet_ros-1]: started with pid [31499]
[ INFO] [1727229308.373930551]: [YoloObjectDetector] Node started.
[ INFO] [1727229308.375873268]: [YoloObjectDetector] Xserver is running.
[ INFO] [1727229308.376252920]: [YoloObjectDetector] init().
YOLO
layer     filters    size              input                output
    0 conv     16  3 x 3 / 1   416 x 416 x   3   ->   416 x 416 x  16  0.150 BFLOPs
    1 max          2 x 2 / 2   416 x 416 x  16   ->   208 x 208 x  16
    2 conv     32  3 x 3 / 1   208 x 208 x  16   ->   208 x 208 x  32  0.399 BFLOPs
    3 max          2 x 2 / 2   208 x 208 x  32   ->   104 x 104 x  32
    4 conv     64  3 x 3 / 1   104 x 104 x  32   ->   104 x 104 x  64  0.399 BFLOPs
    5 max          2 x 2 / 2   104 x 104 x  64   ->    52 x  52 x  64
    6 conv    128  3 x 3 / 1    52 x  52 x  64   ->    52 x  52 x 128  0.399 BFLOPs
    7 max          2 x 2 / 2    52 x  52 x 128   ->    26 x  26 x 128
    8 conv    256  3 x 3 / 1    26 x  26 x 128   ->    26 x  26 x 256  0.399 BFLOPs
    9 max          2 x 2 / 2    26 x  26 x 256   ->    13 x  13 x 256
   10 conv    512  3 x 3 / 1    13 x  13 x 256   ->    13 x  13 x 512  0.399 BFLOPs
   11 max          2 x 2 / 1    13 x  13 x 512   ->    13 x  13 x 512
   12 conv   1024  3 x 3 / 1    13 x  13 x 512   ->    13 x  13 x1024  1.595 BFLOPs
   13 conv    256  1 x 1 / 1    13 x  13 x1024   ->    13 x  13 x 256  0.089 BFLOPs
   14 conv    512  3 x 3 / 1    13 x  13 x 256   ->    13 x  13 x 512  0.399 BFLOPs
   15 conv     24  1 x 1 / 1    13 x  13 x 512   ->    13 x  13 x  24  0.004 BFLOPs
   16 yolo
   17 route  13
   18 conv    128  1 x 1 / 1    13 x  13 x 256   ->    13 x  13 x 128  0.011 BFLOPs
   19 upsample            2x    13 x  13 x 128   ->    26 x  26 x 128
   20 route  19 8
   21 conv    256  3 x 3 / 1    26 x  26 x 384   ->    26 x  26 x 256  1.196 BFLOPs
   22 conv     24  1 x 1 / 1    26 x  26 x 256   ->    26 x  26 x  24  0.008 BFLOPs
   23 yolo
Loading weights from /home/wheeltec-client/Desktop/zarm_xxxxxx/src/darknet_ros/darknet_ros/yolo_network_config/weights/yolov3-tiny_last.weights...Done!

System (please complete the following information):

  • OS: Ubuntu 18.04
  • ROS version: melodic
  • GPU when relevant: 3060 cuda11.4
@Kane1440
Copy link
Author

Added: The startup darknet_ros_nodelet.launch is normal, and there is no difference between the two launch file parameters

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant