Batchsize modification

Hi,
How can I change the batchsize of yolo plugin when running with deepstream-app?
Thanks for reading and helping.

Hi,

The batch size is automatically decided by querying the upstream pipeline.

If you have 2 source streams, the yolo plugin builds an engine for batch size = 2.
This is multichannel batching. There’s no support for temporal batching currently.

So if you only have a single source stream, you can only run the pipeline with batch size = 1.
Thanks.

Hello,

In my pipeline, I replaced nvinfer (pgie) with the yolo plugin. However, the batch-size is 0, which is causing an error. Do you have any pointers as to why this is happening?

Thanks.

Hi,

Batch size is automatically decided by the image source.
Could you check if your input source is valid?

Thanks.