Commit
•
fb8e380
1
Parent(s):
e7f4257
Training in progress, epoch 1
Browse files- .gitignore +1 -0
- config.json +49 -0
- preprocessor_config.json +17 -0
- pytorch_model.bin +3 -0
- training_args.bin +3 -0
.gitignore
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
checkpoint-*/
|
config.json
ADDED
@@ -0,0 +1,49 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"architectures": [
|
3 |
+
"ViTForImageClassification"
|
4 |
+
],
|
5 |
+
"attention_probs_dropout_prob": 0.0,
|
6 |
+
"decoder_hidden_size": 512,
|
7 |
+
"decoder_intermediate_size": 2048,
|
8 |
+
"decoder_num_attention_heads": 16,
|
9 |
+
"decoder_num_hidden_layers": 8,
|
10 |
+
"encoder_stride": 16,
|
11 |
+
"hidden_act": "gelu",
|
12 |
+
"hidden_dropout_prob": 0.0,
|
13 |
+
"hidden_size": 768,
|
14 |
+
"id2label": {
|
15 |
+
"0": "CONTAINER",
|
16 |
+
"1": "CONTROL SHOT",
|
17 |
+
"2": "COVER",
|
18 |
+
"3": "EDGE + SPINE",
|
19 |
+
"4": "FLYSHEET",
|
20 |
+
"5": "OTHER",
|
21 |
+
"6": "PAGE + FOLIO",
|
22 |
+
"7": "SCROLL"
|
23 |
+
},
|
24 |
+
"image_size": 224,
|
25 |
+
"initializer_range": 0.02,
|
26 |
+
"intermediate_size": 3072,
|
27 |
+
"label2id": {
|
28 |
+
"CONTAINER": 0,
|
29 |
+
"CONTROL SHOT": 1,
|
30 |
+
"COVER": 2,
|
31 |
+
"EDGE + SPINE": 3,
|
32 |
+
"FLYSHEET": 4,
|
33 |
+
"OTHER": 5,
|
34 |
+
"PAGE + FOLIO": 6,
|
35 |
+
"SCROLL": 7
|
36 |
+
},
|
37 |
+
"layer_norm_eps": 1e-12,
|
38 |
+
"mask_ratio": 0.75,
|
39 |
+
"model_type": "vit",
|
40 |
+
"norm_pix_loss": false,
|
41 |
+
"num_attention_heads": 12,
|
42 |
+
"num_channels": 3,
|
43 |
+
"num_hidden_layers": 12,
|
44 |
+
"patch_size": 16,
|
45 |
+
"problem_type": "single_label_classification",
|
46 |
+
"qkv_bias": true,
|
47 |
+
"torch_dtype": "float32",
|
48 |
+
"transformers_version": "4.17.0.dev0"
|
49 |
+
}
|
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.485,
|
7 |
+
0.456,
|
8 |
+
0.406
|
9 |
+
],
|
10 |
+
"image_std": [
|
11 |
+
0.229,
|
12 |
+
0.224,
|
13 |
+
0.225
|
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:1a8235594cab91fdd020bf27f76e4bcd3e981721a22badf5ac571cf52a55cba0
|
3 |
+
size 343299185
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:82fba35975275eafa5b33bca1f21354e5fe88ce846d8d3dc4b7ae1b94514fa09
|
3 |
+
size 3055
|