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..."
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."
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
------------------