Skip to content

About

End-to-end Deep Learning + MLOps project for chicken disease classification using VGG16 transfer learning with DVC pipelines and a web app for real-time prediction. πŸš€

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

πŸ” Coccidiosis Disease Classification (Deep Learning + MLOps)

An end-to-end Deep Learning and MLOps project for chicken disease classification using CNN-based transfer learning (VGG16) and reproducible ML pipelines with DVC.

This project focuses on real-world ML engineering practices, including pipeline modularization, artifact management, and training–inference consistency.


πŸš€ Project Overview

Coccidiosis is a common poultry disease that can be identified through fecal image analysis.
This project builds an automated image classification system that:

  • Trains a CNN using transfer learning
  • Tracks data, models, and metrics using DVC
  • Ensures reproducible experimentation
  • Provides a simple web interface for image-based inference

🧠 Key Features

  • βœ… Transfer Learning using VGG16 (ImageNet weights)
  • βœ… ~96% validation accuracy
  • βœ… DVC pipelines for reproducible ML workflows
  • βœ… Modular pipeline design (ingestion β†’ training β†’ evaluation β†’ prediction)
  • βœ… Consistent preprocessing between training and inference
  • βœ… Lightweight web UI for predictions

πŸ— Project Workflow

Data Ingestion
      ↓
Prepare Base Model (VGG16)
      ↓
Model Training
      ↓
Model Evaluation
      ↓
Prediction via Web App

πŸ“‚ Project Structure

β”œβ”€β”€ artifacts/                # Tracked outputs (data, models, metrics)
β”œβ”€β”€ config/                   # Configuration files
β”œβ”€β”€ params.yaml               # Hyperparameters tracked by DVC
β”œβ”€β”€ src/cnnClassifier/        # Source code
β”‚   β”œβ”€β”€ components/           # Core ML components
β”‚   β”œβ”€β”€ pipeline/             # DVC pipeline stages
β”‚   └── utils/                # Helper utilities
β”œβ”€β”€ app.py                    # Web application entry point
β”œβ”€β”€ dvc.yaml                  # DVC pipeline definition
└── README.md

βš™οΈ Tech Stack

  • Python
  • TensorFlow / Keras
  • CNNs (VGG16 Transfer Learning)
  • DVC (Pipelines & Versioning)
  • HTML / CSS / JavaScript

πŸ“Š Results

Metric Value
Validation Accuracy ~96%
Validation Loss ~0.12
Classes Healthy / Coccidiosis Infected

πŸ” Prediction Examples

Healthy Chicken

Healthy Prediction

Coccidiosis Infected Chicken

Infected Prediction


πŸ” Reproducible Training with DVC

dvc repro
dvc dag

▢️ How to Run the Project

Clone the repository

git clone https://github.com/ayush190511/Coccidiosis-chicken-disease-classification
cd Coccidiosis-chicken-disease-classification

Create environment

conda create -n chicken python=3.9 -y
conda activate chicken

Install dependencies

pip install -r requirements.txt

Run app

python app.py

Open browser at:

http://localhost:8080

πŸ”— GitHub Repository

https://github.com/ayush190511/Coccidiosis-chicken-disease-classification

About

End-to-end Deep Learning + MLOps project for chicken disease classification using VGG16 transfer learning with DVC pipelines and a web app for real-time prediction. πŸš€

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages