Skip to content

Commit

Permalink
Merge pull request #698 from rakheshkrishna2005/dl-pytorch
Browse files Browse the repository at this point in the history
Contributed MRI analysis with ResNet50 + PyTorch
  • Loading branch information
UppuluriKalyani authored Oct 31, 2024
2 parents 574e2e6 + f837bf3 commit 99b5f80
Show file tree
Hide file tree
Showing 6 changed files with 943 additions and 0 deletions.
76 changes: 76 additions & 0 deletions Neural Networks/Alzheimer MRI Analysis/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
# 🧠 Alzheimer’s Disease Classifier - MRI Image Analysis

## 📝 Description

- Alzheimer’s Disease Classifier is a **computer vision application** that uses a **ResNet-50 model** to classify MRI images for Alzheimer's stages.
- Built with **Streamlit** for a user-friendly web interface, the app can classify multiple uploaded MRI images at once.
- Provides **insights** and **treatment recommendations** based on classification.

## 🎥 Demo Video
[Demo Video Link](https://github.com/user-attachments/assets/f86291be-cbab-40de-89b9-0426c4df6293)

## 🚀 Features

- 🖼️ **Multiple Image Upload** with uploaded images info
- 📊 Detailed **classification report** for each image
- 🔍 **Four-class classification** for Alzheimer's stages
- 💡 Comprehensive **treatment recommendations** for each stage

## 💻 Tech Stack

- **Programming Language:** Python 🐍
- **Web Framework:** Streamlit 🌐
- **Deep Learning Framework:** PyTorch 🔥
- **Leveraged Pre-trained Model:** ResNet-50 🦾

## ⚙️ Installation and Usage

Follow these steps to get the Alzheimer's Disease Classifier running on your machine:

1. **Clone the repository:**
```bash
git clone https://github.com/UppuluriKalyani/ML-Nexus.git
```

2. **Navigate to the Project Directory:**
```bash
cd ML-Nexus/Neural Networks/Alzheimer MRI Analysis
```

3. **Create a virtual environment** (optional but recommended):
```bash
python -m venv venv
```

4. **Activate the Virtual Environment:**

- On **Windows**:
```bash
venv\Scripts\activate
```
- On **macOS/Linux**:
```bash
source venv/bin/activate
```

5. **Install the required dependencies:**
```bash
pip install -r requirements.txt
```

6. **Run the Streamlit app:**
```bash
streamlit run app.py
```

7. **Access the app** by opening your web browser and navigating to `http://localhost:8501`.

## 🌐 Web Interface

![app](https://github.com/user-attachments/assets/32790fe6-e519-4707-ab0c-8b1851f74abe)

## 📚 Additional Resources

- 📘 **[PyTorch Documentation](https://pytorch.org/docs/)**
- 📘 **[Streamlit Documentation](https://docs.streamlit.io/)**
- 📘 **[ResNet-50 Documentation](https://pytorch.org/hub/pytorch_vision_resnet/)**
Loading

0 comments on commit 99b5f80

Please sign in to comment.