leggedrobotics / darknet_ros

YOLO ROS: Real-Time Object Detection for ROS
BSD 3-Clause "New" or "Revised" License
2.19k stars 1.18k forks source link

continuously Waiting of image issue #385

Open ManojPrabhakarM opened 2 years ago

ManojPrabhakarM commented 2 years ago

Hi I'am working with Flir camera and using ubuntu 18.04 and ros melodic on NVIDIA Jetson TX2 board. i have created workspace and cloned this project in my workspace

i run this following commands 1st - in spinnaker workspace = roslaunch spinnaker_sdk_camera_driver acquisition.launch for spinnaker to detect flir camera 2nd = in catkin workspace = roslaunch darknet_ros darknet_ros.launch image:=/camera_array/cam0/image_raw

i get following output.

... logging to /home/nvidia/.ros/log/f8e4ebf2-d278-11ec-8972-00044ba7defd/roslaunch-ubuntu-13261.log Checking log directory for disk usage. This may take a while. Press Ctrl-C to interrupt Done checking log file disk usage. Usage is <1GB.

started roslaunch server http://ubuntu:42803/

SUMMARY

PARAMETERS

NODES / darknet_ros (darknet_ros/darknet_ros)

ROS_MASTER_URI=http://localhost:11311

process[darknet_ros-1]: started with pid [13281] [ INFO] [1652420156.136156512]: [YoloObjectDetector] Node started. [ INFO] [1652420156.157141376]: [YoloObjectDetector] Xserver is running. [ INFO] [1652420156.162291168]: [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 512 3 x 3 / 1 13 x 13 x1024 -> 13 x 13 x 512 1.595 BFLOPs 14 conv 425 1 x 1 / 1 13 x 13 x 512 -> 13 x 13 x 425 0.074 BFLOPs 15 detection mask_scale: Using default '1.000000' Loading weights from /media/nvidia/WorkSD128/Flir_ws/src/darknet_ros/darknet_ros/yolo_network_config/weights/yolov2-tiny.weights...Done! Waiting for image. Waiting for image. Waiting for image. Waiting for image. Waiting for image. Waiting for image. Waiting for image. Waiting for image. Waiting for image. Waiting for image. Waiting for image. Waiting for image. Waiting for image. ^C[darknet_ros-1] killing on exit Waiting for image. shutting down processing monitor... ... shutting down processing monitor complete done

it is not launching YOLO screen to see the object detection.

note - iam using NVIDIA jetson TX2 and jetpack version of NVIDIA Jetson TX2 L4T 32.7.1 [ JetPack UNKNOWN ] # this is 4.6.1 version Ubuntu 18.04.6 LTS Kernel Version: 4.9.253-tegra CUDA 10.2.300 CUDA Architecture: 6.2 OpenCV version: 4.1.1 OpenCV Cuda: NO CUDNN: 8.2.1.32 TensorRT: 8.2.1.8 Vision Works: 1.6.0.501 VPI: ii libnvvpi1 1.2.3 arm64 NVIDIA Vision Programming Interface library Vulcan: 1.2.70

please suggest how to proceed with this problem.

werghemmialaeddine commented 2 years ago

hello did you find a solution for this issue ?