diff --git a/.gitignore b/.gitignore
index 81e45a4bd9e36ad2281a66273adb8d57af132205..ce998604931d24076ca6ee42e2fcae6eb1209be3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,7 +1,3 @@
 
 # Exclude all generated log files.
 resources/logs/*
-
-# Exclude MNIST data folder.
-MNIST_data/*
-CIFAR-10_data/*
diff --git a/CIFAR-10_data/data_batch_1 b/CIFAR-10_data/data_batch_1
new file mode 100644
index 0000000000000000000000000000000000000000..ab404a5ac32492b807a5c6cd02b83dc4dd5ff980
Binary files /dev/null and b/CIFAR-10_data/data_batch_1 differ
diff --git a/CIFAR-10_data/data_batch_2 b/CIFAR-10_data/data_batch_2
new file mode 100644
index 0000000000000000000000000000000000000000..6bf1369a6cacadfdbd2f8c61e354cc7d0c17bbae
Binary files /dev/null and b/CIFAR-10_data/data_batch_2 differ
diff --git a/CIFAR-10_data/data_batch_3 b/CIFAR-10_data/data_batch_3
new file mode 100644
index 0000000000000000000000000000000000000000..66a0d630a7eb736563b1861ce716bdc489f2113b
Binary files /dev/null and b/CIFAR-10_data/data_batch_3 differ
diff --git a/CIFAR-10_data/data_batch_4 b/CIFAR-10_data/data_batch_4
new file mode 100644
index 0000000000000000000000000000000000000000..cf8d03d1e80e6d9e440d1764faa85aedd1d6b960
Binary files /dev/null and b/CIFAR-10_data/data_batch_4 differ
diff --git a/CIFAR-10_data/data_batch_5 b/CIFAR-10_data/data_batch_5
new file mode 100644
index 0000000000000000000000000000000000000000..468b2aa538c551bc9f590f213b19d96915b85062
Binary files /dev/null and b/CIFAR-10_data/data_batch_5 differ
diff --git a/CIFAR-10_data/readme.html b/CIFAR-10_data/readme.html
new file mode 100644
index 0000000000000000000000000000000000000000..e377adef45c85dc91051edf2dee72c1d4d57732c
--- /dev/null
+++ b/CIFAR-10_data/readme.html
@@ -0,0 +1 @@
+<meta HTTP-EQUIV="REFRESH" content="0; url=http://www.cs.toronto.edu/~kriz/cifar.html">
diff --git a/CIFAR-10_data/test_batch b/CIFAR-10_data/test_batch
new file mode 100644
index 0000000000000000000000000000000000000000..3e03f1fc5261d102600fc1c130454f1f5cda567b
Binary files /dev/null and b/CIFAR-10_data/test_batch differ
diff --git a/MNIST_data/t10k-images-idx3-ubyte.gz b/MNIST_data/t10k-images-idx3-ubyte.gz
new file mode 100644
index 0000000000000000000000000000000000000000..5ace8ea93f8d2a3741f4d267954e2ad37e1b3a39
Binary files /dev/null and b/MNIST_data/t10k-images-idx3-ubyte.gz differ
diff --git a/MNIST_data/t10k-labels-idx1-ubyte.gz b/MNIST_data/t10k-labels-idx1-ubyte.gz
new file mode 100644
index 0000000000000000000000000000000000000000..a7e141541c1d08d3f2ed01eae03e644f9e2fd0c5
Binary files /dev/null and b/MNIST_data/t10k-labels-idx1-ubyte.gz differ
diff --git a/MNIST_data/train-images-idx3-ubyte.gz b/MNIST_data/train-images-idx3-ubyte.gz
new file mode 100644
index 0000000000000000000000000000000000000000..b50e4b6bccdebde3d57f575c7fbeb24bec277f10
Binary files /dev/null and b/MNIST_data/train-images-idx3-ubyte.gz differ
diff --git a/MNIST_data/train-labels-idx1-ubyte.gz b/MNIST_data/train-labels-idx1-ubyte.gz
new file mode 100644
index 0000000000000000000000000000000000000000..707a576bb523304d5b674de436c0779d77b7d480
Binary files /dev/null and b/MNIST_data/train-labels-idx1-ubyte.gz differ