summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorYangqing Jia <jiayq84@gmail.com>2013-12-02 23:19:37 (GMT)
committerYangqing Jia <jiayq84@gmail.com>2013-12-02 23:19:37 (GMT)
commit524e0956ef58d0f1fac0bf302de341c9eff882e0 (patch)
tree450174402814822fde41bf31a0e28f6c6a9d18b2 /data
parent67e2c9d94fb53168114b42f9ab9b1a01cc86dafc (diff)
downloadcaffeonacl-524e0956ef58d0f1fac0bf302de341c9eff882e0.zip
caffeonacl-524e0956ef58d0f1fac0bf302de341c9eff882e0.tar.gz
caffeonacl-524e0956ef58d0f1fac0bf302de341c9eff882e0.tar.bz2
get_mnist.sh: changed the script to generate leveldb as well.
Diffstat (limited to 'data')
-rwxr-xr-xdata/get_mnist.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/data/get_mnist.sh b/data/get_mnist.sh
index ec979bd..2a9ad08 100755
--- a/data/get_mnist.sh
+++ b/data/get_mnist.sh
@@ -15,4 +15,9 @@ gunzip train-labels-idx1-ubyte.gz
gunzip t10k-images-idx3-ubyte.gz
gunzip t10k-labels-idx1-ubyte.gz
+echo "Creating leveldb..."
+
+../examples/convert_mnist_data.bin train-images-idx3-ubyte train-labels-idx1-ubyte mnist-train-leveldb
+../examples/convert_mnist_data.bin t10k-images-idx3-ubyte t10k-labels-idx1-ubyte mnist-test-leveldb
+
echo "Done."