Git Product home page Git Product logo

Comments (6)

fwarmuth avatar fwarmuth commented on June 25, 2024

For me it worked with a little fiddling...
it seems that the parameter 'parsing'-block handles a _model_path:=<path to onnx> not right, at least in my case i needed to overwrite 'use_model_nameto false' so that the node used my onnx model provided by rosrun ros_deep_learning detectnet /detectnet/image_in:=/my/cam/image/topic _model_path:=/path/to/file.onnx.

Unfortunately my converted Yolov3-tiny results in:

[ INFO] [1588593271.498076451]: converting 1280x640 bgr8 image
[TRT]   detectNet::Detect() -- ONNX -- coord (-inf, -inf) (-inf, -inf)  image 1280x640
[ INFO] [1588593271.501776997]: detected 1 objects in 1280x640 image
object 0 class #0 (class #0)  confidence=1.000000
object 0 bounding box (-inf, -inf)  (-inf, -inf)  w=nan  h=nan

seems that something else is wrong...
@BHamlen did you menage to use the detectnet node with a custom network? i would love to know how!
@dusty-nv any tipps on the corrupt detection output? what did i potentially mess up this time?

regards

from ros_deep_learning.

benhamlen avatar benhamlen commented on June 25, 2024

@fwarmuth unfortunately not :(
My original model was trained on darknet, and I found a helpful package called darknet_ros, which allowed me to use the .cfg and .weights from darknet with ROS on my xavier. Not sure if you're wanting to use a darknet model, but if so hopefully that helps!

from ros_deep_learning.

fwarmuth avatar fwarmuth commented on June 25, 2024

@BHamlen How is the performance? i thought tensorRT will result in higher FPS.

from ros_deep_learning.

benhamlen avatar benhamlen commented on June 25, 2024

@fwarmuth Performance on the xavier with a 720p webcam is about 15-20fps. I'm sure tensorRT will result in higher FPS, yeah. What is your application?

from ros_deep_learning.

fwarmuth avatar fwarmuth commented on June 25, 2024

@BHamlen Hey, my application is an Safety AGV, some autonomous moving thing with sensors :D. But unfortently i can NOT get the tensorRT things to work with my retrained networks....
Same as you i will try now the darknet_ros node. It works on my dev machine but i cant get to to compile on the Xavier, seems to be an opencv issue. What version of opencv are you using?

from ros_deep_learning.

benhamlen avatar benhamlen commented on June 25, 2024

ah yeah I was having problems with opencv versions too. I went through a couple attempts with different versions so I dont remember exactly, but I believe having opencv 4.x was what ended up working

from ros_deep_learning.

Related Issues (20)

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.