DeepStream-Yolo
DeepStream-Yolo copied to clipboard
Segmentation fault (core dumped)
yolov5 v5.0
tensorrt v5.0
when I use the .wts .engine .cfg made by tensorrt, in tensorrt it test good.
①When I put them into deepstream
and use deepstream-app -c deepstream_app_config.txt
②When I put them and load libmyplugins.so
and use LD_PRELOAD=./libmyplugins.so deepstream-app -c deepstream_app_config.txt
Then
……
I don't know why……
https://github.com/marcoslucianops/DeepStream-Yolo#requirements
https://github.com/marcoslucianops/DeepStream-Yolo/blob/master/docs/YOLOv5.md
The file generated by tensorrt can't work for deepstream? But, I see version 5.1 deepstream tutorial can realize, 6.0 series can't? jetson+yolov5+tenssort+deepstream6.0's imformation is too little to learn, pure beginner. o(╥﹏╥)o
It should not work in the latest repo files. Please use the gen_wts_yoloV5.py
file to convert the YOLOv5 models.
Hi, I am having a "segmentation fault" error. This error comes only a few times. Rest of the time the pipeline works fine. The error comes when the pipeline loads again for processing when we send it a message.
[Ubuntu 20.04] [CUDA 11.6 ]
[NVIDIA Driver 510.47.03] [NVIDIA DeepStream SDK 6.1] [GStreamer 1.16.2] [DeepStream-Yolo]
0:00:52.974549997 140 0x449bd00 INFO nvinfer gstnvinfer.cpp:646:gst_nvinfer_logger:
1 OUTPUT kFLOAT dropout_1 128
2 OUTPUT kFLOAT dense 29
0:00:52.975675261 140 0x449bd00 INFO nvinfer gstnvinfer.cpp:646:gst_nvinfer_logger:
Ideally after "nvinference-engine> [UID 2]: Load new model:test_classifier_config_dli.txt successfully" the following should happen.
Deserialize yoloLayer plugin: yolo
0:00:41.326322620 140 0x449bd00 INFO nvinfer gstnvinfer.cpp:646:gst_nvinfer_logger:
1 OUTPUT kFLOAT num_detections 1
2 OUTPUT kFLOAT detection_boxes 22743x4
3 OUTPUT kFLOAT detection_scores 22743
4 OUTPUT kFLOAT detection_classes 22743
I believe, because of deserializing, it's giving this error. Please help!!
Can you use gdb to debug the segmentation fault?
您好,我也遇到跟你同样的问题?请问您解决了吗?
Hi, no I was not able to solve it.
Try using the new ONNX export method.
Hi! I am also having this problem, only except that I have segmentation fault 9 times out of 10, Is there any way to fix this? I'm using custom yolov8 model, followed the steps in the project(running on DeepStream 6.2)
Can you send the output from the terminal?