I don’t understand how to adopt std and mean preprocessing to DS config: offsets and net-scale-factor.
Accroding to PyTorch normalization in Deepstream config and Image preprocess question, there are option to calculate average net-scale-factor for std, therefore we use average value 0.226 from std = [0.229, 0.224, 0.225], and get the following value for net-scale-factor=1/128/0.578* 0.226 = 0.0030547145328
- How to adopt mean values mean= [0.485, 0.456, 0.406] to DS config??
- Can I edit preprocessing calculations in nvinfer sources?