Skip to content

Commit 524e095

Browse files
committed
get_mnist.sh: changed the script to generate leveldb as well.
1 parent 67e2c9d commit 524e095

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

data/get_mnist.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,9 @@ gunzip train-labels-idx1-ubyte.gz
1515
gunzip t10k-images-idx3-ubyte.gz
1616
gunzip t10k-labels-idx1-ubyte.gz
1717

18+
echo "Creating leveldb..."
19+
20+
../examples/convert_mnist_data.bin train-images-idx3-ubyte train-labels-idx1-ubyte mnist-train-leveldb
21+
../examples/convert_mnist_data.bin t10k-images-idx3-ubyte t10k-labels-idx1-ubyte mnist-test-leveldb
22+
1823
echo "Done."

0 commit comments

Comments
 (0)