Upload DPTForDepthEstimation
Browse files- config.json +173 -0
- model.safetensors +3 -0
config.json
ADDED
@@ -0,0 +1,173 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_commit_hash": null,
|
3 |
+
"add_projection": false,
|
4 |
+
"architectures": [
|
5 |
+
"DPTForDepthEstimation"
|
6 |
+
],
|
7 |
+
"attention_probs_dropout_prob": null,
|
8 |
+
"auxiliary_loss_weight": 0.4,
|
9 |
+
"backbone_config": {
|
10 |
+
"_name_or_path": "",
|
11 |
+
"add_cross_attention": false,
|
12 |
+
"add_fpn": false,
|
13 |
+
"architectures": null,
|
14 |
+
"attention_probs_dropout_prob": 0.0,
|
15 |
+
"auxiliary_channels": 256,
|
16 |
+
"auxiliary_concat_input": false,
|
17 |
+
"auxiliary_loss_weight": 0.4,
|
18 |
+
"auxiliary_num_convs": 1,
|
19 |
+
"bad_words_ids": null,
|
20 |
+
"begin_suppress_tokens": null,
|
21 |
+
"bos_token_id": null,
|
22 |
+
"chunk_size_feed_forward": 0,
|
23 |
+
"cross_attention_hidden_size": null,
|
24 |
+
"decoder_start_token_id": null,
|
25 |
+
"diversity_penalty": 0.0,
|
26 |
+
"do_sample": false,
|
27 |
+
"drop_path_rate": 0.1,
|
28 |
+
"early_stopping": false,
|
29 |
+
"encoder_no_repeat_ngram_size": 0,
|
30 |
+
"eos_token_id": null,
|
31 |
+
"exponential_decay_length_penalty": null,
|
32 |
+
"finetuning_task": null,
|
33 |
+
"forced_bos_token_id": null,
|
34 |
+
"forced_eos_token_id": null,
|
35 |
+
"hidden_act": "gelu",
|
36 |
+
"hidden_dropout_prob": 0.0,
|
37 |
+
"hidden_size": 768,
|
38 |
+
"id2label": {
|
39 |
+
"0": "LABEL_0",
|
40 |
+
"1": "LABEL_1"
|
41 |
+
},
|
42 |
+
"image_size": 384,
|
43 |
+
"initializer_range": 0.02,
|
44 |
+
"intermediate_size": 3072,
|
45 |
+
"is_decoder": false,
|
46 |
+
"is_encoder_decoder": false,
|
47 |
+
"label2id": {
|
48 |
+
"LABEL_0": 0,
|
49 |
+
"LABEL_1": 1
|
50 |
+
},
|
51 |
+
"layer_norm_eps": 1e-12,
|
52 |
+
"layer_scale_init_value": 0.1,
|
53 |
+
"length_penalty": 1.0,
|
54 |
+
"max_length": 20,
|
55 |
+
"min_length": 0,
|
56 |
+
"model_type": "beit",
|
57 |
+
"no_repeat_ngram_size": 0,
|
58 |
+
"num_attention_heads": 12,
|
59 |
+
"num_beam_groups": 1,
|
60 |
+
"num_beams": 1,
|
61 |
+
"num_channels": 3,
|
62 |
+
"num_hidden_layers": 12,
|
63 |
+
"num_return_sequences": 1,
|
64 |
+
"out_features": [
|
65 |
+
"stage3",
|
66 |
+
"stage6",
|
67 |
+
"stage9",
|
68 |
+
"stage12"
|
69 |
+
],
|
70 |
+
"out_indices": [
|
71 |
+
3,
|
72 |
+
6,
|
73 |
+
9,
|
74 |
+
12
|
75 |
+
],
|
76 |
+
"output_attentions": false,
|
77 |
+
"output_hidden_states": false,
|
78 |
+
"output_scores": false,
|
79 |
+
"pad_token_id": null,
|
80 |
+
"patch_size": 16,
|
81 |
+
"pool_scales": [
|
82 |
+
1,
|
83 |
+
2,
|
84 |
+
3,
|
85 |
+
6
|
86 |
+
],
|
87 |
+
"prefix": null,
|
88 |
+
"problem_type": null,
|
89 |
+
"pruned_heads": {},
|
90 |
+
"remove_invalid_values": false,
|
91 |
+
"repetition_penalty": 1.0,
|
92 |
+
"reshape_hidden_states": false,
|
93 |
+
"return_dict": true,
|
94 |
+
"return_dict_in_generate": false,
|
95 |
+
"semantic_loss_ignore_index": 255,
|
96 |
+
"sep_token_id": null,
|
97 |
+
"stage_names": [
|
98 |
+
"stem",
|
99 |
+
"stage1",
|
100 |
+
"stage2",
|
101 |
+
"stage3",
|
102 |
+
"stage4",
|
103 |
+
"stage5",
|
104 |
+
"stage6",
|
105 |
+
"stage7",
|
106 |
+
"stage8",
|
107 |
+
"stage9",
|
108 |
+
"stage10",
|
109 |
+
"stage11",
|
110 |
+
"stage12"
|
111 |
+
],
|
112 |
+
"suppress_tokens": null,
|
113 |
+
"task_specific_params": null,
|
114 |
+
"temperature": 1.0,
|
115 |
+
"tf_legacy_loss": false,
|
116 |
+
"tie_encoder_decoder": false,
|
117 |
+
"tie_word_embeddings": true,
|
118 |
+
"tokenizer_class": null,
|
119 |
+
"top_k": 50,
|
120 |
+
"top_p": 1.0,
|
121 |
+
"torch_dtype": null,
|
122 |
+
"torchscript": false,
|
123 |
+
"transformers_version": "4.36.0.dev0",
|
124 |
+
"typical_p": 1.0,
|
125 |
+
"use_absolute_position_embeddings": false,
|
126 |
+
"use_auxiliary_head": true,
|
127 |
+
"use_bfloat16": false,
|
128 |
+
"use_mask_token": false,
|
129 |
+
"use_mean_pooling": true,
|
130 |
+
"use_relative_position_bias": true,
|
131 |
+
"use_shared_relative_position_bias": false,
|
132 |
+
"vocab_size": 8192
|
133 |
+
},
|
134 |
+
"backbone_featmap_shape": null,
|
135 |
+
"backbone_out_indices": null,
|
136 |
+
"fusion_hidden_size": 256,
|
137 |
+
"head_in_index": -1,
|
138 |
+
"hidden_act": "gelu",
|
139 |
+
"hidden_dropout_prob": null,
|
140 |
+
"hidden_size": 768,
|
141 |
+
"image_size": null,
|
142 |
+
"initializer_range": 0.02,
|
143 |
+
"intermediate_size": null,
|
144 |
+
"is_hybrid": false,
|
145 |
+
"layer_norm_eps": null,
|
146 |
+
"model_type": "dpt",
|
147 |
+
"neck_hidden_sizes": [
|
148 |
+
96,
|
149 |
+
192,
|
150 |
+
384,
|
151 |
+
768
|
152 |
+
],
|
153 |
+
"neck_ignore_stages": [],
|
154 |
+
"num_attention_heads": null,
|
155 |
+
"num_channels": null,
|
156 |
+
"num_hidden_layers": null,
|
157 |
+
"patch_size": null,
|
158 |
+
"qkv_bias": null,
|
159 |
+
"readout_type": "project",
|
160 |
+
"reassemble_factors": [
|
161 |
+
4,
|
162 |
+
2,
|
163 |
+
1,
|
164 |
+
0.5
|
165 |
+
],
|
166 |
+
"semantic_classifier_dropout": 0.1,
|
167 |
+
"semantic_loss_ignore_index": 255,
|
168 |
+
"torch_dtype": "float32",
|
169 |
+
"transformers_version": null,
|
170 |
+
"use_auxiliary_head": true,
|
171 |
+
"use_batch_norm_in_fusion_residual": false,
|
172 |
+
"use_bias_in_fusion_residual": null
|
173 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6ce0e6f0620e5d8fbb515721e6c668c49e24fb738ef6c2f8f0d472b5582170b9
|
3 |
+
size 443080180
|