paul
commited on
Commit
·
481c7cb
1
Parent(s):
d29ba77
update model card README.md
Browse files
README.md
ADDED
@@ -0,0 +1,111 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
tags:
|
4 |
+
- generated_from_trainer
|
5 |
+
datasets:
|
6 |
+
- imagefolder
|
7 |
+
metrics:
|
8 |
+
- accuracy
|
9 |
+
- precision
|
10 |
+
- recall
|
11 |
+
- f1
|
12 |
+
model-index:
|
13 |
+
- name: resnet-152-fv-finetuned-memess
|
14 |
+
results:
|
15 |
+
- task:
|
16 |
+
name: Image Classification
|
17 |
+
type: image-classification
|
18 |
+
dataset:
|
19 |
+
name: imagefolder
|
20 |
+
type: imagefolder
|
21 |
+
config: default
|
22 |
+
split: train
|
23 |
+
args: default
|
24 |
+
metrics:
|
25 |
+
- name: Accuracy
|
26 |
+
type: accuracy
|
27 |
+
value: 0.767387944358578
|
28 |
+
- name: Precision
|
29 |
+
type: precision
|
30 |
+
value: 0.7651125602674349
|
31 |
+
- name: Recall
|
32 |
+
type: recall
|
33 |
+
value: 0.767387944358578
|
34 |
+
- name: F1
|
35 |
+
type: f1
|
36 |
+
value: 0.7646848616766787
|
37 |
+
---
|
38 |
+
|
39 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
40 |
+
should probably proofread and complete it, then remove this comment. -->
|
41 |
+
|
42 |
+
# resnet-152-fv-finetuned-memess
|
43 |
+
|
44 |
+
This model is a fine-tuned version of [microsoft/resnet-152](https://huggingface.co/microsoft/resnet-152) on the imagefolder dataset.
|
45 |
+
It achieves the following results on the evaluation set:
|
46 |
+
- Loss: 0.6281
|
47 |
+
- Accuracy: 0.7674
|
48 |
+
- Precision: 0.7651
|
49 |
+
- Recall: 0.7674
|
50 |
+
- F1: 0.7647
|
51 |
+
|
52 |
+
## Model description
|
53 |
+
|
54 |
+
More information needed
|
55 |
+
|
56 |
+
## Intended uses & limitations
|
57 |
+
|
58 |
+
More information needed
|
59 |
+
|
60 |
+
## Training and evaluation data
|
61 |
+
|
62 |
+
More information needed
|
63 |
+
|
64 |
+
## Training procedure
|
65 |
+
|
66 |
+
### Training hyperparameters
|
67 |
+
|
68 |
+
The following hyperparameters were used during training:
|
69 |
+
- learning_rate: 0.00012
|
70 |
+
- train_batch_size: 64
|
71 |
+
- eval_batch_size: 64
|
72 |
+
- seed: 42
|
73 |
+
- gradient_accumulation_steps: 4
|
74 |
+
- total_train_batch_size: 256
|
75 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
76 |
+
- lr_scheduler_type: linear
|
77 |
+
- lr_scheduler_warmup_ratio: 0.1
|
78 |
+
- num_epochs: 20
|
79 |
+
|
80 |
+
### Training results
|
81 |
+
|
82 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy | Precision | Recall | F1 |
|
83 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|:---------:|:------:|:------:|
|
84 |
+
| 1.5902 | 0.99 | 20 | 1.5519 | 0.4938 | 0.3491 | 0.4938 | 0.3529 |
|
85 |
+
| 1.4694 | 1.99 | 40 | 1.3730 | 0.4892 | 0.4095 | 0.4892 | 0.3222 |
|
86 |
+
| 1.3129 | 2.99 | 60 | 1.2052 | 0.5301 | 0.3504 | 0.5301 | 0.4005 |
|
87 |
+
| 1.1831 | 3.99 | 80 | 1.1142 | 0.5587 | 0.4077 | 0.5587 | 0.4444 |
|
88 |
+
| 1.0581 | 4.99 | 100 | 0.9930 | 0.6012 | 0.5680 | 0.6012 | 0.5108 |
|
89 |
+
| 0.9464 | 5.99 | 120 | 0.9263 | 0.6507 | 0.6200 | 0.6507 | 0.6029 |
|
90 |
+
| 0.8581 | 6.99 | 140 | 0.8400 | 0.6917 | 0.6645 | 0.6917 | 0.6638 |
|
91 |
+
| 0.7739 | 7.99 | 160 | 0.7829 | 0.7087 | 0.6918 | 0.7087 | 0.6845 |
|
92 |
+
| 0.6762 | 8.99 | 180 | 0.7512 | 0.7318 | 0.7206 | 0.7318 | 0.7189 |
|
93 |
+
| 0.6162 | 9.99 | 200 | 0.7409 | 0.7264 | 0.7244 | 0.7264 | 0.7241 |
|
94 |
+
| 0.5546 | 10.99 | 220 | 0.6936 | 0.7465 | 0.7429 | 0.7465 | 0.7395 |
|
95 |
+
| 0.4633 | 11.99 | 240 | 0.6779 | 0.7473 | 0.7393 | 0.7473 | 0.7412 |
|
96 |
+
| 0.4373 | 12.99 | 260 | 0.6736 | 0.7573 | 0.7492 | 0.7573 | 0.7523 |
|
97 |
+
| 0.4074 | 13.99 | 280 | 0.6534 | 0.7566 | 0.7516 | 0.7566 | 0.7528 |
|
98 |
+
| 0.39 | 14.99 | 300 | 0.6521 | 0.7651 | 0.7603 | 0.7651 | 0.7608 |
|
99 |
+
| 0.3766 | 15.99 | 320 | 0.6499 | 0.7682 | 0.7607 | 0.7682 | 0.7630 |
|
100 |
+
| 0.3507 | 16.99 | 340 | 0.6497 | 0.7697 | 0.7686 | 0.7697 | 0.7686 |
|
101 |
+
| 0.3589 | 17.99 | 360 | 0.6519 | 0.7535 | 0.7485 | 0.7535 | 0.7502 |
|
102 |
+
| 0.3261 | 18.99 | 380 | 0.6449 | 0.7589 | 0.7597 | 0.7589 | 0.7585 |
|
103 |
+
| 0.3234 | 19.99 | 400 | 0.6281 | 0.7674 | 0.7651 | 0.7674 | 0.7647 |
|
104 |
+
|
105 |
+
|
106 |
+
### Framework versions
|
107 |
+
|
108 |
+
- Transformers 4.24.0.dev0
|
109 |
+
- Pytorch 1.11.0+cu102
|
110 |
+
- Datasets 2.6.1.dev0
|
111 |
+
- Tokenizers 0.13.1
|