Git Product home page Git Product logo

darknet_ros's People

Contributors

pushkalkatara avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

darknet_ros's Issues

Process has died at trackThread

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

Cannot display /darknet_ros/detection_image with rviz / rqt_image_view

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:

  • The darknet itself runs perfectly
  • Have only downloaded yolov3.weights in correct folder and changed launch file to include yolov3 instead of yolov2-tiny and build it with catkin.
  • The yolov3.cfg looks fine (have not touched it) and I use yolov3.yaml.
  • I am able to access web camera via uvc_camera packet when I run: rosrun uvc_camera uvc_camera_node and display it via rqt_image_view / rviz under raw_image
  • ros.yaml is not changed. Is there something I can change there to make it work?

Any suggestions to approach the problem?

sc1

sc2

Process will died in 1-2minutes

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.

deactivate tracking

Hi,

is there a way to deactivate the tracking capability? I would like to run this repo without.

crash after several seconds (malloc(): memory corruption)

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?

YoloV3 detects nothing

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!

Visualize bounding boxes

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 ?

The launch file is terminated.

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?

Integrating with Zed_camera

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 ?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.