Hi,
I have an application creating a gstreamer pipeline.
I set dynamically nvstreammux batch-size property according to the number of streams, this part is correct according to the documentation.
Then I have a yolo detector, with batch-size=16 in the config.txt file.
This model has a dynamic shape of min=8, opt=16, max=32.
Should I set nvinfer batch-size=32 (max batch size of the model) in the config.txt file?
Should I set nvinfer batch-size property at runtime to the nvinfer element?
If I run 33 streams, and have nvinfer max batch-size of 32, what does DeepStream:
- one batch of 32 images, then one batch of 1 image?
- 2 batches of 32 images (32 first, then 32 with 31 dummy buffers)?
If I run 1 stream, and have nvinfer max batch-size of 32, what does DeepStream:
- one batch of 1 image?
-one batch of 32 images, (1 image, and 31 dummy buffers)?
I have of course the same doubts when I’m using classifiers after the detector, should I set dynamically in my code the batch-size of the classifiers according to the number of objects detected?
Thanks in advance for the help.