Installation
- Install Anaconda or Miniconda
- Run the following commands
conda env create -n cnn_tutorial -f environment.yml
source activate cnn_tutorial
Create data and model folders
mkdir data
mkdir models
To train a basic CNN with default settings
python main.py
To train a VGG like net
python main.py --nettype 1
To train a Residual Network
python main.py --nettype 2
- Basic CNN:
- Train:
- Test:
- VGG like net
- Train:
- Test:
- ResNet
- Train:
- Test: