• Hardware Platform : dGPU
• DeepStream Version: 7.0
• TensorRT Version: 8.6.1.6
**• NVIDIA GPU Driver Version: 555.58.02 **
• Issue Type: Question
Currently, we are normalizing input of our model with this function:
def img_normalize(x):
mean = np.mean(x)
std = np.std(x)
y = (x - mean) / std
return y
Is there a way to achive this by using nvinfer net-scale-factor and mean?
Currently standard deviation is not supported. You can implement the algorithm by yourself and integrate with the gst-nvpreprocess plugin.
Is there any example for preprocessing using python like post-processing in deepstream-ssd-parser?
No. It is recommended to implement the preprocessing algorithm with c/c++ and be integrated by gst-nvpreprocess plugin.
system
Closed
6
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.