Opencv face recognition

Description

Hello guys, thank you all for everything.

The problem is that the feature vectors obtained in the onnx model are completely different from the TRT version, and I don’t know where the problem lies.

I tried several different methods, such as changing the color channel or the order of the channels (chw , whc , hcw )and how the network blob was created, but I didn’t get the right output.

Thanks for the solutions and answers. For more information, you can check this page :

Environment

TensorRT Version: 8.6.1.6
GPU Type: GTX1650
Nvidia Driver Version: 560.35.03
CUDA Version: 12.6
CUDNN Version: 12.6, V12.6.20
Operating System + Version: 141~20.04.1-Ubuntu

Relevant Files