Libnvinfer.so.5 source code

Where can I find the source code of libnvinfer.so.5?
Thanks for your answer.

TensorRT code not open sourced.

If no source code, how can I parse the box from the output variable “m_OutputLayerInfo” ? Because I find that output variable of my custom model by “nvinfer” cannot match to my expect. I suspect the raw output of feature map has been converted by “nvinfer”. I want to know the conversion so that I can parse the box with my custom model.

But nvinfer which is a plugin open sourced, you can find the source code here,
/opt/nvidia/deepstream/deepstream-$VER/sources/gst-plugins/gst-nvinfer
/opt/nvidia/deepstream/deepstream-$VER/sources/libs/nvdsinfer_customparser/
please refer to here for how to parse custom output, https://docs.nvidia.com/metropolis/deepstream/dev-guide/index.html#page/DeepStream%20Development%20Guide%2Fdeepstream_custom_model.html%23wwpID0EJHA Custom Output Parsing

1 Like