pushkalkatara / darknet_ros Goto Github PK
View Code? Open in Web Editor NEWRobotics Operating System Package for Yolo v3 based on darknet with optimized tracking using Kalman Filter and Optical Flow.
License: MIT License
Robotics Operating System Package for Yolo v3 based on darknet with optimized tracking using Kalman Filter and Optical Flow.
License: MIT License
Sometimes crash at void YoloROSTracker::trackThread().
When I preview the result image by rqt_image_view and window dragging by mouse, the proccess is died.
If I commented out below, not died.
for (auto &i : old_result_vec) {
auto it = std::find_if(result_vec.begin(), result_vec.end(),
[&i](bbox_t const& b) { return b.track_id == i.track_id && b.obj_id == i.obj_id; });
bool track_id_absent = (it == result_vec.end());
if (track_id_absent)
if (i.frames_counter-- > 1)
result_vec.push_back(i);
else it->frames_counter = std::min((unsigned)3, i.frames_counter + 1);
}
Log
[ INFO] [1562515873.433609549]: Started darknet thread
[ INFO] [1562515873.433782295]: Reference Count > 0
[ INFO] [1562515873.434705322]: Inside tracking
[darknet_ros-1] process has died [pid 17620, exit code -11, cmd /home/nvidia/catkin_ws/devel/lib/darknet_ros/darknet_ros __name:=darknet_ros __log:=/home/nvidia/.ros/log/9f8b6bc4-a0cd-11e9-9537-00044bcbd854/darknet_ros-1.log].
log file: /home/nvidia/.ros/log/9f8b6bc4-a0cd-11e9-9537-00044bcbd854/darknet_ros-1*.log
Hi, great work on the repo.
I'm trying to get it running and I'm quite close. However, when I run command: roslaunch darknet_ros yolo_v3.launch (after source devel/setup.bash and roscore) one can see that darknet is running and GPU is used (I guess GPU 0 used means that GPU is accessed and nvidia-smi confirms that). But it does not display some messages like "waiting for image" after the network is finish to run, only messages like "inside tracking", "consumder done", "started darknet thread" before it stops. And when I start rviz, I find /darknet_ros/detection_image in the list, but the screen shows nothing.
Some facts that may help:
Any suggestions to approach the problem?
I have test this process in PC,it runs normally in begin,but it will be died after one to two minutes.I use the package of usb_cam,not the video_steam_ ,I do not know the reason.
Hi,
is there a way to deactivate the tracking capability? I would like to run this repo without.
Hey,
i am running this node on my Jetson TX2. After some seconds i get this crash error:
*** Error in `/home/nvidia/catkin_ws/devel/lib/darknet_ros/darknet_ros': malloc(): memory corruption: 0x00000001007389c0 ***
and sometimes this:
*** Error in `/home/nvidia/catkin_ws/devel/lib/darknet_ros/darknet_ros': free(): invalid next size (normal): 0x00000000006f7000 ***
any idea?
Hi!
Firstly, thx for the nice effort.
I have compiled your repo and tested with yolov3 however, yolo detects simply nothing, image always shows 0 fps.
Meanwhile, I can work with leggedroboticts darknet-ros 25 fps with nice accuracy already. I use the same ros yaml, launch file and weights.
Do you have any idea to debug the situation?
Thx!
Hello,
I run "git clone --recursive https://github.com/pushkalkatara/darknet_ros.git"
and then "catkin bt", but I've got this error.
"ros/src/darknet_ros_prv/darknet/src/unistd.h:10:16: fatal error: io.h: No such file or directory
compilation terminated."
Do you have any idea ?
(I use ros-kinetic on ubuntu16.04)
Ive been using the video_stream_opencv
to visualize a usb camera feed on the Jetson TX2, but there don't appear to be any bounding boxes, is there a built in way to visualize the detected bounding boxes ?
After everything is set up, turn on the camera node and run darknet_ros.launch.
If nothing is detected, the following message is displayed continuously.
[ INFO] [1578960766.297986767]: Published
[ INFO] [1578960766.298481330]: Published
[ INFO] [1578960766.298957545]: Published
[ INFO] [1578960766.299485874]: Published
[ INFO] [1578960766.299868064]: Published
[ INFO] [1578960766.300246484]: Published
[ INFO] [1578960766.300652402]: Published
[ INFO] [1578960766.301107340]: Published
[ INFO] [1578960766.302045661]: Published
[ INFO] [1578960766.303054431]: Published
[ INFO] [1578960766.303237575]: Callback Called
[ INFO] [1578960766.304041292]: Published
[ INFO] [1578960766.304493759]: Published
[ INFO] [1578960766.304612220]: Started darknet thread
[ INFO] [1578960766.304628583]: Reference Count > 0
[ INFO] [1578960766.304802867]: Inside tracking
[ INFO] [1578960766.306574205]: Consumder Done
[ INFO] [1578960766.307073139]: Published
[ INFO] [1578960766.307652146]: Published
But if something is detected, the process dies with the following message:
[ INFO] [1578960766.344561991]: Published
[ INFO] [1578960766.344987177]: Started darknet thread
[ INFO] [1578960766.345002449]: Reference Count > 0
[ INFO] [1578960766.345016814]: Inside tracking
[darknet_ros-1] process has died [pid 28937, exit code -11, cmd /home/shin/catkin_ws/devel/lib/darknet_ros/darknet_ros __name:=darknet_ros __log:=/home/shin/.ros/log/ac67c836-3661-11ea-af34-4cedfbc5f8af/darknet_ros-1.log].
log file: /home/shin/.ros/log/ac67c836-3661-11ea-af34-4cedfbc5f8af/darknet_ros-1*.log
all processes on machine have died, roslaunch will exit
shutting down processing monitor...
... shutting down processing monitor complete
done
How can I solve this problem?
Hi,
The new version of the darknet includes the zed camera. Is there a way to use your repository with this new version of darknet ?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.