lewes6369 / TensorRT-Yolov3

TensorRT for Yolov3
MIT License
489 stars 165 forks source link

Segmentation Fault #81

Open MaximumProgrammer opened 4 years ago

MaximumProgrammer commented 4 years ago

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

DanyangYue commented 4 years ago

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

MaximumProgrammer commented 4 years ago

No not at the moment.

lewes6369 commented 4 years ago

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

GordonDongZHAO commented 4 years ago

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