From: Yangqing Jia Date: Mon, 30 Sep 2013 16:26:08 +0000 (-0700) Subject: layer more debug msg X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=096598ed36c2852203db0f0c35526344ed83ffe1;p=platform%2Fupstream%2Fcaffe.git layer more debug msg --- diff --git a/src/caffe/layers/data_layer.cpp b/src/caffe/layers/data_layer.cpp index 442a359..e527bd3 100644 --- a/src/caffe/layers/data_layer.cpp +++ b/src/caffe/layers/data_layer.cpp @@ -25,7 +25,8 @@ void DataLayer::SetUp(const vector*>& bottom, LOG(INFO) << "Opening leveldb " << this->layer_param_.source(); leveldb::Status status = leveldb::DB::Open( options, this->layer_param_.source(), &db_temp); - CHECK(status.ok()); + CHECK(status.ok()) << "Failed to open leveldb " + << this->layer_param_.source(); db_.reset(db_temp); iter_.reset(db_->NewIterator(leveldb::ReadOptions())); iter_->SeekToFirst();