Upload BeitForImageClassification
Browse files- config.json +48 -24
- model.safetensors +2 -2
config.json
CHANGED
@@ -1,41 +1,65 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "
|
|
|
3 |
"architectures": [
|
4 |
-
"
|
5 |
],
|
6 |
-
"
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
"
|
13 |
-
"
|
14 |
-
"
|
15 |
-
"
|
16 |
-
"
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
"layer_type": "bottleneck",
|
23 |
-
"model_type": "resnet",
|
24 |
"num_channels": 3,
|
|
|
25 |
"out_features": [
|
26 |
-
"
|
27 |
],
|
28 |
"out_indices": [
|
29 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
30 |
],
|
31 |
"problem_type": "single_label_classification",
|
|
|
|
|
32 |
"stage_names": [
|
33 |
"stem",
|
34 |
"stage1",
|
35 |
"stage2",
|
36 |
"stage3",
|
37 |
-
"stage4"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
38 |
],
|
39 |
"torch_dtype": "float32",
|
40 |
-
"transformers_version": "4.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
41 |
}
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "./model/Klassifikator",
|
3 |
+
"add_fpn": false,
|
4 |
"architectures": [
|
5 |
+
"BeitForImageClassification"
|
6 |
],
|
7 |
+
"attention_probs_dropout_prob": 0.0,
|
8 |
+
"auxiliary_channels": 256,
|
9 |
+
"auxiliary_concat_input": false,
|
10 |
+
"auxiliary_loss_weight": 0.4,
|
11 |
+
"auxiliary_num_convs": 1,
|
12 |
+
"drop_path_rate": 0.1,
|
13 |
+
"hidden_act": "gelu",
|
14 |
+
"hidden_dropout_prob": 0.0,
|
15 |
+
"hidden_size": 768,
|
16 |
+
"image_size": 224,
|
17 |
+
"initializer_range": 0.02,
|
18 |
+
"intermediate_size": 3072,
|
19 |
+
"layer_norm_eps": 1e-12,
|
20 |
+
"layer_scale_init_value": 0.1,
|
21 |
+
"model_type": "beit",
|
22 |
+
"num_attention_heads": 12,
|
|
|
|
|
23 |
"num_channels": 3,
|
24 |
+
"num_hidden_layers": 12,
|
25 |
"out_features": [
|
26 |
+
"stage12"
|
27 |
],
|
28 |
"out_indices": [
|
29 |
+
12
|
30 |
+
],
|
31 |
+
"patch_size": 16,
|
32 |
+
"pool_scales": [
|
33 |
+
1,
|
34 |
+
2,
|
35 |
+
3,
|
36 |
+
6
|
37 |
],
|
38 |
"problem_type": "single_label_classification",
|
39 |
+
"reshape_hidden_states": true,
|
40 |
+
"semantic_loss_ignore_index": 255,
|
41 |
"stage_names": [
|
42 |
"stem",
|
43 |
"stage1",
|
44 |
"stage2",
|
45 |
"stage3",
|
46 |
+
"stage4",
|
47 |
+
"stage5",
|
48 |
+
"stage6",
|
49 |
+
"stage7",
|
50 |
+
"stage8",
|
51 |
+
"stage9",
|
52 |
+
"stage10",
|
53 |
+
"stage11",
|
54 |
+
"stage12"
|
55 |
],
|
56 |
"torch_dtype": "float32",
|
57 |
+
"transformers_version": "4.44.2",
|
58 |
+
"use_absolute_position_embeddings": false,
|
59 |
+
"use_auxiliary_head": true,
|
60 |
+
"use_mask_token": true,
|
61 |
+
"use_mean_pooling": true,
|
62 |
+
"use_relative_position_bias": false,
|
63 |
+
"use_shared_relative_position_bias": true,
|
64 |
+
"vocab_size": 8192
|
65 |
}
|
model.safetensors
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:ad30afede2915352e43bf1f70f44f7b5f6c8ceae0ddcefb0ffde73bb83dc21de
|
3 |
+
size 342695160
|