First, create a folder named 'data'. Download the raw dataset from http://www.cs.toronto.edu/~kriz/cifar.html and unzip it into the 'raw' folder under the 'data' folder.
Then install necessary packages by:
pip install -r requirements.txt
At last, put the python files with the 'data' folder under the same parent folder and run the python file by:
python convert_test.py/convert_train.py