[example] standardize imagenet leveldb names
authorEvan Shelhamer <shelhamer@imaginarynumber.net>
Tue, 29 Jul 2014 16:21:39 +0000 (09:21 -0700)
committerEvan Shelhamer <shelhamer@imaginarynumber.net>
Wed, 30 Jul 2014 06:30:14 +0000 (23:30 -0700)
examples/imagenet/create_imagenet.sh
examples/imagenet/readme.md

index 8767f12..24f961b 100755 (executable)
@@ -38,7 +38,7 @@ echo "Creating train leveldb..."
 GLOG_logtostderr=1 $TOOLS/convert_imageset.bin \
     $TRAIN_DATA_ROOT \
     $DATA/train.txt \
-    imagenet_train_leveldb 1 \
+    ilsvrc12_train_leveldb 1
     $RESIZE_HEIGHT $RESIZE_WIDTH
 
 echo "Creating val leveldb..."
@@ -46,7 +46,7 @@ echo "Creating val leveldb..."
 GLOG_logtostderr=1 $TOOLS/convert_imageset.bin \
     $VAL_DATA_ROOT \
     $DATA/val.txt \
-    imagenet_val_leveldb 1 \
+    ilsvrc12_val_leveldb 1
     $RESIZE_HEIGHT $RESIZE_WIDTH
 
 echo "Done."
index 0b5b845..2273c87 100644 (file)
@@ -41,7 +41,7 @@ You may want to resize the images to 256x256 in advance. By default, we do not e
 
 Go to `$CAFFE_ROOT/examples/imagenet/` for the rest of this guide.
 
-Take a look at `create_imagenet.sh`. Set the paths to the train and val dirs as needed, and set "RESIZE=true" to resize all images to 256x256 if you haven't resized the images in advance. Now simply create the leveldbs with `./create_imagenet.sh`. Note that `imagenet_train_leveldb` and `imagenet_val_leveldb` should not exist before this execution. It will be created by the script. `GLOG_logtostderr=1` simply dumps more information for you to inspect, and you can safely ignore it.
+Take a look at `create_imagenet.sh`. Set the paths to the train and val dirs as needed, and set "RESIZE=true" to resize all images to 256x256 if you haven't resized the images in advance. Now simply create the leveldbs with `./create_imagenet.sh`. Note that `ilsvrc12_train_leveldb` and `ilsvrc12_val_leveldb` should not exist before this execution. It will be created by the script. `GLOG_logtostderr=1` simply dumps more information for you to inspect, and you can safely ignore it.
 
 Compute Image Mean
 ------------------