Jetson-infernece testing Uff model,batch_size=0,that's failed,why?

Hi, I am used Jetson-infernece to test Uff model, batch_size=0,that’s failed.

However, Jetson-infernece’s segnet-models,that need input batch_size=1.

Because my UFF-model not batch_size=1, why not using batch_size=0 ???

All:
nvidia@nvidia-desktop:~/workspaces/jetson-inference/build/aarch64/bin$ ./segnet-console city_1_1.jpg city_1_1.jpg --prototxt=NULL --model=networks/SAITE_SEG/saite_seg.uff --labels=networks/SAITE_SEG/cityscapes-labels.txt --colors=networks/SAITE_SEG/cityscapes-deploy-colors.txt --input_blob=network/input/Placeholder --output_blob=network/output/Softmax --batch_size 0

segNet – loading segmentation network model from:
– prototxt: NULL
– model: networks/SAITE_SEG/saite_seg.uff
– labels: networks/SAITE_SEG/cityscapes-labels.txt
– colors: networks/SAITE_SEG/cityscapes-deploy-colors.txt
– input_blob ‘network/input/Placeholder’
– output_blob ‘network/output/Softmax’
– batch_size 1

[TRT] TensorRT version 5.0.6
[TRT] loading NVIDIA plugins…
[TRT] completed loading NVIDIA plugins.
[TRT] detected model format - UFF (extension ‘.uff’)
[TRT] desired precision specified for GPU: FASTEST
[TRT] requested fasted precision for device GPU without providing valid calibrator, disabling INT8
[TRT] native precisions detected for GPU: FP32, FP16
[TRT] selecting fastest native precision for GPU: FP16
[TRT] attempting to open engine cache file networks/SAITE_SEG/saite_seg.uff.1.1.GPU.FP16.engine
[TRT] cache file not found, profiling network model on device GPU
[TRT] device GPU, loading networks/SAITE_SEG/saite_seg.uff
[TRT] network/shufflenet_encoder/conv1/conv1/layer_conv2d/Conv2D: image size is smaller than filter size
[TRT] UFFParser: Parser error: network/shufflenet_encoder/conv1/conv1/layer_conv2d/BiasAdd: The input to the Scale Layer is required to have a minimum of 3 dimensions.
[TRT] failed to parse UFF model ‘networks/SAITE_SEG/saite_seg.uff’
[TRT] device GPU, failed to load networks/SAITE_SEG/saite_seg.uff
segNet – failed to initialize.
segnet-console: failed to initialize segnet

Hi,

Batch size indicate the number of input images per time.
So you will need to keep the value >=1.

Thanks.