Please provide complete information as applicable to your setup.
*• Hardware Platform (Jetson / GPU)jetson xavier nx *
**• DeepStream Version4.5.1
**• JetPack Version (valid for Jetson only)jetpack 4.5.1
**• TensorRT Version7.1.3
• NVIDIA GPU Driver Version (valid for GPU only)
**• Issue Type( questions, new requirements, bugs)The engine file generated by onnx2trt cannot run on Deepstream
**• *I trained the model using the YOLOv8 framework, exported the code using YOLOv8, converted the YOLOv8 PT format model to ONNX format, and then used ONNX2TRT to generate the engine file. Finally, I called the engine file to Deepstream and reported an error.
Using the command “deepstream test5 app - c sourcetest1. txt”, an error message appears as follows
Unknown or legacy key specified ‘symmetric-padding’ for group [property]
Opening in BLOCKING MODE
Opening in BLOCKING MODE
0:00:08.784969216 11321 0x31ff6070 INFO nvinfer gstnvinfer.cpp:619:gst_nvinfer_logger:<primary_gie> NvDsInferContext[UID 1]: Info from NvDsInferContextImpl::deserializeEngineAndBackend() <nvdsinfer_context_impl.cpp:1702> [UID = 1]: deserialized trt engine from :/home/rongtong/model/202405/yolov8/best.engine
INFO: [Implicit Engine Info]: layers num: 2
0 INPUT kFLOAT images 3x1280x1280
1 OUTPUT kFLOAT output0 11x33600
0:00:08.785277312 11321 0x31ff6070 INFO nvinfer gstnvinfer.cpp:619:gst_nvinfer_logger:<primary_gie> NvDsInferContext[UID 1]: Info from NvDsInferContextImpl::generateBackendContext() <nvdsinfer_context_impl.cpp:1806> [UID = 1]: Use deserialized engine model: /home/rongtong/model/202405/yolov8/best.engine
0:00:08.801270752 11321 0x31ff6070 INFO nvinfer gstnvinfer_impl.cpp:313:notifyLoadModelStatus:<primary_gie> [UID 1]: Load new model:/home/rongtong/model/202405/yolov8/config_infer_primary.txt sucessfully
Runtime commands:
h: Print this help
q: Quit
p: Pause
r: Resume
NOTE: To expand a source in the 2D tiled display and view object details, left-click on the source.
To go back to the tiled display, right-click anywhere on the window.
**PERF: FPS 0 (Avg)
Thu May 23 09:21:15 2024
**PERF: 0.00 (0.00)
** INFO: <bus_callback:181>: Pipeline ready
Opening in BLOCKING MODE
Opening in BLOCKING MODE
NvMMLiteOpen : Block : BlockType = 279
NVMEDIA: Reading vendor.tegra.display-size : status: 6
NvMMLiteBlockCreate : Block : BlockType = 279
** INFO: <bus_callback:167>: Pipeline running
NvMMLiteOpen : Block : BlockType = 8
===== NVMEDIA: NVENC =====
NvMMLiteBlockCreate : Block : BlockType = 8
Segmentation fault (core dumped)*
**•
yolov8n.zip (5.7 MB)
Deepstream also called the engine file, but encountered an error while extracting the video stream. How to adjust the code to enable the engine file to be called by deepstream, pull video streams, and perform object detection and recognition