Skip to content

Image classification using FC and CNN networks on CIFAR-10.

Notifications You must be signed in to change notification settings

alexvlis/image-classification

Repository files navigation

Image Classification

Implementation and investigation of Fully Connected and Convolutional neural networks on the CIFAR-10 dataset.

Setup

Install virtual environment:

sudo pip install virtualenv      # This may already be installed
virtualenv .env                  # Create a virtual environment
source .env/bin/activate         # Activate the virtual environment
pip install -r requirements.txt  # Install dependencies

deactivate                       # Exit the virtual environment

Download data: Run the following to download the CIFAR-10 dataset:

cd deeplearning/datasets
./get_datasets.sh

Compile the Cython extension: Convolutional Neural Networks require a very efficient implementation. You will need to compile the Cython extension before you can run the code. From the deeplearning directory, run the following command:

python setup.py build_ext --inplace