Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sidd-77/kidney-disease-classification

End-to-end deep learning project...
https://github.com/sidd-77/kidney-disease-classification

docker dvc keras mlflow notebook streamlit tensforflow

Last synced: 7 days ago
JSON representation

End-to-end deep learning project...

Awesome Lists containing this project

README

        

# Kidney CT Scan Image Classification using VGG16

This project is an end-to-end deep learning application that uses the VGG16 model for transfer learning to classify kidney CT scan images. The dataset used is sourced from Kaggle. The project also incorporates MLflow and DagsHub for experiment tracking, and DVC for data versioning and pipeline management.

## Experiment-Tracking
- Dagshub URL : https://dagshub.com/Sidd-77/kidney-disease-classification
- Mlflow URL: https://dagshub.com/Sidd-77/kidney-disease-classification.mlflow

## Tech Stack

- **Deep Learning**: TensorFlow, Keras

- **Transfer Learning**: VGG16 model

- **Experiment Tracking**: MLflow, DagsHub

- **Data Versioning**: DVC, GIT

- **Containerization**: Docker

- **Dataset**: [Kaggle CT Kidney Dataset](https://www.kaggle.com/datasets/nazmul0087/ct-kidney-dataset-normal-cyst-tumor-and-stone/data)

## Data Pipeline
![Pipeline Structure](images/Pipeline.png)

## Model Evalutaion
![Model Evalutaion from mlflow](images/Results.png)

## Setup and Installation

1. Clone the repository:

```shell

git clone https://github.com/Sidd-77/kidney-disease-classification.git

```

2. Navigate to the project directory:

```shell

cd kidney-disease-classification

```

3. Install the required dependencies:

```shell

pip install -r requirements.txt

```

4. Run DVC pipeline:

```shell

dvc repro

```


## Running the Application

1. To train the model, run:

```shell

python main.py

```

2. To start the Streamlit application, run:

```shell

streamlit run application.py

```

## Docker

A Dockerfile is provided if you wish to build a Docker image.

1. Build the Docker image:

```shell

docker build -t .

```

2. Run the Docker container:

```shell

docker run -p 8501:8501

```

The application will be accessible at `http://localhost:8501`.