first commit
Browse files- config.json +84 -0
- logs.txt +36 -0
- preprocessor_config.json +17 -0
- pytorch_model.bin +3 -0
config.json
ADDED
@@ -0,0 +1,84 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "google/vit-base-patch16-224-in21k",
|
3 |
+
"architectures": [
|
4 |
+
"ViTForImageClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.0,
|
7 |
+
"hidden_act": "gelu",
|
8 |
+
"hidden_dropout_prob": 0.0,
|
9 |
+
"hidden_size": 768,
|
10 |
+
"id2label": {
|
11 |
+
"0": "A",
|
12 |
+
"1": "B",
|
13 |
+
"10": "K",
|
14 |
+
"11": "L",
|
15 |
+
"12": "M",
|
16 |
+
"13": "N",
|
17 |
+
"14": "O",
|
18 |
+
"15": "P",
|
19 |
+
"16": "Q",
|
20 |
+
"17": "R",
|
21 |
+
"18": "S",
|
22 |
+
"19": "T",
|
23 |
+
"2": "C",
|
24 |
+
"20": "U",
|
25 |
+
"21": "V",
|
26 |
+
"22": "W",
|
27 |
+
"23": "X",
|
28 |
+
"24": "Y",
|
29 |
+
"25": "Z",
|
30 |
+
"26": "del",
|
31 |
+
"27": "nothing",
|
32 |
+
"28": "space",
|
33 |
+
"3": "D",
|
34 |
+
"4": "E",
|
35 |
+
"5": "F",
|
36 |
+
"6": "G",
|
37 |
+
"7": "H",
|
38 |
+
"8": "I",
|
39 |
+
"9": "J"
|
40 |
+
},
|
41 |
+
"image_size": 224,
|
42 |
+
"initializer_range": 0.02,
|
43 |
+
"intermediate_size": 3072,
|
44 |
+
"label2id": {
|
45 |
+
"A": "0",
|
46 |
+
"B": "1",
|
47 |
+
"C": "2",
|
48 |
+
"D": "3",
|
49 |
+
"E": "4",
|
50 |
+
"F": "5",
|
51 |
+
"G": "6",
|
52 |
+
"H": "7",
|
53 |
+
"I": "8",
|
54 |
+
"J": "9",
|
55 |
+
"K": "10",
|
56 |
+
"L": "11",
|
57 |
+
"M": "12",
|
58 |
+
"N": "13",
|
59 |
+
"O": "14",
|
60 |
+
"P": "15",
|
61 |
+
"Q": "16",
|
62 |
+
"R": "17",
|
63 |
+
"S": "18",
|
64 |
+
"T": "19",
|
65 |
+
"U": "20",
|
66 |
+
"V": "21",
|
67 |
+
"W": "22",
|
68 |
+
"X": "23",
|
69 |
+
"Y": "24",
|
70 |
+
"Z": "25",
|
71 |
+
"del": "26",
|
72 |
+
"nothing": "27",
|
73 |
+
"space": "28"
|
74 |
+
},
|
75 |
+
"layer_norm_eps": 1e-12,
|
76 |
+
"model_type": "vit",
|
77 |
+
"num_attention_heads": 12,
|
78 |
+
"num_channels": 3,
|
79 |
+
"num_hidden_layers": 12,
|
80 |
+
"patch_size": 16,
|
81 |
+
"qkv_bias": true,
|
82 |
+
"torch_dtype": "float32",
|
83 |
+
"transformers_version": "4.15.0"
|
84 |
+
}
|
logs.txt
ADDED
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
precision recall f1-score support
|
2 |
+
|
3 |
+
A 1.0000 1.0000 1.0000 869
|
4 |
+
B 1.0000 1.0000 1.0000 938
|
5 |
+
C 1.0000 1.0000 1.0000 829
|
6 |
+
D 1.0000 1.0000 1.0000 916
|
7 |
+
E 1.0000 1.0000 1.0000 855
|
8 |
+
F 1.0000 1.0000 1.0000 897
|
9 |
+
G 1.0000 1.0000 1.0000 916
|
10 |
+
H 1.0000 1.0000 1.0000 896
|
11 |
+
I 1.0000 1.0000 1.0000 905
|
12 |
+
J 1.0000 1.0000 1.0000 928
|
13 |
+
K 1.0000 1.0000 1.0000 924
|
14 |
+
L 1.0000 1.0000 1.0000 915
|
15 |
+
M 1.0000 1.0000 1.0000 860
|
16 |
+
N 1.0000 1.0000 1.0000 893
|
17 |
+
O 1.0000 1.0000 1.0000 898
|
18 |
+
P 1.0000 1.0000 1.0000 920
|
19 |
+
Q 1.0000 1.0000 1.0000 886
|
20 |
+
R 1.0000 1.0000 1.0000 954
|
21 |
+
S 1.0000 1.0000 1.0000 887
|
22 |
+
T 1.0000 1.0000 1.0000 889
|
23 |
+
U 1.0000 1.0000 1.0000 909
|
24 |
+
V 1.0000 1.0000 1.0000 917
|
25 |
+
W 1.0000 1.0000 1.0000 902
|
26 |
+
X 1.0000 1.0000 1.0000 933
|
27 |
+
Y 1.0000 1.0000 1.0000 842
|
28 |
+
Z 1.0000 1.0000 1.0000 946
|
29 |
+
del 1.0000 1.0000 1.0000 919
|
30 |
+
nothing 1.0000 1.0000 1.0000 862
|
31 |
+
space 1.0000 1.0000 1.0000 896
|
32 |
+
|
33 |
+
accuracy 1.0000 26101
|
34 |
+
macro avg 1.0000 1.0000 1.0000 26101
|
35 |
+
weighted avg 1.0000 1.0000 1.0000 26101
|
36 |
+
|
preprocessor_config.json
ADDED
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"do_normalize": true,
|
3 |
+
"do_resize": true,
|
4 |
+
"feature_extractor_type": "ViTFeatureExtractor",
|
5 |
+
"image_mean": [
|
6 |
+
0.5,
|
7 |
+
0.5,
|
8 |
+
0.5
|
9 |
+
],
|
10 |
+
"image_std": [
|
11 |
+
0.5,
|
12 |
+
0.5,
|
13 |
+
0.5
|
14 |
+
],
|
15 |
+
"resample": 2,
|
16 |
+
"size": 224
|
17 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:fdefe5232453aa6aa1aa98fdcb96edf7bbaa1fa274c4cde11b1d600fb5ed39af
|
3 |
+
size 343362865
|