marcoslucianops / DeepStream-Yolo

NVIDIA DeepStream SDK 7.0 / 6.4 / 6.3 / 6.2 / 6.1.1 / 6.1 / 6.0.1 / 6.0 / 5.1 implementation for YOLO models
MIT License
1.38k stars 343 forks source link

NvDsInfer Error: NVDSINFER_CONFIG_FAILED #524

Open zcz-lsy opened 3 months ago

zcz-lsy commented 3 months ago

my environment is:

Jetson Xavier deepstream 5.0.0 cuda 10.2 I got thid error: ERROR: Could not open lib: /home/ubuntu/zcz/StudyRoomDetetection/bin/studyConfig/deepstream_yolov4/nvdsinfer_custom_impl_Yolo/libnvdsinfer_custom_impl_Yolo.so, error string: /home/ubuntu/zcz/StudyRoomDetetection/bin/studyConfig/deepstream_yolov4/nvdsinfer_custom_impl_Yolo/libnvdsinfer_custom_impl_Yolo.so: cannot open shared object file: No such file or directory 0:00:01.869691879 10437 0x7f64002d30 ERROR nvinfer gstnvinfer.cpp:613:gst_nvinfer_logger: NvDsInferContext[UID 1]: Error in NvDsInferContextImpl::initialize() [UID = 1]: Could not open custom lib: (null) 0:00:01.869774729 10437 0x7f64002d30 WARN nvinfer gstnvinfer.cpp:809:gst_nvinfer_start: error: Failed to create NvDsInferContext instance 0:00:01.869808650 10437 0x7f64002d30 WARN nvinfer gstnvinfer.cpp:809:gst_nvinfer_start: error: Config file path: ./config_infer_primary_yoloV4.txt, NvDsInfer Error: NVDSINFER_CUSTOM_LIB_FAILED ERROR from element primary-nvinference-engine-0: Failed to create NvDsInferContext instance Error details: /dvs/git/dirty/git-master_linux/deepstream/sdk/src/gst-plugins/gst-nvinfer/gstnvinfer.cpp(809): gst_nvinfer_start (): /GstPipeline:analysis-pipeline/GstNvInfer:primary-nvinference-engine-0: Config file path: ./config_infer_primary_yoloV4.txt, NvDsInfer Error: NVDSINFER_CUSTOM_LIB_FAILED

I am relly not understand way I would be happy to any help!

marcoslucianops commented 3 months ago

You need to compile the nvdsinfer_custom_impl_Yolo lib before run it.

AgbajeAyomipo commented 17 hours ago

You need to compile the nvdsinfer_custom_impl_Yolo lib before run it.

How?