./
├── data
│ ├── test
│ │ ├── 0
│ │ ├── 1
│ │ ├── 2
│ │ └── 3
│ └── train
│ ├── 0
│ ├── 1
│ ├── 2
│ └── 3
├── environment.yml
├── model
│ ├── model.h5
│ ├── model.json
│ ├── model.png
│ └── model.txt
├── result.html
└── src
├── export.py
├── model
│ ├── cnn.py
│ ├── __init__.py
│ └── __pycache__
├── test.py
└── train.py
- Install miniconda or anaconda
- Open the project folder in terminal
- Load the environment.yml file using the command below
conda env create -f environment.yml
- Activate the environment in conda
- Run the src/train.py to train the model
python src/train.py
- Export the neural network model to text,image and json using the src/export.py file
python src/export.py
- Test the neural network using external images with src/test.py
python src/test.py