Hi,
I tried to run the deepstream with YoloV3 by using “deepstream-app -c deepstream_app_config_yoloV3.txt” and everything works normally, but when I run it using this pipeline:
gst-launch-1.0 filesrc location=/opt/nvidia/deepstream/deepstream-4.0/samples/streams/sample_1080p_h264.mp4 ! qtdemux ! h264parse ! nvv4l2decoder ! m.sink_0 nvstreammux name=m batch-size=1 width=1920 height=1080 ! nvinfer config-file-path=/opt/nvidia/deepstream/deepstream-4.0/sources/objectDetector_Yolo/config_infer_primary_yoloV3.txt batch-size=1 unique-id=1 ! nvvideoconvert ! nvdsosd ! nveglglessink
I got an error like this.
0:02:22.411401748 10264 0x55abf7579400 INFO nvinfer gstnvinfer.cpp:519:gst_nvinfer_logger:<nvinfer0> NvDsInferContext[UID 1]:generateTRTModel(): Storing the serialized cuda engine to file at /opt/nvidia/deepstream/deepstream-4.0/sources/objectDetector_Yolo/model_b1_int8.engine
0:02:23.409265274 10264 0x55abf7579400 ERROR nvinfer gstnvinfer.cpp:511:gst_nvinfer_logger:<nvinfer0> NvDsInferContext[UID 1]:log(): INVALID_ARGUMENT: getPluginCreator could not find plugin YoloLayerV3_TRT version 1
0:02:23.409307270 10264 0x55abf7579400 ERROR nvinfer gstnvinfer.cpp:511:gst_nvinfer_logger:<nvinfer0> NvDsInferContext[UID 1]:log(): safeDeserializationUtils.cpp (259) - Serialization Error in load: 0 (Cannot deserialize plugin since corresponding IPluginCreator not found in Plugin Registry)
0:02:23.409339140 10264 0x55abf7579400 ERROR nvinfer gstnvinfer.cpp:511:gst_nvinfer_logger:<nvinfer0> NvDsInferContext[UID 1]:log(): INVALID_STATE: std::exception
0:02:23.409616195 10264 0x55abf7579400 ERROR nvinfer gstnvinfer.cpp:511:gst_nvinfer_logger:<nvinfer0> NvDsInferContext[UID 1]:log(): INVALID_CONFIG: Deserialize the cuda engine failed.
0:02:23.413256084 10264 0x55abf7579400 ERROR nvinfer gstnvinfer.cpp:511:gst_nvinfer_logger:<nvinfer0> NvDsInferContext[UID 1]:initialize(): Failed to create engine from serialized stream
0:02:23.413296975 10264 0x55abf7579400 WARN nvinfer gstnvinfer.cpp:692:gst_nvinfer_start:<nvinfer0> error: Failed to create NvDsInferContext instance
0:02:23.413321517 10264 0x55abf7579400 WARN nvinfer gstnvinfer.cpp:692:gst_nvinfer_start:<nvinfer0> error: Config file path: /opt/nvidia/deepstream/deepstream-4.0/sources/objectDetector_Yolo/config_infer_primary_yoloV3.txt, NvDsInfer Error: NVDSINFER_TENSORRT_ERROR
ERROR: Pipeline doesn't want to pause.
Got context from element 'eglglessink0': gst.egl.EGLDisplay=context, display=(GstEGLDisplay)NULL;
ERROR: from element /GstPipeline:pipeline0/GstNvInfer:nvinfer0: Failed to create NvDsInferContext instance
Additional debug info:
gstnvinfer.cpp(692): gst_nvinfer_start (): /GstPipeline:pipeline0/GstNvInfer:nvinfer0:
Config file path: /opt/nvidia/deepstream/deepstream-4.0/sources/objectDetector_Yolo/config_infer_primary_yoloV3.txt, NvDsInfer Error: NVDSINFER_TENSORRT_ERROR
Setting pipeline to NULL ...
Freeing pipeline ...
double free or corruption (!prev)
Aborted (core dumped)
i used RTX2060, cuda 10.2, tensorrt 7, and deepstream 4.0
My question is what is the “plugin YoloLayerV3_TRT version 1” ? how to install it? and can we run deepstream with Yolo V3 using “config_infer_primary_yoloV3.txt”?