DeepStream-Yolo
DeepStream-Yolo copied to clipboard
custom yolov7 model works in tensorrt, but not in deepstream. > deserializeEngineAndBackend()
nvinfer gstnvinfer.cpp:638:gst_nvinfer_logger:<primary_gie> NvDsInferContext[UID 1]: Info from NvDsInferContextImpl::deserializeEngineAndBackend() <nvdsinfer_context_impl.cpp:1912> [UID = 1]: deserialized trt engine from :/home/nvidia/workspace/deepstream_sdk/DeepStream-Yolo/yolov7x.engine
deepstream-app error >> deserializeEngineAndBackend()
It looks similar to the error in tensorrt
[07/28/2022-15:02:55] [TRT] [E] 1: [pluginV2Runner.cpp::load::290] Error Code 1: Serialization (Serialization assertion creator failed.Cannot deserialize plugin since corresponding IPluginCreator not found in Plugin Registry) [07/28/2022-15:02:55] [TRT] [E] 4: [runtime.cpp::deserializeCudaEngine::50] Error Code 4: Internal Error (Engine deserialization failed.)
I solved the problem by adding the following function in tensorrt initLibNvInferPlugins(&gLogger, "");
There's no support for YOLOv7 yet.
아직 YOLOv7에 대한 지원이 없습니다.
Waiting for yolov7 support. Thanks for your reply.
Added support for YOLOv7.