I’d like to run in Python the Secondary_CarColor, Secondary_CarColor, Secondary_VehicleTypes provided in the samples of the DeepStream container. What is the necessary preprocessing for the data?
I mean, I can understand the requirements in terms of input type and size. But, what about the input value (e.g. normalization)?
Well I simply have some images loaded as numpy array of a certain shape, RGB channel order, and uint8 Dtype (value between 0 and 255). Do I need to normalize the values in the array (e.g. dividing by 255)?
@bcao from the link, I read that the formula should be y = net scale factor*(x-mean)
However it is not clear where to find the value for mean for net scale factor
I attached the files of one of the models from the DeepStream container for your convenience. Where do I see the mean value? Secondary_CarColor.zip (8.2 MB)
There is a mean.ppm under samples/models/Secondary_CarColor/ ?
Can you share your setup as required?
I think you need to read Gst-nvinfer — DeepStream 6.1.1 Release documentation firstly to be more familiar with DS nvinfer.