Skip to content

chanjhana/ML-binary-classifier-using-flask-and-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ML binary classification model using Flask and docker

This project demonstrates a simple web application that predicts whether an uploaded image contains a cat or not. It uses a pretrained machine learning model (h5 format). It is deployed using Flask and containerized using docker.

Docker Deployment

Build the Docker image: docker image build -t catdog .

Run the Docker container: docker run -p 5000:5000 -d catdog

Access the app at http://127.0.0.1:5000/upload

Usage

Upload an image using the web form.

The app will predict whether the image contains a cat or not.

Demo video

demo.mp4

Acknowledgement and Links

h5 model link: https://huggingface.co/spaces/Sa-m/Dogs-vs-Cats/blob/main/best_model.h5

dockerhub link: https://hub.docker.com/repository/docker/chanjhana/cat_dog_classifier/general

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published