hf-transformers-bot
commited on
Commit
•
619d13a
1
Parent(s):
924e4fd
Upload tiny models for BeitForSemanticSegmentation
Browse files- config.json +46 -0
- preprocessor_config.json +28 -0
- pytorch_model.bin +3 -0
config.json
ADDED
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"architectures": [
|
3 |
+
"BeitForSemanticSegmentation"
|
4 |
+
],
|
5 |
+
"attention_probs_dropout_prob": 0.1,
|
6 |
+
"auxiliary_channels": 256,
|
7 |
+
"auxiliary_concat_input": false,
|
8 |
+
"auxiliary_loss_weight": 0.4,
|
9 |
+
"auxiliary_num_convs": 1,
|
10 |
+
"drop_path_rate": 0.1,
|
11 |
+
"hidden_act": "gelu",
|
12 |
+
"hidden_dropout_prob": 0.1,
|
13 |
+
"hidden_size": 32,
|
14 |
+
"image_size": 30,
|
15 |
+
"initializer_range": 0.02,
|
16 |
+
"intermediate_size": 37,
|
17 |
+
"layer_norm_eps": 1e-12,
|
18 |
+
"layer_scale_init_value": 0.1,
|
19 |
+
"model_type": "beit",
|
20 |
+
"num_attention_heads": 4,
|
21 |
+
"num_channels": 3,
|
22 |
+
"num_hidden_layers": 4,
|
23 |
+
"out_indices": [
|
24 |
+
0,
|
25 |
+
1,
|
26 |
+
2,
|
27 |
+
3
|
28 |
+
],
|
29 |
+
"patch_size": 2,
|
30 |
+
"pool_scales": [
|
31 |
+
1,
|
32 |
+
2,
|
33 |
+
3,
|
34 |
+
6
|
35 |
+
],
|
36 |
+
"semantic_loss_ignore_index": 255,
|
37 |
+
"torch_dtype": "float32",
|
38 |
+
"transformers_version": "4.28.0.dev0",
|
39 |
+
"use_absolute_position_embeddings": false,
|
40 |
+
"use_auxiliary_head": true,
|
41 |
+
"use_mask_token": false,
|
42 |
+
"use_mean_pooling": true,
|
43 |
+
"use_relative_position_bias": false,
|
44 |
+
"use_shared_relative_position_bias": false,
|
45 |
+
"vocab_size": 100
|
46 |
+
}
|
preprocessor_config.json
ADDED
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"crop_size": {
|
3 |
+
"height": 30,
|
4 |
+
"width": 30
|
5 |
+
},
|
6 |
+
"do_center_crop": true,
|
7 |
+
"do_normalize": true,
|
8 |
+
"do_reduce_labels": false,
|
9 |
+
"do_rescale": true,
|
10 |
+
"do_resize": true,
|
11 |
+
"image_mean": [
|
12 |
+
0.5,
|
13 |
+
0.5,
|
14 |
+
0.5
|
15 |
+
],
|
16 |
+
"image_processor_type": "BeitImageProcessor",
|
17 |
+
"image_std": [
|
18 |
+
0.5,
|
19 |
+
0.5,
|
20 |
+
0.5
|
21 |
+
],
|
22 |
+
"resample": 3,
|
23 |
+
"rescale_factor": 0.00392156862745098,
|
24 |
+
"size": {
|
25 |
+
"height": 30,
|
26 |
+
"width": 30
|
27 |
+
}
|
28 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b3e6c3f48a3cad52238d9bd7b5babece476ccd87b1d7770ce0b3163af370a06e
|
3 |
+
size 991325
|