Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Segmentation Fault #81

Open
MaximumProgrammer opened this issue Dec 4, 2019 · 4 comments
Open

Segmentation Fault #81

MaximumProgrammer opened this issue Dec 4, 2019 · 4 comments

Comments

@MaximumProgrammer
Copy link

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
Copy link

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

@MaximumProgrammer
Copy link
Author

No not at the moment.

@lewes6369
Copy link
Owner

lewes6369 commented Jan 22, 2020

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
Copy link

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

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants