From cd645fbd319676644ede096a3f8a668fd3064b21 Mon Sep 17 00:00:00 2001 From: Kai Li Date: Wed, 26 Mar 2014 10:38:57 +0800 Subject: [PATCH] Add in doc how to remove leveldb dir if existed --- docs/feature_extraction.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/feature_extraction.md b/docs/feature_extraction.md index ce90b79..13639fb 100644 --- a/docs/feature_extraction.md +++ b/docs/feature_extraction.md @@ -57,6 +57,10 @@ The last parameter above is the number of data mini-batches. The features are stored to LevelDB `examples/_temp/features`, ready for access by some other code. +If you meet with the error "Check failed: status.ok() Failed to open leveldb examples/_temp/features", it is because the directory examples/_temp/features has been created the last time you run the command. Remove it and run again. + + rm -rf examples/_temp/features/ + If you'd like to use the Python wrapper for extracting features, check out the [layer visualization notebook](http://nbviewer.ipython.org/github/BVLC/caffe/blob/master/examples/filter_visualization.ipynb). Clean Up -- 2.7.4