TGrote11 commited on
Commit
f20f5e2
1 Parent(s): f642020

Upload BeitForImageClassification

Browse files
Files changed (2) hide show
  1. config.json +48 -24
  2. model.safetensors +2 -2
config.json CHANGED
@@ -1,41 +1,65 @@
1
  {
2
- "_name_or_path": "microsoft/resnet-50",
 
3
  "architectures": [
4
- "ResNetForImageClassification"
5
  ],
6
- "depths": [
7
- 3,
8
- 4,
9
- 6,
10
- 3
11
- ],
12
- "downsample_in_bottleneck": false,
13
- "downsample_in_first_stage": false,
14
- "embedding_size": 64,
15
- "hidden_act": "relu",
16
- "hidden_sizes": [
17
- 256,
18
- 512,
19
- 1024,
20
- 2048
21
- ],
22
- "layer_type": "bottleneck",
23
- "model_type": "resnet",
24
  "num_channels": 3,
 
25
  "out_features": [
26
- "stage4"
27
  ],
28
  "out_indices": [
29
- 4
 
 
 
 
 
 
 
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.43.2"
 
 
 
 
 
 
 
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:919fa6473e0bdeaf8424af84519c3e6299972f15bc2a8a98b5123676571f8ec8
3
- size 94302952
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ad30afede2915352e43bf1f70f44f7b5f6c8ceae0ddcefb0ffde73bb83dc21de
3
+ size 342695160