Model save
Browse files- README.md +2 -26
- config.json +2 -26
- pytorch_model.bin +2 -2
- training_args.bin +1 -1
README.md
CHANGED
@@ -2,32 +2,12 @@
|
|
2 |
license: apache-2.0
|
3 |
base_model: google/vit-base-patch16-224
|
4 |
tags:
|
5 |
-
- image-classification
|
6 |
- generated_from_trainer
|
7 |
datasets:
|
8 |
- imagefolder
|
9 |
-
metrics:
|
10 |
-
- accuracy
|
11 |
-
- f1
|
12 |
model-index:
|
13 |
- name: fine-tuned-augmented
|
14 |
-
results:
|
15 |
-
- task:
|
16 |
-
name: Image Classification
|
17 |
-
type: image-classification
|
18 |
-
dataset:
|
19 |
-
name: custom_dataset_augmented
|
20 |
-
type: imagefolder
|
21 |
-
config: default
|
22 |
-
split: train
|
23 |
-
args: default
|
24 |
-
metrics:
|
25 |
-
- name: Accuracy
|
26 |
-
type: accuracy
|
27 |
-
value: 0.6065573770491803
|
28 |
-
- name: F1
|
29 |
-
type: f1
|
30 |
-
value: 0.3511904761904762
|
31 |
---
|
32 |
|
33 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
@@ -35,11 +15,7 @@ should probably proofread and complete it, then remove this comment. -->
|
|
35 |
|
36 |
# fine-tuned-augmented
|
37 |
|
38 |
-
This model is a fine-tuned version of [google/vit-base-patch16-224](https://huggingface.co/google/vit-base-patch16-224) on the
|
39 |
-
It achieves the following results on the evaluation set:
|
40 |
-
- Loss: 0.9847
|
41 |
-
- Accuracy: 0.6066
|
42 |
-
- F1: 0.3512
|
43 |
|
44 |
## Model description
|
45 |
|
|
|
2 |
license: apache-2.0
|
3 |
base_model: google/vit-base-patch16-224
|
4 |
tags:
|
|
|
5 |
- generated_from_trainer
|
6 |
datasets:
|
7 |
- imagefolder
|
|
|
|
|
|
|
8 |
model-index:
|
9 |
- name: fine-tuned-augmented
|
10 |
+
results: []
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
11 |
---
|
12 |
|
13 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
|
|
15 |
|
16 |
# fine-tuned-augmented
|
17 |
|
18 |
+
This model is a fine-tuned version of [google/vit-base-patch16-224](https://huggingface.co/google/vit-base-patch16-224) on the imagefolder dataset.
|
|
|
|
|
|
|
|
|
19 |
|
20 |
## Model description
|
21 |
|
config.json
CHANGED
@@ -10,38 +10,14 @@
|
|
10 |
"hidden_size": 768,
|
11 |
"id2label": {
|
12 |
"0": "aeroplane",
|
13 |
-
"1": "car"
|
14 |
-
"10": "people",
|
15 |
-
"11": "river",
|
16 |
-
"12": "ski",
|
17 |
-
"13": "snow",
|
18 |
-
"2": "deer",
|
19 |
-
"3": "dogsledge",
|
20 |
-
"4": "factory",
|
21 |
-
"5": "fireman",
|
22 |
-
"6": "firetruck",
|
23 |
-
"7": "ladder",
|
24 |
-
"8": "lake",
|
25 |
-
"9": "mountain"
|
26 |
},
|
27 |
"image_size": 224,
|
28 |
"initializer_range": 0.02,
|
29 |
"intermediate_size": 3072,
|
30 |
"label2id": {
|
31 |
"aeroplane": "0",
|
32 |
-
"car": "1"
|
33 |
-
"deer": "2",
|
34 |
-
"dogsledge": "3",
|
35 |
-
"factory": "4",
|
36 |
-
"fireman": "5",
|
37 |
-
"firetruck": "6",
|
38 |
-
"ladder": "7",
|
39 |
-
"lake": "8",
|
40 |
-
"mountain": "9",
|
41 |
-
"people": "10",
|
42 |
-
"river": "11",
|
43 |
-
"ski": "12",
|
44 |
-
"snow": "13"
|
45 |
},
|
46 |
"layer_norm_eps": 1e-12,
|
47 |
"model_type": "vit",
|
|
|
10 |
"hidden_size": 768,
|
11 |
"id2label": {
|
12 |
"0": "aeroplane",
|
13 |
+
"1": "car"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
14 |
},
|
15 |
"image_size": 224,
|
16 |
"initializer_range": 0.02,
|
17 |
"intermediate_size": 3072,
|
18 |
"label2id": {
|
19 |
"aeroplane": "0",
|
20 |
+
"car": "1"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
21 |
},
|
22 |
"layer_norm_eps": 1e-12,
|
23 |
"model_type": "vit",
|
pytorch_model.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e65f55480ef978eafaaf888e46b7779f01b893e4a7250b958b765230ee3c8313
|
3 |
+
size 343265965
|
training_args.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 4091
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8827f23a2dec6c73e0df9872b84c30cbf6baf54081725e7bb36a24b817acda06
|
3 |
size 4091
|