Upload 5 files
Browse files- config.json +88 -0
- model.safetensors +3 -0
- model_150.pth +3 -0
- preprocessor_config.json +23 -0
- training_args.bin +3 -0
config.json
ADDED
@@ -0,0 +1,88 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "openmmlab/upernet-swin-tiny",
|
3 |
+
"architectures": [
|
4 |
+
"UperNetForSemanticSegmentation"
|
5 |
+
],
|
6 |
+
"auxiliary_channels": 256,
|
7 |
+
"auxiliary_concat_input": false,
|
8 |
+
"auxiliary_in_channels": 384,
|
9 |
+
"auxiliary_loss_weight": 0.4,
|
10 |
+
"auxiliary_num_convs": 1,
|
11 |
+
"backbone": null,
|
12 |
+
"backbone_config": {
|
13 |
+
"attention_probs_dropout_prob": 0.0,
|
14 |
+
"depths": [
|
15 |
+
2,
|
16 |
+
2,
|
17 |
+
6,
|
18 |
+
2
|
19 |
+
],
|
20 |
+
"drop_path_rate": 0.1,
|
21 |
+
"embed_dim": 96,
|
22 |
+
"encoder_stride": 32,
|
23 |
+
"hidden_act": "gelu",
|
24 |
+
"hidden_dropout_prob": 0.0,
|
25 |
+
"hidden_size": 768,
|
26 |
+
"image_size": 224,
|
27 |
+
"initializer_range": 0.02,
|
28 |
+
"layer_norm_eps": 1e-05,
|
29 |
+
"mlp_ratio": 4.0,
|
30 |
+
"model_type": "swin",
|
31 |
+
"num_heads": [
|
32 |
+
3,
|
33 |
+
6,
|
34 |
+
12,
|
35 |
+
24
|
36 |
+
],
|
37 |
+
"num_layers": 4,
|
38 |
+
"out_features": [
|
39 |
+
"stage1",
|
40 |
+
"stage2",
|
41 |
+
"stage3",
|
42 |
+
"stage4"
|
43 |
+
],
|
44 |
+
"out_indices": [
|
45 |
+
1,
|
46 |
+
2,
|
47 |
+
3,
|
48 |
+
4
|
49 |
+
],
|
50 |
+
"patch_size": 4,
|
51 |
+
"path_norm": true,
|
52 |
+
"qkv_bias": true,
|
53 |
+
"use_absolute_embeddings": false,
|
54 |
+
"window_size": 7
|
55 |
+
},
|
56 |
+
"backbone_kwargs": null,
|
57 |
+
"hidden_size": 512,
|
58 |
+
"id2label": {
|
59 |
+
"0": "LABEL_0",
|
60 |
+
"1": "LABEL_1",
|
61 |
+
"2": "LABEL_2",
|
62 |
+
"3": "LABEL_3",
|
63 |
+
"4": "LABEL_4",
|
64 |
+
"5": "LABEL_5"
|
65 |
+
},
|
66 |
+
"initializer_range": 0.02,
|
67 |
+
"label2id": {
|
68 |
+
"LABEL_0": 0,
|
69 |
+
"LABEL_1": 1,
|
70 |
+
"LABEL_2": 2,
|
71 |
+
"LABEL_3": 3,
|
72 |
+
"LABEL_4": 4,
|
73 |
+
"LABEL_5": 5
|
74 |
+
},
|
75 |
+
"loss_ignore_index": 255,
|
76 |
+
"model_type": "upernet",
|
77 |
+
"pool_scales": [
|
78 |
+
1,
|
79 |
+
2,
|
80 |
+
3,
|
81 |
+
6
|
82 |
+
],
|
83 |
+
"torch_dtype": "float32",
|
84 |
+
"transformers_version": "4.44.2",
|
85 |
+
"use_auxiliary_head": true,
|
86 |
+
"use_pretrained_backbone": false,
|
87 |
+
"use_timm_backbone": false
|
88 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:32436b42bf8657aac844cef29946642a091d2b165065e80823b094972fc8aa30
|
3 |
+
size 239645424
|
model_150.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b75ac2e1ff9cb38dc4cb0b83c59aa7c18b5ff54b04edcd3a5de4f28c19e2c436
|
3 |
+
size 239733754
|
preprocessor_config.json
ADDED
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"do_normalize": true,
|
3 |
+
"do_reduce_labels": false,
|
4 |
+
"do_rescale": true,
|
5 |
+
"do_resize": true,
|
6 |
+
"image_mean": [
|
7 |
+
0.485,
|
8 |
+
0.456,
|
9 |
+
0.406
|
10 |
+
],
|
11 |
+
"image_processor_type": "SegformerImageProcessor",
|
12 |
+
"image_std": [
|
13 |
+
0.229,
|
14 |
+
0.224,
|
15 |
+
0.225
|
16 |
+
],
|
17 |
+
"resample": 2,
|
18 |
+
"rescale_factor": 0.00392156862745098,
|
19 |
+
"size": {
|
20 |
+
"height": 512,
|
21 |
+
"width": 512
|
22 |
+
}
|
23 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:66511c2675af82b2766eb0671eec7a92cd92ba56559dff1e752dd6e5a36f0338
|
3 |
+
size 5176
|