An elegant, full-stack web app to predict if an image is a cat or a dog. Powered by Django, PyTorch, and Bootstrap. No login required.
- 📷 Upload any image and get an instant prediction (Cat or Dog)
- 📊 Dashboard with prediction history
- 🌐 Beautiful, responsive UI
- Clone the repo:
git clone https://github.com/yourusername/Cat-VS-Dog-Classifier.git cd Cat-VS-Dog-Classifier
- Install dependencies:
pip install -r requirements.txt
- Run migrations:
python manage.py makemigrations python manage.py migrate
- Start the server:
python manage.py runserver
- Open your browser:
- Go to http://127.0.0.1:8000/ and try the Cat vs Dog Classifier!
backend/
— Django backend and settingsclassifier/
— Main app for prediction logicshowcase/
— Project showcase pagesmedia/
— Uploaded images (not tracked by git)
- Dataset: Kaggle - Dog and Cat Classification Dataset
- Built with: Django, PyTorch, Bootstrap
Ready to classify? Upload your image and see the magic!