can't open imagenet_mean_test.binaryproto

196 views
Skip to first unread message

PC

unread,
Jul 16, 2015, 10:12:17 AM7/16/15
to caffe...@googlegroups.com

Upon running ./train_caffenet.sh; creating the layer data, setting up the data, loading the training mean.binaryproto file and opening the training lmdb all works.

However when it comes to loading the test mean.binaryproto file for the test data I get the following error:

Loading mean file from: /home/pwhc/caffe/Learn/imagenet_mean_test.binaryproto F0716 13:12:13.917732 3385 db.hpp:109] Check failed: mdb_status == 0 (2 vs. 0) No such file or directory *** Check failure stack trace: *** @ 0x7f8337946daa (unknown) @ 0x7f8337946ce4 (unknown) @ 0x7f83379466e6 (unknown) @ 0x7f8337949687 (unknown) @ 0x7f8337cbf5be caffe::db::LMDB::Open() @ 0x7f8337d16b82 caffe::DataLayer<>::DataLayerSetUp() @ 0x7f8337d806f9 caffe::BasePrefetchingDataLayer<>::LayerSetUp() @ 0x7f8337ca3db3 caffe::Net<>::Init() @ 0x7f8337ca5b22 caffe::Net<>::Net() @ 0x7f8337cb0a24 caffe::Solver<>::InitTestNets() @ 0x7f8337cb111b caffe::Solver<>::Init() @ 0x7f8337cb12e6 caffe::Solver<>::Solver() @ 0x40c4c0 caffe::GetSolver<>() @ 0x406503 train() @ 0x404ab1 main @ 0x7f8336e58ec5 (unknown) @ 0x40505d (unknown) @ (nil) (unknown) Aborted (core dumped)


I modified the train_val.prototxt to point to the appropriate mean.binaryproto files (using absolute paths) and have checked and double checked to make sure everything matches.

Any thoughts would be greatly appreciated

PC

unread,
Jul 17, 2015, 8:40:29 AM7/17/15
to caffe...@googlegroups.com
bump

Md. Atiqur Rahman

unread,
Jul 26, 2015, 1:23:29 PM7/26/15
to Caffe Users, patrick....@gmail.com
I am also suffering from the same problem, though my lmdb paths are correct. Anybody please respond with a fix?

Thomas Herus

unread,
Jul 28, 2015, 10:09:12 AM7/28/15
to Caffe Users, patrick....@gmail.com
Maybe you've solved this already, but make sure you changed both paths (for the TRAIN and the TEST phase) to their correct absolute paths. 

If that doesn't help, try moving the file to a neutral folder (outside of /home) and make sure it has the the correct file permissions.

Md. Atiqur Rahman

unread,
Jul 28, 2015, 11:58:59 AM7/28/15
to Caffe Users, patrick....@gmail.com, thomas...@gmail.com
Dear Thomas,

It was my fault.....my lmdb paths were not correct. I was mistyping lmdb as lmbd in my path.

I highly appreciate your response and useful suggestions.

Regards
Atique
Reply all
Reply to author
Forward
0 new messages