Comments (6)
YOLO isn't explicitly supported in the detectNet code, it would require addition pre/post-processing code to make it work.
from ros_deep_learning.
@dusty-nv is there a way to load processed .trt models for the detectnet? I have done the necessary pre/post-processing and converted the onnx file to a TensorRT model
from ros_deep_learning.
is there a way to load processed .trt models for the detectnet?
There is, but it is pretty deep in the depths of the code, here: https://github.com/dusty-nv/jetson-inference/blob/12061e0a778ddc237bc153f81465488fe2539742/c/tensorNet.h#L303
That isn't usually used externally, but rather from inside detectNet, imageNet, or segNet when loading a model.
Further, the pre/post-processing I was alluding to wasn't to convert the model to TRT, but the runtime pre/post-processing of the input and output tensors. I am not sure what format YOLO expects (i.e. if mean pixel subtraction/normalization is applied, if it uses BGR or RGB input, as well as how the raw detection results are formatted in the network output)
from ros_deep_learning.
@dusty-nv
Ahh, i see. I managed to use the NVIDIA's TensorRT samples to create a ROS node for yolo. Thanks for your help!
from ros_deep_learning.
Hi @dusty-nv
So I've read through several issues where you repeatedly clarify this and the jetson-inference repo do not support YOLO. Forgive me for beating a dead horse, but long term is there any chance of a ROS node like this being supported for YOLO inference engine at some point?
For now I can muddle along with my own custom ROS node, but long term I'm curious about NVidia's roadmap. As pointed out above, NVidia gives clear instruction on combining TensorRt and Yolo, so having ROS support with Yolo inference engine would be superb performance-wise (for >>30 FPS object detection use-cases).
from ros_deep_learning.
is there any chance of a ROS node like this being supported for YOLO inference engine at some point?
I don't personally plan on creating a ROS node for TensorRT-accelerated YOLO, so you may want to continue with your efforts. It gets to be a lot over time to maintain different detection architectures for training+inference, so I prefer to just to keep SSD-Mobilenet for now instead of the now-numerous YOLO variants.
from ros_deep_learning.
Related Issues (20)
- 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
- Using custom trained model with ROS Deep Learning
- set precision to fp32 HOT 2
- Video RTSP streaming HOT 1
- use two camera with ros_deep_learning HOT 4
- Using realsense camera
- How to acces the center.x value in detectnet/detections HOT 1
- Performance drop in ROS node vs. standalone execution of detectnet mobilenet-ssd-v2 HOT 1
- Migrating from RCUTILS to RCLCPP for Enhanced /rosout Log Publishing
- gst-launch-1.0 preview is just a black video - no error messages HOT 6
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.