weiliu89 / caffe

Caffe: a fast open framework for deep learning.
http://caffe.berkeleyvision.org/
Other
4.77k stars 1.68k forks source link

error in examples/ssd/score_ssd_pascal.py #509

Open sunmelon opened 7 years ago

sunmelon commented 7 years ago

I make caffe correctly ,and downed the dataset and pre-trained models ,followed step and step, but when I typed python examples/ssd/score_ssd_pascal.py , the error happened I am new to DNN ,thank for your help Opened lmdb examples/VOC0712/VOC0712_trainval_lmdb Aborted at 1490331922 (unix time) try "date -d @1490331922" if you are using GNU date PC: @ 0x7fd52fa4ca1a cv::InputArray::getMat() SIGSEGV (@0x80030001) received by PID 16588 (TID 0x7fd541fd0a40) from PID 18446744071562264577; stack trace: @ 0x7fd53f06ecb0 (unknown) @ 0x7fd52fa4ca1a cv::InputArray::getMat() @ 0x7fd540313f69 cv::imdecode() @ 0x7fd5413fa6db caffe::DecodeDatumToCVMatNative() @ 0x7fd5413a9c65 caffe::DataTransformer<>::InferBlobShape() @ 0x7fd54154cf0e caffe::AnnotatedDataLayer<>::DataLayerSetUp() @ 0x7fd541521cae caffe::BasePrefetchingDataLayer<>::LayerSetUp() @ 0x7fd541599720 caffe::Net<>::Init() @ 0x7fd54159c035 caffe::Net<>::Net() @ 0x7fd5413a20ef caffe::Solver<>::InitTrainNet() @ 0x7fd5413a260b caffe::Solver<>::Init() @ 0x7fd5413a2a88 caffe::Solver<>::Solver() @ 0x7fd5415ad793 caffe::Creator_SGDSolver<>() @ 0x414271 caffe::SolverRegistry<>::CreateSolver() @ 0x40d936 train() @ 0x409e44 main @ 0x7fd53f059f45 (unknown) @ 0x409f15 (unknown) @ 0x0 (unknown) Segmentation fault (core dumped)

qidaociweideyouya commented 7 years ago

hi, the inappropriate Opencv version caused this error. Caffe read data using opencv.

chenzyhust commented 6 years ago

@qidaociweideyouya how to solve this problem,