amjadfqs commited on
Commit
3d321bc
1 Parent(s): 89cc4c4

update model card README.md

Browse files
Files changed (1) hide show
  1. README.md +18 -19
README.md CHANGED
@@ -1,7 +1,6 @@
1
  ---
2
  license: apache-2.0
3
  tags:
4
- - image-classification
5
  - generated_from_trainer
6
  datasets:
7
  - imagefolder
@@ -15,7 +14,7 @@ model-index:
15
  name: Image Classification
16
  type: image-classification
17
  dataset:
18
- name: Brain Tumor
19
  type: imagefolder
20
  config: default
21
  split: train
@@ -23,10 +22,10 @@ model-index:
23
  metrics:
24
  - name: Accuracy
25
  type: accuracy
26
- value: 0.9698177676537585
27
  - name: Precision
28
  type: precision
29
- value: 0.9677462875813125
30
  ---
31
 
32
  <!-- This model card has been generated automatically according to the information the Trainer had access to. You
@@ -34,12 +33,12 @@ should probably proofread and complete it, then remove this comment. -->
34
 
35
  # swin-base-patch4-window7-224-in22k-finetuned-brain-tumor-final_05
36
 
37
- This model is a fine-tuned version of [microsoft/swin-base-patch4-window7-224-in22k](https://huggingface.co/microsoft/swin-base-patch4-window7-224-in22k) on the Brain Tumor dataset.
38
  It achieves the following results on the evaluation set:
39
- - Loss: 0.0792
40
- - Accuracy: 0.9698
41
- - F1 Score: 0.9686
42
- - Precision: 0.9677
43
 
44
  ## Model description
45
 
@@ -73,16 +72,16 @@ The following hyperparameters were used during training:
73
 
74
  | Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 Score | Precision |
75
  |:-------------:|:-----:|:----:|:---------------:|:--------:|:--------:|:---------:|
76
- | 1.3233 | 0.98 | 13 | 0.7676 | 0.7813 | 0.7713 | 0.7796 |
77
- | 0.6659 | 1.96 | 26 | 0.2467 | 0.9146 | 0.9111 | 0.9128 |
78
- | 0.3122 | 2.94 | 39 | 0.1592 | 0.9442 | 0.9417 | 0.9410 |
79
- | 0.1505 | 4.0 | 53 | 0.1241 | 0.9607 | 0.9586 | 0.9600 |
80
- | 0.1369 | 4.98 | 66 | 0.1187 | 0.9584 | 0.9568 | 0.9562 |
81
- | 0.1014 | 5.96 | 79 | 0.1032 | 0.9630 | 0.9614 | 0.9605 |
82
- | 0.0701 | 6.94 | 92 | 0.0938 | 0.9641 | 0.9626 | 0.9616 |
83
- | 0.0573 | 8.0 | 106 | 0.0941 | 0.9647 | 0.9631 | 0.9623 |
84
- | 0.0614 | 8.98 | 119 | 0.0830 | 0.9687 | 0.9674 | 0.9666 |
85
- | 0.0534 | 9.81 | 130 | 0.0792 | 0.9698 | 0.9686 | 0.9677 |
86
 
87
 
88
  ### Framework versions
 
1
  ---
2
  license: apache-2.0
3
  tags:
 
4
  - generated_from_trainer
5
  datasets:
6
  - imagefolder
 
14
  name: Image Classification
15
  type: image-classification
16
  dataset:
17
+ name: imagefolder
18
  type: imagefolder
19
  config: default
20
  split: train
 
22
  metrics:
23
  - name: Accuracy
24
  type: accuracy
25
+ value: 0.9584282460136674
26
  - name: Precision
27
  type: precision
28
+ value: 0.9575941658443274
29
  ---
30
 
31
  <!-- This model card has been generated automatically according to the information the Trainer had access to. You
 
33
 
34
  # swin-base-patch4-window7-224-in22k-finetuned-brain-tumor-final_05
35
 
36
+ This model is a fine-tuned version of [microsoft/swin-base-patch4-window7-224-in22k](https://huggingface.co/microsoft/swin-base-patch4-window7-224-in22k) on the imagefolder dataset.
37
  It achieves the following results on the evaluation set:
38
+ - Loss: 0.1136
39
+ - Accuracy: 0.9584
40
+ - F1 Score: 0.9562
41
+ - Precision: 0.9576
42
 
43
  ## Model description
44
 
 
72
 
73
  | Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 Score | Precision |
74
  |:-------------:|:-----:|:----:|:---------------:|:--------:|:--------:|:---------:|
75
+ | 1.2801 | 0.98 | 13 | 0.6953 | 0.7335 | 0.6819 | 0.7815 |
76
+ | 0.5928 | 1.96 | 26 | 0.3691 | 0.8440 | 0.8218 | 0.8629 |
77
+ | 0.3122 | 2.94 | 39 | 0.1664 | 0.9402 | 0.9377 | 0.9373 |
78
+ | 0.1513 | 4.0 | 53 | 0.1292 | 0.9493 | 0.9468 | 0.9467 |
79
+ | 0.1227 | 4.98 | 66 | 0.1030 | 0.9601 | 0.9577 | 0.9585 |
80
+ | 0.1201 | 5.96 | 79 | 0.1312 | 0.9522 | 0.9496 | 0.9508 |
81
+ | 0.0806 | 6.94 | 92 | 0.1306 | 0.9522 | 0.9494 | 0.9520 |
82
+ | 0.0645 | 8.0 | 106 | 0.1474 | 0.9482 | 0.9457 | 0.9490 |
83
+ | 0.0668 | 8.98 | 119 | 0.0947 | 0.9613 | 0.9589 | 0.9600 |
84
+ | 0.0577 | 9.81 | 130 | 0.1136 | 0.9584 | 0.9562 | 0.9576 |
85
 
86
 
87
  ### Framework versions