Update README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,62 @@
|
|
| 1 |
-
---
|
| 2 |
-
license: cc-by-nc-4.0
|
| 3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: cc-by-nc-4.0
|
| 3 |
+
datasets:
|
| 4 |
+
- TLAIM/TAIX-Ray
|
| 5 |
+
language:
|
| 6 |
+
- en
|
| 7 |
+
tags:
|
| 8 |
+
- medical
|
| 9 |
+
- x-ray
|
| 10 |
+
- radiograph
|
| 11 |
+
- thorax
|
| 12 |
+
---
|
| 13 |
+
|
| 14 |
+
# TAIX-Ray Models
|
| 15 |
+
|
| 16 |
+
This repository provides two trained deep learning models for classifying X-ray images from the TAIX-Ray dataset:
|
| 17 |
+
|
| 18 |
+
1. Binary Classification Model - Classifies X-ray images into two categories (normal vs. abnormal).
|
| 19 |
+
|
| 20 |
+
2. Ordinal Classification Model - Predicts severity levels based on ordinal categories.
|
| 21 |
+
|
| 22 |
+
Please see our paper for a detailed description: [TAIX-Ray Paper](https://arxiv.org/abs/your-paper-link)
|
| 23 |
+
|
| 24 |
+
|
| 25 |
+
<br>
|
| 26 |
+
|
| 27 |
+
## How to Use
|
| 28 |
+
|
| 29 |
+
### Prerequisites
|
| 30 |
+
Ensure you have the following dependencies installed:
|
| 31 |
+
|
| 32 |
+
```bash
|
| 33 |
+
pip install huggingface_hub
|
| 34 |
+
```
|
| 35 |
+
|
| 36 |
+
|
| 37 |
+
### Download
|
| 38 |
+
|
| 39 |
+
```python
|
| 40 |
+
from huggingface_hub import hf_hub_download
|
| 41 |
+
|
| 42 |
+
|
| 43 |
+
# Download the checkpoint file from Hugging Face Hub
|
| 44 |
+
file_path = hf_hub_download(
|
| 45 |
+
repo_id="TLAIM/TAIX-Ray",
|
| 46 |
+
filename="binary.ckpt", # binary.ckpt or ordinal.ckpt
|
| 47 |
+
)
|
| 48 |
+
|
| 49 |
+
# Check if the file has been correctly downloaded
|
| 50 |
+
print(f"Checkpoint downloaded to: {file_path}")
|
| 51 |
+
```
|
| 52 |
+
|
| 53 |
+
|
| 54 |
+
<br>
|
| 55 |
+
|
| 56 |
+
## Cite
|
| 57 |
+
|
| 58 |
+
|
| 59 |
+
```
|
| 60 |
+
@article{
|
| 61 |
+
}
|
| 62 |
+
```
|