Hello,
I have face recognition model glintr100.onnx from InsightFace-REST repo. I want to create TensorRT engine from onnx file however I got this error “Assertion failed: dims.nbDims == 4 || dims.nbDims == 5”. I solve this by build TensorRT OSS 7.2.1 (change some code using this pull request), which corresponding with DeepStream 5.1. However, I can not use this engine with nvinferserver.
I think that I need to build Triton from source (with new TensorRT), however I don’t know how to do that.
Please help me solve my issue.
And I receive the error “Assertion failed: dims.nbDims == 4 || dims.nbDims == 5”
I fix this by build TensorRT OSS 7.2.1 (I change some code based on the pull request which fix the issue). I replace the libnvonnxparser.so.7.2.1 and libnvinfer_plugin.so.7.2.1 in /usr/lib/x86_64-linux-gnu by the file in TensorRT OSS.
I’m able to build TensorRT engine and run with nvinfer however when I run this engine using nvinferserver I got the following error
@bcao, I work on an closed source so I can not provide more detail information. Currently, I use fd with nvinferserver and fr with nvinfer, and I give up on building nvinferserver from source in DeepStream container. Anyways, thanks for your time!