Model save
Browse files- README.md +91 -0
- pytorch_model.bin +1 -1
README.md
ADDED
@@ -0,0 +1,91 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
base_model: syedmuhammad/ConvNextV2-Diabetec-Retinopathy
|
3 |
+
tags:
|
4 |
+
- generated_from_trainer
|
5 |
+
datasets:
|
6 |
+
- imagefolder
|
7 |
+
metrics:
|
8 |
+
- accuracy
|
9 |
+
model-index:
|
10 |
+
- name: ConvNext-V2-Retinopathy
|
11 |
+
results:
|
12 |
+
- task:
|
13 |
+
name: Image Classification
|
14 |
+
type: image-classification
|
15 |
+
dataset:
|
16 |
+
name: imagefolder
|
17 |
+
type: imagefolder
|
18 |
+
config: default
|
19 |
+
split: train
|
20 |
+
args: default
|
21 |
+
metrics:
|
22 |
+
- name: Accuracy
|
23 |
+
type: accuracy
|
24 |
+
value: 0.9900990099009901
|
25 |
+
---
|
26 |
+
|
27 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
28 |
+
should probably proofread and complete it, then remove this comment. -->
|
29 |
+
|
30 |
+
# ConvNext-V2-Retinopathy
|
31 |
+
|
32 |
+
This model is a fine-tuned version of [syedmuhammad/ConvNextV2-Diabetec-Retinopathy](https://huggingface.co/syedmuhammad/ConvNextV2-Diabetec-Retinopathy) on the imagefolder dataset.
|
33 |
+
It achieves the following results on the evaluation set:
|
34 |
+
- Loss: 0.0219
|
35 |
+
- Accuracy: 0.9901
|
36 |
+
|
37 |
+
## Model description
|
38 |
+
|
39 |
+
More information needed
|
40 |
+
|
41 |
+
## Intended uses & limitations
|
42 |
+
|
43 |
+
More information needed
|
44 |
+
|
45 |
+
## Training and evaluation data
|
46 |
+
|
47 |
+
More information needed
|
48 |
+
|
49 |
+
## Training procedure
|
50 |
+
|
51 |
+
### Training hyperparameters
|
52 |
+
|
53 |
+
The following hyperparameters were used during training:
|
54 |
+
- learning_rate: 5e-05
|
55 |
+
- train_batch_size: 4
|
56 |
+
- eval_batch_size: 4
|
57 |
+
- seed: 42
|
58 |
+
- gradient_accumulation_steps: 4
|
59 |
+
- total_train_batch_size: 16
|
60 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
61 |
+
- lr_scheduler_type: linear
|
62 |
+
- lr_scheduler_warmup_ratio: 0.1
|
63 |
+
- num_epochs: 15
|
64 |
+
|
65 |
+
### Training results
|
66 |
+
|
67 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
68 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
69 |
+
| 0.125 | 1.0 | 113 | 0.0339 | 0.9901 |
|
70 |
+
| 0.2206 | 2.0 | 227 | 0.0139 | 0.9901 |
|
71 |
+
| 0.1751 | 3.0 | 340 | 0.0114 | 0.9950 |
|
72 |
+
| 0.0599 | 4.0 | 454 | 0.0277 | 0.9950 |
|
73 |
+
| 0.1122 | 5.0 | 567 | 0.0328 | 0.9950 |
|
74 |
+
| 0.093 | 6.0 | 681 | 0.0240 | 0.9901 |
|
75 |
+
| 0.0673 | 7.0 | 794 | 0.0251 | 0.9950 |
|
76 |
+
| 0.0718 | 8.0 | 908 | 0.0458 | 0.9851 |
|
77 |
+
| 0.0632 | 9.0 | 1021 | 0.0477 | 0.9901 |
|
78 |
+
| 0.0263 | 10.0 | 1135 | 0.0399 | 0.9950 |
|
79 |
+
| 0.0304 | 11.0 | 1248 | 0.0295 | 0.9901 |
|
80 |
+
| 0.0892 | 12.0 | 1362 | 0.0330 | 0.9950 |
|
81 |
+
| 0.0227 | 13.0 | 1475 | 0.0287 | 0.9901 |
|
82 |
+
| 0.0253 | 14.0 | 1589 | 0.0262 | 0.9901 |
|
83 |
+
| 0.1242 | 14.93 | 1695 | 0.0219 | 0.9901 |
|
84 |
+
|
85 |
+
|
86 |
+
### Framework versions
|
87 |
+
|
88 |
+
- Transformers 4.34.0
|
89 |
+
- Pytorch 2.0.1+cu118
|
90 |
+
- Datasets 2.14.5
|
91 |
+
- Tokenizers 0.14.1
|
pytorch_model.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 111541357
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8504bac1b5e79d94e5317189ebe302aa07eca1c7702832fafdebae43afa91ce7
|
3 |
size 111541357
|