Commit
·
e00d5ab
1
Parent(s):
9041a18
Upload tiny models for UperNetForSemanticSegmentation
Browse files- config.json +133 -0
- preprocessor_config.json +23 -0
- pytorch_model.bin +3 -0
config.json
ADDED
@@ -0,0 +1,133 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_commit_hash": null,
|
3 |
+
"architectures": [
|
4 |
+
"UperNetForSemanticSegmentation"
|
5 |
+
],
|
6 |
+
"auxiliary_channels": 256,
|
7 |
+
"auxiliary_concat_input": false,
|
8 |
+
"auxiliary_in_channels": 40,
|
9 |
+
"auxiliary_loss_weight": 0.4,
|
10 |
+
"auxiliary_num_convs": 1,
|
11 |
+
"backbone_config": {
|
12 |
+
"_name_or_path": "",
|
13 |
+
"add_cross_attention": false,
|
14 |
+
"architectures": null,
|
15 |
+
"bad_words_ids": null,
|
16 |
+
"begin_suppress_tokens": null,
|
17 |
+
"bos_token_id": null,
|
18 |
+
"chunk_size_feed_forward": 0,
|
19 |
+
"cross_attention_hidden_size": null,
|
20 |
+
"decoder_start_token_id": null,
|
21 |
+
"depths": [
|
22 |
+
2,
|
23 |
+
2,
|
24 |
+
3,
|
25 |
+
2
|
26 |
+
],
|
27 |
+
"diversity_penalty": 0.0,
|
28 |
+
"do_sample": false,
|
29 |
+
"drop_path_rate": 0.0,
|
30 |
+
"early_stopping": false,
|
31 |
+
"encoder_no_repeat_ngram_size": 0,
|
32 |
+
"eos_token_id": null,
|
33 |
+
"exponential_decay_length_penalty": null,
|
34 |
+
"finetuning_task": null,
|
35 |
+
"forced_bos_token_id": null,
|
36 |
+
"forced_eos_token_id": null,
|
37 |
+
"hidden_act": "gelu",
|
38 |
+
"hidden_sizes": [
|
39 |
+
10,
|
40 |
+
20,
|
41 |
+
30,
|
42 |
+
40
|
43 |
+
],
|
44 |
+
"id2label": {
|
45 |
+
"0": "LABEL_0",
|
46 |
+
"1": "LABEL_1"
|
47 |
+
},
|
48 |
+
"image_size": 224,
|
49 |
+
"initializer_range": 0.02,
|
50 |
+
"intermediate_size": 37,
|
51 |
+
"is_decoder": false,
|
52 |
+
"is_encoder_decoder": false,
|
53 |
+
"is_training": true,
|
54 |
+
"label2id": {
|
55 |
+
"LABEL_0": 0,
|
56 |
+
"LABEL_1": 1
|
57 |
+
},
|
58 |
+
"layer_norm_eps": 1e-12,
|
59 |
+
"layer_scale_init_value": 1e-06,
|
60 |
+
"length_penalty": 1.0,
|
61 |
+
"max_length": 20,
|
62 |
+
"min_length": 0,
|
63 |
+
"model_type": "convnext",
|
64 |
+
"no_repeat_ngram_size": 0,
|
65 |
+
"num_beam_groups": 1,
|
66 |
+
"num_beams": 1,
|
67 |
+
"num_channels": 3,
|
68 |
+
"num_return_sequences": 1,
|
69 |
+
"num_stages": 4,
|
70 |
+
"out_features": [
|
71 |
+
"stage2",
|
72 |
+
"stage3",
|
73 |
+
"stage4"
|
74 |
+
],
|
75 |
+
"output_attentions": false,
|
76 |
+
"output_hidden_states": false,
|
77 |
+
"output_scores": false,
|
78 |
+
"pad_token_id": null,
|
79 |
+
"patch_size": 4,
|
80 |
+
"prefix": null,
|
81 |
+
"problem_type": null,
|
82 |
+
"pruned_heads": {},
|
83 |
+
"remove_invalid_values": false,
|
84 |
+
"repetition_penalty": 1.0,
|
85 |
+
"return_dict": true,
|
86 |
+
"return_dict_in_generate": false,
|
87 |
+
"sep_token_id": null,
|
88 |
+
"stage_names": [
|
89 |
+
"stem",
|
90 |
+
"stage1",
|
91 |
+
"stage2",
|
92 |
+
"stage3",
|
93 |
+
"stage4"
|
94 |
+
],
|
95 |
+
"suppress_tokens": null,
|
96 |
+
"task_specific_params": null,
|
97 |
+
"temperature": 1.0,
|
98 |
+
"tf_legacy_loss": false,
|
99 |
+
"tie_encoder_decoder": false,
|
100 |
+
"tie_word_embeddings": true,
|
101 |
+
"tokenizer_class": null,
|
102 |
+
"top_k": 50,
|
103 |
+
"top_p": 1.0,
|
104 |
+
"torch_dtype": null,
|
105 |
+
"torchscript": false,
|
106 |
+
"transformers_version": "4.28.0.dev0",
|
107 |
+
"typical_p": 1.0,
|
108 |
+
"use_bfloat16": false
|
109 |
+
},
|
110 |
+
"hidden_size": 512,
|
111 |
+
"id2label": {
|
112 |
+
"0": "LABEL_0",
|
113 |
+
"1": "LABEL_1",
|
114 |
+
"2": "LABEL_2"
|
115 |
+
},
|
116 |
+
"initializer_range": 0.02,
|
117 |
+
"label2id": {
|
118 |
+
"LABEL_0": 0,
|
119 |
+
"LABEL_1": 1,
|
120 |
+
"LABEL_2": 2
|
121 |
+
},
|
122 |
+
"loss_ignore_index": 255,
|
123 |
+
"model_type": "upernet",
|
124 |
+
"pool_scales": [
|
125 |
+
1,
|
126 |
+
2,
|
127 |
+
3,
|
128 |
+
6
|
129 |
+
],
|
130 |
+
"torch_dtype": "float32",
|
131 |
+
"transformers_version": null,
|
132 |
+
"use_auxiliary_head": true
|
133 |
+
}
|
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 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:bd8d55d2a589305d9c767571080e674bae195cfd5e5bac2b608080f43f25b2c6
|
3 |
+
size 86929089
|