Comments (6)
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.
@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.
@BHamlen How is the performance? i thought tensorRT will result in higher FPS.
from ros_deep_learning.
@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.
@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.
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)
- erro in nodelet_imagenet.cpp HOT 5
- DETECTNET_DEFAULT_THRESHOLD HOT 1
- detectnet directly from ros topic HOT 2
- using realsense2 as an input source HOT 1
- Ros Noetic, undefined symbol, Jetson AGX, Jetpack 5.1 HOT 2
- no package ros_deep_learning in docker container ros-noetic-pytorch-l4t-32.7.1 HOT 4
- ros_deep_learning package not found HOT 13
- Format for class labels file and class colors file ? HOT 2
- Using ros2 bag file as an input
- ROS Noetic Distro HOT 1
- Jetson Orin/Jetson Nano Ros Deep Learning HOT 2
- CLI Syntax for input-codec=mjpeg HOT 3
- Jetson inference HOT 5
- failed to find model manifest file 'networks/models.json' HOT 4
- Ros Deep Learning on x86 HOT 3
- using realsense rostopic to stream HOT 2
- Not a bug persay but a question! HOT 6
- bbox information via the /detectnet/detections topic using a subscibrer HOT 4
- how can i use my own ONNX model with ros_deep_learning package ? HOT 17
- Error following the guide ,Orin NX JP5.1.2 NVME HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ros_deep_learning.