在TX2 NX上部署yolov5,希望使用TensorRT+DeepStream加速,在最后一步:deepstream-app -c deepstream_app_config.txt时报错:
ERROR from primary_gie: Failed to create NvDsInferContext instance
Debug info: /dvs/git/dirty/git-master_linux/deepstream/sdk/src/gst-plugins/gst-nvinfer/gstnvinfer.cpp(816): gst_nvinfer_start (): /GstPipeline:pipeline/GstBin:primary_gie_bin/GstNvInfer:primary_gie:
Config file path: /home/nvidia/Desktop/DeepStream-Yolo/config_infer_primary_yoloV5.txt, NvDsInfer Error: NVDSINFER_CUSTOM_LIB_FAILED
App run failed
相关版本如下:
```python
deepstream-app version 6.0.0
DeepStreamSDK 6.0.0
CUDA Driver Version: 10.2
CUDA Runtime Version: 10.2
TensorRT Version: 7.1
cuDNN Version: 8.0
libNVWarp360 Version: 2.0.1d3
Jetpack 4.5.1
YOLOV5s 5.0 #无改动_预训练模型
#从github下载的
tensorrtx-yolov5-v5.0
Deepstream-Yolo
```