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