How does input_dim should be set?

Hello,
I try to use uff file foe nvinfer plugin,
when try to set config.file,
like this,

[property]
gpu-id=0
net-scale-factor=0.0039215697906911373
uff-file=./car.uff
input-dims={-1,224,224,3}
mean-file=.mean.ppm

it always report the error,

ERROR from element secondary3-nvinference-engine: Failed to parse config file:car.txt
Error details: nvinfer_property_parser.c(162): nvinfer_parse_input_dimensions (): /GstPipeline:dstest2-pipeline/GstNvInfer:secondary3-nvinference-engine:
Number of values for integer-array property ‘input-dims’ should be 4
Returned, stopping playback
Deleting pipeline

I know the error occurs on input-dim property,
but what is the right style of input-dims should be write?

I also tried:
input-dims=[-1,224,224,3]
input-dims=(-1,224,224,3)
input-dims=-1x224x224x3

but it’s no use,

any message is appreciated!

please try with format input-dims=3;224;224;1, change to yours accordingly. and the forth number should be either 0 or 1

@amycao,
Thanks for your kindly help again, it 's useful.

where can I find nvinfer_property_parser.c ?

We do not open sourced this part.