Comments (5)
So, it comes that my generated model supports just 1 image into the pipeline, against trafficnet that suports more than one. I was setting batch-size with the number of video inputs, and for Yolo I can't do that, it must be set to 1. batch-size=1 at the config file turns to be the correct config.
from deepstream-yolo.
I have encountered the same problem when using the Python API. May I know how to solve it specifically
from deepstream-yolo.
It comes that my Yolo model was trained with just 1 batch, and I was setting batch-size, at config file, to 2 or more. I had to keep it to 1. By changing this, it solved my error.
from deepstream-yolo.
You exported the model with --batch 1
. Set it --dynamic
or set the number of the batch-size using --batch
in the exporter file.
from deepstream-yolo.
Now I exported the model will --dynamic. I set nvstreammux "batch-size" to 2, and set the nvinfer pgie "batch-size" to 2. Just in case, I also set the config_infer_primary.txt with batch-size=2.
However, the pipeline doesn't run, it says "Backend has maxBatchSize 1 whereas 2 has been requested".
So, either the exporting script is not exporting batch sizes greater than 1, or the is something being wrongly set in the pipeline script. Do you have any suggestions?
from deepstream-yolo.
Related Issues (20)
- customModels.md
- Trying to add a trace and getting trace results
- Custom RTSP output address HOT 1
- how can i use deepstream image inference with opencv? HOT 1
- Urgent : How to save the prediction into txt file from Deepstream config file HOT 1
- Nvidia Deepstream 6.1 - Segmentation fault (core dumped) HOT 3
- Yolov8-OBB implementation HOT 3
- cannot convert yoloV8 model to int8
- Yolov5: ERROR: Failed to get cuda engine from custom library API
- YOLOV8 generation engine ERROR HOT 1
- Adding image fusion model as primary inference and yolov5 as secondary detector.
- INT8 calibration
- VIC Configuration failed image scale factor exceeds 16 HOT 1
- Segmentation Fault when use yoloV5
- YOLOV8-OBB
- Is there any support plan for yolov10? HOT 1
- deepstream-app: error while loading shared libraries: libgstrtspserver-1.0.so.0: cannot open shared object file: No such file or directory HOT 1
- ** ERROR: <main:706>: Failed to set pipeline to PAUSED
- Error when running export_rtdetr_ultralytics:Unsupported: ONNX export of operator get_pool_ceil_padding, input size not accessible HOT 1
- Failed to get (TensorRT) engine for RT-DETR
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 deepstream-yolo.