Small example AI application.
It uses keras
library for deep learning, Flask for running the app and React for the frontend.
git clone
pip install -r requirements.txt
Model is already trained and stored in model_new.json
file and model weights are stored in cats_dogs_model.h5
file.
You can use these, or run train.py
again to see model training in process. Before doing this, you will need to create your own dataset in data/train and data/validation folders and load the images.
python app.py
cd /frontend
npm install
npm start