TensorRT-Yolov3 icon indicating copy to clipboard operation
TensorRT-Yolov3 copied to clipboard

Segmentation Fault

Open MaximumProgrammer opened this issue 5 years ago • 4 comments

I am getting some kind of segmentation fault and i don't know why

Here is my test of the program

 ./runYolov3 --caffemodel=./yolov3_608.caffemodel --prototxt=./yolov3_608.prototxt --input=dog.jpg --W=608 --H=608 --class=80 ####### input args####### C=3; H=608; W=608; batchsize=1; caffemodel=./yolov3_608.caffemodel; calib=; class=80; enginefile=; evallist=; input=dog.jpg; mode=fp32; nms=0.450000; outputs=yolo-det; prototxt=./yolov3_608.prototxt; ####### end args####### init plugin proto: ./yolov3_608.prototxt caffemodel: ./yolov3_608.caffemodel Begin parsing model... End parsing model... can not find output named yolo-det Begin building engine... Segmentation fault (core dumped)

Kind regards

MaximumProgrammer avatar Dec 04 '19 14:12 MaximumProgrammer

I got the same fault. Do you have solved the problem?

DanyangYue avatar Dec 13 '19 07:12 DanyangYue

No not at the moment.

MaximumProgrammer avatar Dec 13 '19 07:12 MaximumProgrammer

There is a hint " can not find output named yolo-det " in the log.

Please apply --prototxt with "the yolov3_608_trt.prototxt" instead of "yolov3_608.prototxt".

more information in https://github.com/lewes6369/TensorRT-Yolov3#models

lewes6369 avatar Jan 22 '20 08:01 lewes6369

try: set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -Wall -O0 -Wfatal-errors")

GordonDongZHAO avatar Feb 24 '20 06:02 GordonDongZHAO