Resolving Path Error - Check failed: mdb_status == 0 (22 vs. 0) Invalid argument

12 views
Skip to first unread message

Ben Nguyen

unread,
May 29, 2017, 7:55:29 PM5/29/17
to Caffe Users
From what I've read this is a path error but for the life of me can't figure out what is the problem..

My train.sh and all the _solver/_deploy/_train_test.prototxt files are in this folder: 
/home/guest/temp

but when I execute ./train.sh 
TOOLS=$CAFFE_ROOT/build/tools
$TOOLS/caffe train -solver cifar10_solver.prototxt
)

I get the dreaded check failed error : output/cifar10/dataset_mean.binaryproto
Note, the $CAFFE_ROOT points to /home/guest/caffe

The only paths in solver.prototxt file is for the net file and snapshot prefix folder:
cifar10_train_test.prototxt
output/cifar10/snapshots/cifar10

both of which I verified exist and are r/w by all:
/home/guest/temp/cifar10_train_test.prototxt
/home/guest/temp/output/cifar10/snapshots/cifar10
 

While the contents of the cifar10_train_test.prototxt file refers to:
output/cifar10/dataset_mean.binaryproto
output/cifar10/dataset_mean.binaryproto
output/cifar10/db/training_lmdb
output/cifar10/db/testing_lmdb

again both files and folders are present and r/w by all.   What could be wrong in the paths?   I can't imagine the train.sh and prototxt files have to be in under the $CAFFE_ROOT folder, does it?   
It's the only thing I can think of since all my user files are in their own folder but caffe maybe looking for everything relative to $CAFFE_ROOT?

Reply all
Reply to author
Forward
0 new messages