Web app - Classification of dogs and cats - FLASK, PYTHON, CNN
pre-requisites
instructions to use this application
git clone
https://github.com/vamshigunji183/DL_webapppip install -r requirements.txt
Go to the directory ../DL_webapp
Edit the predict_app.py
file as show below.
- Download the train model here to the current directory.
- Replace the
<--TRAINED MODEL--.h5>
with the downloaded model name. [In this case - VGG16_cats_and_dogs.h5]
In the command terminal cd
to the current directory
- windows-
>>set FLASK_APP=predict_app.py
UNIX-$ export FLASK_APP=predict_app.py
flask run --host=0.0.0.0
Open the web browser
- Enter the url -
http://localhost:5000/static/predict.html
or click here
Use the sample images or ANY dogs or cats images png
format
Example: