seige-ml commited on
Commit
05cf024
·
verified ·
1 Parent(s): 65a258d

Upload folder using huggingface_hub

Browse files
README.md ADDED
@@ -0,0 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language: en
3
+ license: mit
4
+ tags:
5
+ - fundus
6
+ - diabetic retinopathy
7
+ - classification
8
+ datasets:
9
+ - APTOS
10
+ - EYEPACS
11
+ - IDRID
12
+ - DDR
13
+ library: timm
14
+ model-index:
15
+ - name: convnext_small
16
+ results:
17
+ - task:
18
+ type: image-classification
19
+ dataset:
20
+ name: EYEPACS
21
+ type: EYEPACS
22
+ metrics:
23
+ - type: kappa
24
+ value: 0.789091944694519
25
+ name: Quadratic Kappa
26
+ - task:
27
+ type: image-classification
28
+ dataset:
29
+ name: IDRID
30
+ type: IDRID
31
+ metrics:
32
+ - type: kappa
33
+ value: 0.7588151097297668
34
+ name: Quadratic Kappa
35
+ - task:
36
+ type: image-classification
37
+ dataset:
38
+ name: DDR
39
+ type: DDR
40
+ metrics:
41
+ - type: kappa
42
+ value: 0.8041317462921143
43
+ name: Quadratic Kappa
44
+ ---
45
+ # Fundus DR Grading
46
+
47
+ [![Rye](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/rye/main/artwork/badge.json)](https://rye-up.com)
48
+ [![PyTorch](https://img.shields.io/badge/PyTorch-ee4c2c?logo=pytorch&logoColor=white)](https://pytorch.org/docs/stable/index.html)
49
+ [![Lightning](https://img.shields.io/badge/Lightning-792ee5?logo=lightning&logoColor=white)](https://lightning.ai/docs/pytorch/stable/)
50
+
51
+ ## Description
52
+
53
+ This project aims to evaluate the performance of different models for the classification of diabetic retinopathy (DR) in fundus images. The reported perfomance metrics are not always consistent in the literature. Our goal is to provide a fair comparison between different models using the same datasets and evaluation protocol.
54
+
55
+
config.json ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architecture": "convnext_small",
3
+ "num_classes": 1,
4
+ "num_features": 768,
5
+ "pretrained_cfg": {
6
+ "tag": "in12k_ft_in1k",
7
+ "custom_load": false,
8
+ "input_size": [
9
+ 3,
10
+ 224,
11
+ 224
12
+ ],
13
+ "test_input_size": [
14
+ 3,
15
+ 288,
16
+ 288
17
+ ],
18
+ "fixed_input_size": false,
19
+ "interpolation": "bicubic",
20
+ "crop_pct": 0.95,
21
+ "test_crop_pct": 1.0,
22
+ "crop_mode": "center",
23
+ "mean": [
24
+ 0.485,
25
+ 0.456,
26
+ 0.406
27
+ ],
28
+ "std": [
29
+ 0.229,
30
+ 0.224,
31
+ 0.225
32
+ ],
33
+ "num_classes": 1000,
34
+ "pool_size": [
35
+ 7,
36
+ 7
37
+ ],
38
+ "first_conv": "stem.0",
39
+ "classifier": "head.fc"
40
+ }
41
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0bae1cc619f806238c8c28fab477e2512a2506ce3674435f03b21e54310bbfdc
3
+ size 197855900
preprocessor_config.json ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "do_normalize": true,
3
+ "do_resize": true,
4
+ "image_mean": [
5
+ 0.485,
6
+ 0.456,
7
+ 0.406
8
+ ],
9
+ "image_std": [
10
+ 0.229,
11
+ 0.224,
12
+ 0.225
13
+ ],
14
+ "size": 224
15
+ }
preprocessor_config.json~ ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "do_normalize": true,
3
+ "do_resize": true,
4
+ "image_mean": [
5
+ 0.5,
6
+ 0.5,
7
+ 0.5
8
+ ],
9
+ "image_std": [
10
+ 0.5,
11
+ 0.5,
12
+ 0.5
13
+ ],
14
+ "size": 224
15
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c2787e09865e03dac5a35cfcf95fe35f77e4fd010224dce3754f39a7cd907a87
3
+ size 197951722