Update README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,53 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
license: cc-by-2.0
|
| 3 |
---
|
|
|
|
| 1 |
+
---
|
| 2 |
+
library_name: pytorch
|
| 3 |
+
tags:
|
| 4 |
+
- medical-imaging
|
| 5 |
+
- pathology
|
| 6 |
+
- microscopy
|
| 7 |
+
- leukemia
|
| 8 |
+
- blast-cells
|
| 9 |
+
- deep-learning
|
| 10 |
+
- computer-vision
|
| 11 |
+
---
|
| 12 |
+
|
| 13 |
+
# 🧬 Blast Cell Detection and Counting Model
|
| 14 |
+
|
| 15 |
+
## 📌 Overview
|
| 16 |
+
|
| 17 |
+
This repository contains a PyTorch-trained model for **blast cell detection and counting in microscopic blood smear images**.
|
| 18 |
+
|
| 19 |
+
---
|
| 20 |
+
|
| 21 |
+
## 🧪 Dataset
|
| 22 |
+
|
| 23 |
+
The model was trained using the publicly available:
|
| 24 |
+
|
| 25 |
+
**ALL-IDB (Acute Lymphoblastic Leukemia Image Database)**
|
| 26 |
+
🔗 https://scotti.di.unimi.it/all/
|
| 27 |
+
|
| 28 |
+
---
|
| 29 |
+
|
| 30 |
+
## 📦 Model File
|
| 31 |
+
|
| 32 |
+
- `resnet_unet_attention.pth` → PyTorch model weights
|
| 33 |
+
|
| 34 |
+
---
|
| 35 |
+
|
| 36 |
+
## 🚀 Usage
|
| 37 |
+
|
| 38 |
+
To use this model, you must define the same architecture used during training, then load the weights as follows:
|
| 39 |
+
|
| 40 |
+
```python
|
| 41 |
+
import torch
|
| 42 |
+
|
| 43 |
+
model = ... # define your model architecture here
|
| 44 |
+
model.load_state_dict(torch.load("trained-model.pth", map_location="cpu"))
|
| 45 |
+
model.eval()
|
| 46 |
+
|
| 47 |
+
|
| 48 |
+
|
| 49 |
+
|
| 50 |
+
|
| 51 |
---
|
| 52 |
license: cc-by-2.0
|
| 53 |
---
|