caffe icon indicating copy to clipboard operation
caffe copied to clipboard

Segmentation fault when I run my compiled ssd_detect.cpp

Open zhangquan1994 opened this issue 7 years ago • 0 comments

hi, I downloaded and installed intel-caffe,and I called the python interface to do the test and it worked fine.But when I try to run my own ssd_detect.cpp, this error occurs: ... ... keep_top_k: 200 confidence_threshold: 0.01 } } I0914 15:55:48.208509 415414 layer_factory.hpp:114] Creating layer input I0914 15:55:48.208542 415414 net.cpp:261] Creating Layer input I0914 15:55:48.208564 415414 net.cpp:1472] input -> data I0914 15:55:48.208611 415414 net.cpp:330] Setting up input Segmentation fault

I am sure include header and libcaffe in the makefile. I did not report an error when compiling ssd_detect.cpp .At first I suspect that my environment variable was not imported.I tried to add all the libs I might need, but still the same result.
The weird thing is I compiled BVLC/caffe ssd_detect.cpp in the same way but it works fine.
Is this a problem with intel-caffe?Does anyone have a similar problem can give me some inspiration?
I need to compile my ssd_detect.cpp with intel-ssd.
Can you compile ssd_detect.cpp with intel-caffe to run normally? Can you provide your Makefile?

Maybe I ignored anything, any help would be greatly appreciated.

zhangquan1994 avatar Sep 14 '18 08:09 zhangquan1994