Datasets:
Tasks:
Image Classification
Sub-tasks:
multi-class-image-classification
Languages:
English
Size:
10K<n<100K
License:
Commit ·
09781a6
0
Parent(s):
Duplicate from ctmedtech/EYEPACS
Browse filesCo-authored-by: Nguyễn Hùng Thanh <baodom9901@users.noreply.huggingface.co>
- .gitattributes +59 -0
- EYEPACS.zip +3 -0
- README.md +126 -0
- rm_images/Merged_Fundus_Images_with_Caption.jpg +3 -0
- rm_images/left_preprocess_sample.jpg +3 -0
- rm_images/right_preprocess_sample.jpg +3 -0
- trainLabels.csv +0 -0
.gitattributes
ADDED
|
@@ -0,0 +1,59 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
*.7z filter=lfs diff=lfs merge=lfs -text
|
| 2 |
+
*.arrow filter=lfs diff=lfs merge=lfs -text
|
| 3 |
+
*.bin filter=lfs diff=lfs merge=lfs -text
|
| 4 |
+
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
| 5 |
+
*.ckpt filter=lfs diff=lfs merge=lfs -text
|
| 6 |
+
*.ftz filter=lfs diff=lfs merge=lfs -text
|
| 7 |
+
*.gz filter=lfs diff=lfs merge=lfs -text
|
| 8 |
+
*.h5 filter=lfs diff=lfs merge=lfs -text
|
| 9 |
+
*.joblib filter=lfs diff=lfs merge=lfs -text
|
| 10 |
+
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
| 11 |
+
*.lz4 filter=lfs diff=lfs merge=lfs -text
|
| 12 |
+
*.mds filter=lfs diff=lfs merge=lfs -text
|
| 13 |
+
*.mlmodel filter=lfs diff=lfs merge=lfs -text
|
| 14 |
+
*.model filter=lfs diff=lfs merge=lfs -text
|
| 15 |
+
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
| 16 |
+
*.npy filter=lfs diff=lfs merge=lfs -text
|
| 17 |
+
*.npz filter=lfs diff=lfs merge=lfs -text
|
| 18 |
+
*.onnx filter=lfs diff=lfs merge=lfs -text
|
| 19 |
+
*.ot filter=lfs diff=lfs merge=lfs -text
|
| 20 |
+
*.parquet filter=lfs diff=lfs merge=lfs -text
|
| 21 |
+
*.pb filter=lfs diff=lfs merge=lfs -text
|
| 22 |
+
*.pickle filter=lfs diff=lfs merge=lfs -text
|
| 23 |
+
*.pkl filter=lfs diff=lfs merge=lfs -text
|
| 24 |
+
*.pt filter=lfs diff=lfs merge=lfs -text
|
| 25 |
+
*.pth filter=lfs diff=lfs merge=lfs -text
|
| 26 |
+
*.rar filter=lfs diff=lfs merge=lfs -text
|
| 27 |
+
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
| 28 |
+
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
| 29 |
+
*.tar.* filter=lfs diff=lfs merge=lfs -text
|
| 30 |
+
*.tar filter=lfs diff=lfs merge=lfs -text
|
| 31 |
+
*.tflite filter=lfs diff=lfs merge=lfs -text
|
| 32 |
+
*.tgz filter=lfs diff=lfs merge=lfs -text
|
| 33 |
+
*.wasm filter=lfs diff=lfs merge=lfs -text
|
| 34 |
+
*.xz filter=lfs diff=lfs merge=lfs -text
|
| 35 |
+
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
# Audio files - uncompressed
|
| 39 |
+
*.pcm filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
*.sam filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
*.raw filter=lfs diff=lfs merge=lfs -text
|
| 42 |
+
# Audio files - compressed
|
| 43 |
+
*.aac filter=lfs diff=lfs merge=lfs -text
|
| 44 |
+
*.flac filter=lfs diff=lfs merge=lfs -text
|
| 45 |
+
*.mp3 filter=lfs diff=lfs merge=lfs -text
|
| 46 |
+
*.ogg filter=lfs diff=lfs merge=lfs -text
|
| 47 |
+
*.wav filter=lfs diff=lfs merge=lfs -text
|
| 48 |
+
# Image files - uncompressed
|
| 49 |
+
*.bmp filter=lfs diff=lfs merge=lfs -text
|
| 50 |
+
*.gif filter=lfs diff=lfs merge=lfs -text
|
| 51 |
+
*.png filter=lfs diff=lfs merge=lfs -text
|
| 52 |
+
*.tiff filter=lfs diff=lfs merge=lfs -text
|
| 53 |
+
# Image files - compressed
|
| 54 |
+
*.jpg filter=lfs diff=lfs merge=lfs -text
|
| 55 |
+
*.jpeg filter=lfs diff=lfs merge=lfs -text
|
| 56 |
+
*.webp filter=lfs diff=lfs merge=lfs -text
|
| 57 |
+
# Video files - compressed
|
| 58 |
+
*.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 59 |
+
*.webm filter=lfs diff=lfs merge=lfs -text
|
EYEPACS.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ae39b9a2d0536d7301efec622fb9040fe4164678474e19b68068e7f922733f9a
|
| 3 |
+
size 6479454853
|
README.md
ADDED
|
@@ -0,0 +1,126 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
language:
|
| 3 |
+
- en
|
| 4 |
+
license: other # Usage restricted under Kaggle & EyePACS terms, not standard open license
|
| 5 |
+
tags:
|
| 6 |
+
- medical
|
| 7 |
+
- ophthalmology
|
| 8 |
+
- fundus-image
|
| 9 |
+
- image-classification
|
| 10 |
+
- diabetic-retinopathy
|
| 11 |
+
- dr-grading
|
| 12 |
+
- large-scale-dataset
|
| 13 |
+
task_categories:
|
| 14 |
+
- image-classification
|
| 15 |
+
task_ids:
|
| 16 |
+
- multi-class-image-classification # 5 severity grades (0-4)
|
| 17 |
+
pretty_name: EyePACS (Diabetic Retinopathy Fundus Image Dataset)
|
| 18 |
+
size_categories:
|
| 19 |
+
- 10K<n<100K # ~88,702 images total
|
| 20 |
+
annotations_creators:
|
| 21 |
+
- expert-generated
|
| 22 |
+
source_datasets:
|
| 23 |
+
- original
|
| 24 |
+
source_data_urls:
|
| 25 |
+
- https://www.kaggle.com/c/diabetic-retinopathy-detection/data
|
| 26 |
+
- https://www.eyepacs.com/data-analysis
|
| 27 |
+
---
|
| 28 |
+
|
| 29 |
+
# EyePACS — Diabetic Retinopathy Fundus Image Dataset
|
| 30 |
+
|
| 31 |
+
<table align="center">
|
| 32 |
+
<tr>
|
| 33 |
+
<td width="100%" align="center">
|
| 34 |
+
<img src="rm_images/Merged_Fundus_Images_with_Caption.jpg" alt="Merged Dataset Samples" style="max-width: 100%; height: auto;">
|
| 35 |
+
<br>
|
| 36 |
+
<p><strong>Image:</strong> EYEPACS Preprocess Samples.</p>
|
| 37 |
+
</td>
|
| 38 |
+
</tr>
|
| 39 |
+
</table>
|
| 40 |
+
|
| 41 |
+
---
|
| 42 |
+
|
| 43 |
+
## 📘 Overview
|
| 44 |
+
**EyePACS** (Eye Picture Archive Communication System) is a large-scale collection of **retinal fundus images** used for **automated diabetic retinopathy (DR) detection**.
|
| 45 |
+
It formed the basis of the **Kaggle Diabetic Retinopathy Detection** challenge, enabling research into DR classification and screening.
|
| 46 |
+
|
| 47 |
+
The dataset includes **macula-centered color fundus images** from real-world clinical screenings under varied imaging conditions.
|
| 48 |
+
|
| 49 |
+
---
|
| 50 |
+
|
| 51 |
+
## 📊 Dataset Summary
|
| 52 |
+
|
| 53 |
+
| Field | Details |
|
| 54 |
+
|--------|----------|
|
| 55 |
+
| **Task** | Diabetic retinopathy classification (5 severity grades) |
|
| 56 |
+
| **Description** | High-resolution color fundus photographs from EyePACS DR screening program. Each image labeled by ophthalmologists using the ICDR scale. |
|
| 57 |
+
| **Size** | ~88,702 images total (≈35k labeled for training, ≈53k unlabeled for testing) |
|
| 58 |
+
| **Classes** | 0 = No DR, 1 = Mild, 2 = Moderate, 3 = Severe, 4 = Proliferative DR |
|
| 59 |
+
| **Image Type** | Macula-centered color fundus photos (640×480 to 5184×3456 px) |
|
| 60 |
+
| **Source** | EyePACS (USA) via Kaggle Diabetic Retinopathy Detection Challenge (2015) |
|
| 61 |
+
| **Access** | [Kaggle Dataset](https://www.kaggle.com/c/diabetic-retinopathy-detection/data) |
|
| 62 |
+
| **License** | Usage restricted under Kaggle & EyePACS terms |
|
| 63 |
+
|
| 64 |
+
---
|
| 65 |
+
|
| 66 |
+
## 🧱 Dataset Structure
|
| 67 |
+
|
| 68 |
+
```test
|
| 69 |
+
eyepacs/
|
| 70 |
+
├── images/
|
| 71 |
+
│ ├── train/
|
| 72 |
+
│ │ ├── 00001_left.jpg
|
| 73 |
+
│ │ ├── 00001_right.jpg
|
| 74 |
+
│ └── test/
|
| 75 |
+
├── labels.csv # image_id, eye(L/R), dr_grade (0–4)
|
| 76 |
+
├── README.md
|
| 77 |
+
└── LICENSE.txt
|
| 78 |
+
```
|
| 79 |
+
|
| 80 |
+
---
|
| 81 |
+
|
| 82 |
+
## 🧩 Label Details
|
| 83 |
+
- Labels follow the **International Clinical Diabetic Retinopathy (ICDR)** grading system.
|
| 84 |
+
- **Class imbalance** is significant — most images show no DR.
|
| 85 |
+
- Labels were assigned by certified ophthalmologists; minor label noise may exist.
|
| 86 |
+
|
| 87 |
+
---
|
| 88 |
+
|
| 89 |
+
## ⚙️ Preprocessing Recommendations
|
| 90 |
+
- Crop to the circular fundus region and remove borders
|
| 91 |
+
- Resize to consistent resolution (e.g. 1024×1024)
|
| 92 |
+
- Normalize illumination and contrast
|
| 93 |
+
- Exclude blurred or ungradable images
|
| 94 |
+
|
| 95 |
+
---
|
| 96 |
+
|
| 97 |
+
## 💡 Research Applications
|
| 98 |
+
- DR detection and severity classification
|
| 99 |
+
- Automated retinal screening systems
|
| 100 |
+
- Transfer learning and robustness testing across imaging conditions
|
| 101 |
+
- Comparative studies with datasets like MESSIDOR, DDR, and APTOS
|
| 102 |
+
|
| 103 |
+
---
|
| 104 |
+
|
| 105 |
+
## ⚠️ Notes & Limitations
|
| 106 |
+
- Significant **class imbalance** (majority = No DR)
|
| 107 |
+
- Variations in **camera type, exposure, and focus**
|
| 108 |
+
- Some **label noise** and **ungradable images** present
|
| 109 |
+
- Redistribution may be **restricted** — verify Kaggle/EyePACS terms before publishing images
|
| 110 |
+
|
| 111 |
+
---
|
| 112 |
+
|
| 113 |
+
## 📄 Citation
|
| 114 |
+
If you use the dataset, cite:
|
| 115 |
+
|
| 116 |
+
> Kaggle and EyePACS. *“Diabetic Retinopathy Detection.”* Kaggle Competition, 2015.
|
| 117 |
+
> [https://www.kaggle.com/c/diabetic-retinopathy-detection](https://www.kaggle.com/c/diabetic-retinopathy-detection)
|
| 118 |
+
|
| 119 |
+
---
|
| 120 |
+
|
| 121 |
+
## 🔗 References
|
| 122 |
+
- EyePACS Official Data Page — [https://www.eyepacs.com/data-analysis](https://www.eyepacs.com/data-analysis)
|
| 123 |
+
- Kaggle: *Diabetic Retinopathy Detection* — [https://www.kaggle.com/c/diabetic-retinopathy-detection](https://www.kaggle.com/c/diabetic-retinopathy-detection)
|
| 124 |
+
- Research overview: *Transfer Learning Based Classification of Diabetic Retinopathy on the Kaggle EyePACS Dataset*, ResearchGate, 2021.
|
| 125 |
+
|
| 126 |
+
---
|
rm_images/Merged_Fundus_Images_with_Caption.jpg
ADDED
|
Git LFS Details
|
rm_images/left_preprocess_sample.jpg
ADDED
|
Git LFS Details
|
rm_images/right_preprocess_sample.jpg
ADDED
|
Git LFS Details
|
trainLabels.csv
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|