error while running ./train.sh caffe

121 views
Skip to first unread message

Ashish

unread,
Nov 18, 2019, 2:26:04 PM11/18/19
to Caffe Users
I am a beginner in DL.
I was trying to train my own data with 21 classes with mobilenet-SSD on caffe. Everytime when i am trying to run the train.sh file i get the error as follows.
I1119 04:19:44.179594 31712 net.cpp:434] detection_eval <- label
I1119 04:19:44.179611 31712 net.cpp:408] detection_eval -> detection_eval
F1119 04:19:44.179648 31712 detection_evaluate_layer.cpp:58] Check failed: bottom[1]->width() == 8 (1 vs. 8)
*** Check failure stack trace: ***
    @     0x7f8ee14205cd  google::LogMessage::Fail()
    @     0x7f8ee1422433  google::LogMessage::SendToLog()
    @     0x7f8ee142015b  google::LogMessage::Flush()
    @     0x7f8ee1422e1e  google::LogMessageFatal::~LogMessageFatal()
    @     0x7f8ee1bc71e8  caffe::DetectionEvaluateLayer<>::Reshape()
    @     0x7f8ee1b13099  caffe::Net<>::Init()
    @     0x7f8ee1b148a1  caffe::Net<>::Net()
    @     0x7f8ee1d20112  caffe::Solver<>::InitTestNets()
    @     0x7f8ee1d20aa5  caffe::Solver<>::Init()
    @     0x7f8ee1d20dda  caffe::Solver<>::Solver()
    @     0x7f8ee1aeb609  caffe::Creator_RMSPropSolver<>()
    @           0x40ae69  train()
    @           0x407680  main
    @     0x7f8ee0241830  __libc_start_main
    @           0x407ea9  _start
    @              (nil)  (unknown)
Aborted (core dumped)

mohammed ghazal

unread,
Mar 27, 2020, 3:12:58 PM3/27/20
to Caffe Users

kindly, i have a problem and need some help, when i run train.sh 
   the error is ../../build/tools/caffe: not found


Walter Literowich

unread,
Apr 9, 2020, 11:36:35 PM4/9/20
to Caffe Users

Take at look at setting the PYTHONPATH so that pyhon can use in in import
Reply all
Reply to author
Forward
0 new messages