DeepStream-Yolo icon indicating copy to clipboard operation
DeepStream-Yolo copied to clipboard

segmentation fault (core dumped)

Open ghty11468 opened this issue 1 year ago • 6 comments

587ff9fbef59b4bb4c98760bceab29b

The engine file has been generated, but this error always occurs during inference. What should I do?

ghty11468 avatar Aug 23 '23 07:08 ghty11468

Please follow: https://github.com/marcoslucianops/DeepStream-Yolo/blob/master/docs/YOLOv5.md

The engine output is wrong, so you are using the wrong ONNX model.

marcoslucianops avatar Aug 24 '23 04:08 marcoslucianops

请关注: https://github.com/marcoslucianops/DeepStream-Yolo/blob/master/docs/YOLOv5.md

引擎输出错误,因此您使用了错误的 ONNX 模型。

My onnx file was generated using the Ultratics/Yolov5 project, but is it not allowed?

ghty11468 avatar Aug 24 '23 04:08 ghty11468

You need to use the export_yoloV5.py file from the utils folder in this repo to export the ONNX model from the YOLOv5 PyTorch model (as said in the link I sent you, please follow it).

marcoslucianops avatar Aug 24 '23 04:08 marcoslucianops

You need to use the export_yoloV5.py file from the utils folder in this repo to export the ONNX model from the YOLOv5 PyTorch model (as said in the link I sent you, please follow it).

This does not generate an engine file, only onnx file.

emad555 avatar Aug 29 '23 07:08 emad555

The engine file is generated in the first time you run the deepstream-app command.

marcoslucianops avatar Aug 29 '23 13:08 marcoslucianops

Thank you, it is working now!

emad555 avatar Aug 31 '23 04:08 emad555