nielsr HF staff commited on
Commit
d69e82b
1 Parent(s): 4d5baf8

Upload DPTForDepthEstimation

Browse files
Files changed (2) hide show
  1. config.json +185 -0
  2. model.safetensors +3 -0
config.json ADDED
@@ -0,0 +1,185 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": 1024,
38
+ "id2label": {
39
+ "0": "LABEL_0",
40
+ "1": "LABEL_1"
41
+ },
42
+ "image_size": 512,
43
+ "initializer_range": 0.02,
44
+ "intermediate_size": 4096,
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": 16,
59
+ "num_beam_groups": 1,
60
+ "num_beams": 1,
61
+ "num_channels": 3,
62
+ "num_hidden_layers": 24,
63
+ "num_return_sequences": 1,
64
+ "out_features": [
65
+ "stage6",
66
+ "stage12",
67
+ "stage18",
68
+ "stage24"
69
+ ],
70
+ "out_indices": [
71
+ 6,
72
+ 12,
73
+ 18,
74
+ 24
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
+ "stage13",
112
+ "stage14",
113
+ "stage15",
114
+ "stage16",
115
+ "stage17",
116
+ "stage18",
117
+ "stage19",
118
+ "stage20",
119
+ "stage21",
120
+ "stage22",
121
+ "stage23",
122
+ "stage24"
123
+ ],
124
+ "suppress_tokens": null,
125
+ "task_specific_params": null,
126
+ "temperature": 1.0,
127
+ "tf_legacy_loss": false,
128
+ "tie_encoder_decoder": false,
129
+ "tie_word_embeddings": true,
130
+ "tokenizer_class": null,
131
+ "top_k": 50,
132
+ "top_p": 1.0,
133
+ "torch_dtype": null,
134
+ "torchscript": false,
135
+ "transformers_version": "4.36.0.dev0",
136
+ "typical_p": 1.0,
137
+ "use_absolute_position_embeddings": false,
138
+ "use_auxiliary_head": true,
139
+ "use_bfloat16": false,
140
+ "use_mask_token": false,
141
+ "use_mean_pooling": true,
142
+ "use_relative_position_bias": true,
143
+ "use_shared_relative_position_bias": false,
144
+ "vocab_size": 8192
145
+ },
146
+ "backbone_featmap_shape": null,
147
+ "backbone_out_indices": null,
148
+ "fusion_hidden_size": 256,
149
+ "head_in_index": -1,
150
+ "hidden_act": "gelu",
151
+ "hidden_dropout_prob": null,
152
+ "hidden_size": 768,
153
+ "image_size": null,
154
+ "initializer_range": 0.02,
155
+ "intermediate_size": null,
156
+ "is_hybrid": false,
157
+ "layer_norm_eps": null,
158
+ "model_type": "dpt",
159
+ "neck_hidden_sizes": [
160
+ 256,
161
+ 512,
162
+ 1024,
163
+ 1024
164
+ ],
165
+ "neck_ignore_stages": [],
166
+ "num_attention_heads": null,
167
+ "num_channels": null,
168
+ "num_hidden_layers": null,
169
+ "patch_size": null,
170
+ "qkv_bias": null,
171
+ "readout_type": "project",
172
+ "reassemble_factors": [
173
+ 4,
174
+ 2,
175
+ 1,
176
+ 0.5
177
+ ],
178
+ "semantic_classifier_dropout": 0.1,
179
+ "semantic_loss_ignore_index": 255,
180
+ "torch_dtype": "float32",
181
+ "transformers_version": null,
182
+ "use_auxiliary_head": true,
183
+ "use_batch_norm_in_fusion_residual": false,
184
+ "use_bias_in_fusion_residual": null
185
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1b8f53dd5004a5c8f33ddf8998803fcf566bfb40b8d189531ac4946d488a7364
3
+ size 1376012724