marcbarouky commited on
Commit
31ba0d1
·
verified ·
1 Parent(s): 8a83de1

Upload folder using huggingface_hub

Browse files
depth_estimator/config.json ADDED
@@ -0,0 +1,473 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_commit_hash": "d49bafe6f381b0fe37ccfc4c8f6a23424b09d6ef",
3
+ "_name_or_path": "/root/.cache/huggingface/hub/models--stabilityai--stable-diffusion-2-depth/snapshots/d49bafe6f381b0fe37ccfc4c8f6a23424b09d6ef/depth_estimator",
4
+ "add_projection": false,
5
+ "architectures": [
6
+ "DPTForDepthEstimation"
7
+ ],
8
+ "attention_probs_dropout_prob": 0.0,
9
+ "auxiliary_loss_weight": 0.4,
10
+ "backbone": null,
11
+ "backbone_config": {
12
+ "_attn_implementation_autoset": false,
13
+ "_name_or_path": "",
14
+ "add_cross_attention": false,
15
+ "architectures": null,
16
+ "bad_words_ids": null,
17
+ "begin_suppress_tokens": null,
18
+ "bos_token_id": null,
19
+ "chunk_size_feed_forward": 0,
20
+ "cross_attention_hidden_size": null,
21
+ "decoder_start_token_id": null,
22
+ "depths": [
23
+ 3,
24
+ 4,
25
+ 9
26
+ ],
27
+ "diversity_penalty": 0.0,
28
+ "do_sample": false,
29
+ "drop_path_rate": 0.0,
30
+ "early_stopping": false,
31
+ "embedding_dynamic_padding": true,
32
+ "embedding_size": 64,
33
+ "encoder_no_repeat_ngram_size": 0,
34
+ "eos_token_id": null,
35
+ "exponential_decay_length_penalty": null,
36
+ "finetuning_task": null,
37
+ "forced_bos_token_id": null,
38
+ "forced_eos_token_id": null,
39
+ "global_padding": "SAME",
40
+ "hidden_act": "relu",
41
+ "hidden_sizes": [
42
+ 256,
43
+ 512,
44
+ 1024,
45
+ 2048
46
+ ],
47
+ "id2label": {
48
+ "0": "LABEL_0",
49
+ "1": "LABEL_1"
50
+ },
51
+ "is_decoder": false,
52
+ "is_encoder_decoder": false,
53
+ "label2id": {
54
+ "LABEL_0": 0,
55
+ "LABEL_1": 1
56
+ },
57
+ "layer_type": "bottleneck",
58
+ "length_penalty": 1.0,
59
+ "max_length": 20,
60
+ "min_length": 0,
61
+ "model_type": "bit",
62
+ "no_repeat_ngram_size": 0,
63
+ "num_beam_groups": 1,
64
+ "num_beams": 1,
65
+ "num_channels": 3,
66
+ "num_groups": 32,
67
+ "num_return_sequences": 1,
68
+ "out_features": [
69
+ "stage1",
70
+ "stage2",
71
+ "stage3"
72
+ ],
73
+ "out_indices": [
74
+ 1,
75
+ 2,
76
+ 3
77
+ ],
78
+ "output_attentions": false,
79
+ "output_hidden_states": false,
80
+ "output_scores": false,
81
+ "output_stride": 32,
82
+ "pad_token_id": null,
83
+ "prefix": null,
84
+ "problem_type": null,
85
+ "pruned_heads": {},
86
+ "remove_invalid_values": false,
87
+ "repetition_penalty": 1.0,
88
+ "return_dict": true,
89
+ "return_dict_in_generate": false,
90
+ "sep_token_id": null,
91
+ "stage_names": [
92
+ "stem",
93
+ "stage1",
94
+ "stage2",
95
+ "stage3"
96
+ ],
97
+ "suppress_tokens": null,
98
+ "task_specific_params": null,
99
+ "temperature": 1.0,
100
+ "tf_legacy_loss": false,
101
+ "tie_encoder_decoder": false,
102
+ "tie_word_embeddings": true,
103
+ "tokenizer_class": null,
104
+ "top_k": 50,
105
+ "top_p": 1.0,
106
+ "torch_dtype": null,
107
+ "torchscript": false,
108
+ "transformers_version": "4.49.0",
109
+ "typical_p": 1.0,
110
+ "use_bfloat16": false,
111
+ "width_factor": 1
112
+ },
113
+ "backbone_featmap_shape": [
114
+ 1,
115
+ 1024,
116
+ 24,
117
+ 24
118
+ ],
119
+ "backbone_kwargs": null,
120
+ "backbone_out_indices": [
121
+ 2,
122
+ 5,
123
+ 8,
124
+ 11
125
+ ],
126
+ "fusion_hidden_size": 256,
127
+ "head_in_index": -1,
128
+ "hidden_act": "gelu",
129
+ "hidden_dropout_prob": 0.0,
130
+ "hidden_size": 768,
131
+ "id2label": {
132
+ "0": "LABEL_0",
133
+ "1": "LABEL_1",
134
+ "2": "LABEL_2",
135
+ "3": "LABEL_3",
136
+ "4": "LABEL_4",
137
+ "5": "LABEL_5",
138
+ "6": "LABEL_6",
139
+ "7": "LABEL_7",
140
+ "8": "LABEL_8",
141
+ "9": "LABEL_9",
142
+ "10": "LABEL_10",
143
+ "11": "LABEL_11",
144
+ "12": "LABEL_12",
145
+ "13": "LABEL_13",
146
+ "14": "LABEL_14",
147
+ "15": "LABEL_15",
148
+ "16": "LABEL_16",
149
+ "17": "LABEL_17",
150
+ "18": "LABEL_18",
151
+ "19": "LABEL_19",
152
+ "20": "LABEL_20",
153
+ "21": "LABEL_21",
154
+ "22": "LABEL_22",
155
+ "23": "LABEL_23",
156
+ "24": "LABEL_24",
157
+ "25": "LABEL_25",
158
+ "26": "LABEL_26",
159
+ "27": "LABEL_27",
160
+ "28": "LABEL_28",
161
+ "29": "LABEL_29",
162
+ "30": "LABEL_30",
163
+ "31": "LABEL_31",
164
+ "32": "LABEL_32",
165
+ "33": "LABEL_33",
166
+ "34": "LABEL_34",
167
+ "35": "LABEL_35",
168
+ "36": "LABEL_36",
169
+ "37": "LABEL_37",
170
+ "38": "LABEL_38",
171
+ "39": "LABEL_39",
172
+ "40": "LABEL_40",
173
+ "41": "LABEL_41",
174
+ "42": "LABEL_42",
175
+ "43": "LABEL_43",
176
+ "44": "LABEL_44",
177
+ "45": "LABEL_45",
178
+ "46": "LABEL_46",
179
+ "47": "LABEL_47",
180
+ "48": "LABEL_48",
181
+ "49": "LABEL_49",
182
+ "50": "LABEL_50",
183
+ "51": "LABEL_51",
184
+ "52": "LABEL_52",
185
+ "53": "LABEL_53",
186
+ "54": "LABEL_54",
187
+ "55": "LABEL_55",
188
+ "56": "LABEL_56",
189
+ "57": "LABEL_57",
190
+ "58": "LABEL_58",
191
+ "59": "LABEL_59",
192
+ "60": "LABEL_60",
193
+ "61": "LABEL_61",
194
+ "62": "LABEL_62",
195
+ "63": "LABEL_63",
196
+ "64": "LABEL_64",
197
+ "65": "LABEL_65",
198
+ "66": "LABEL_66",
199
+ "67": "LABEL_67",
200
+ "68": "LABEL_68",
201
+ "69": "LABEL_69",
202
+ "70": "LABEL_70",
203
+ "71": "LABEL_71",
204
+ "72": "LABEL_72",
205
+ "73": "LABEL_73",
206
+ "74": "LABEL_74",
207
+ "75": "LABEL_75",
208
+ "76": "LABEL_76",
209
+ "77": "LABEL_77",
210
+ "78": "LABEL_78",
211
+ "79": "LABEL_79",
212
+ "80": "LABEL_80",
213
+ "81": "LABEL_81",
214
+ "82": "LABEL_82",
215
+ "83": "LABEL_83",
216
+ "84": "LABEL_84",
217
+ "85": "LABEL_85",
218
+ "86": "LABEL_86",
219
+ "87": "LABEL_87",
220
+ "88": "LABEL_88",
221
+ "89": "LABEL_89",
222
+ "90": "LABEL_90",
223
+ "91": "LABEL_91",
224
+ "92": "LABEL_92",
225
+ "93": "LABEL_93",
226
+ "94": "LABEL_94",
227
+ "95": "LABEL_95",
228
+ "96": "LABEL_96",
229
+ "97": "LABEL_97",
230
+ "98": "LABEL_98",
231
+ "99": "LABEL_99",
232
+ "100": "LABEL_100",
233
+ "101": "LABEL_101",
234
+ "102": "LABEL_102",
235
+ "103": "LABEL_103",
236
+ "104": "LABEL_104",
237
+ "105": "LABEL_105",
238
+ "106": "LABEL_106",
239
+ "107": "LABEL_107",
240
+ "108": "LABEL_108",
241
+ "109": "LABEL_109",
242
+ "110": "LABEL_110",
243
+ "111": "LABEL_111",
244
+ "112": "LABEL_112",
245
+ "113": "LABEL_113",
246
+ "114": "LABEL_114",
247
+ "115": "LABEL_115",
248
+ "116": "LABEL_116",
249
+ "117": "LABEL_117",
250
+ "118": "LABEL_118",
251
+ "119": "LABEL_119",
252
+ "120": "LABEL_120",
253
+ "121": "LABEL_121",
254
+ "122": "LABEL_122",
255
+ "123": "LABEL_123",
256
+ "124": "LABEL_124",
257
+ "125": "LABEL_125",
258
+ "126": "LABEL_126",
259
+ "127": "LABEL_127",
260
+ "128": "LABEL_128",
261
+ "129": "LABEL_129",
262
+ "130": "LABEL_130",
263
+ "131": "LABEL_131",
264
+ "132": "LABEL_132",
265
+ "133": "LABEL_133",
266
+ "134": "LABEL_134",
267
+ "135": "LABEL_135",
268
+ "136": "LABEL_136",
269
+ "137": "LABEL_137",
270
+ "138": "LABEL_138",
271
+ "139": "LABEL_139",
272
+ "140": "LABEL_140",
273
+ "141": "LABEL_141",
274
+ "142": "LABEL_142",
275
+ "143": "LABEL_143",
276
+ "144": "LABEL_144",
277
+ "145": "LABEL_145",
278
+ "146": "LABEL_146",
279
+ "147": "LABEL_147",
280
+ "148": "LABEL_148",
281
+ "149": "LABEL_149"
282
+ },
283
+ "image_size": 384,
284
+ "initializer_range": 0.02,
285
+ "intermediate_size": 3072,
286
+ "is_hybrid": true,
287
+ "label2id": {
288
+ "LABEL_0": 0,
289
+ "LABEL_1": 1,
290
+ "LABEL_10": 10,
291
+ "LABEL_100": 100,
292
+ "LABEL_101": 101,
293
+ "LABEL_102": 102,
294
+ "LABEL_103": 103,
295
+ "LABEL_104": 104,
296
+ "LABEL_105": 105,
297
+ "LABEL_106": 106,
298
+ "LABEL_107": 107,
299
+ "LABEL_108": 108,
300
+ "LABEL_109": 109,
301
+ "LABEL_11": 11,
302
+ "LABEL_110": 110,
303
+ "LABEL_111": 111,
304
+ "LABEL_112": 112,
305
+ "LABEL_113": 113,
306
+ "LABEL_114": 114,
307
+ "LABEL_115": 115,
308
+ "LABEL_116": 116,
309
+ "LABEL_117": 117,
310
+ "LABEL_118": 118,
311
+ "LABEL_119": 119,
312
+ "LABEL_12": 12,
313
+ "LABEL_120": 120,
314
+ "LABEL_121": 121,
315
+ "LABEL_122": 122,
316
+ "LABEL_123": 123,
317
+ "LABEL_124": 124,
318
+ "LABEL_125": 125,
319
+ "LABEL_126": 126,
320
+ "LABEL_127": 127,
321
+ "LABEL_128": 128,
322
+ "LABEL_129": 129,
323
+ "LABEL_13": 13,
324
+ "LABEL_130": 130,
325
+ "LABEL_131": 131,
326
+ "LABEL_132": 132,
327
+ "LABEL_133": 133,
328
+ "LABEL_134": 134,
329
+ "LABEL_135": 135,
330
+ "LABEL_136": 136,
331
+ "LABEL_137": 137,
332
+ "LABEL_138": 138,
333
+ "LABEL_139": 139,
334
+ "LABEL_14": 14,
335
+ "LABEL_140": 140,
336
+ "LABEL_141": 141,
337
+ "LABEL_142": 142,
338
+ "LABEL_143": 143,
339
+ "LABEL_144": 144,
340
+ "LABEL_145": 145,
341
+ "LABEL_146": 146,
342
+ "LABEL_147": 147,
343
+ "LABEL_148": 148,
344
+ "LABEL_149": 149,
345
+ "LABEL_15": 15,
346
+ "LABEL_16": 16,
347
+ "LABEL_17": 17,
348
+ "LABEL_18": 18,
349
+ "LABEL_19": 19,
350
+ "LABEL_2": 2,
351
+ "LABEL_20": 20,
352
+ "LABEL_21": 21,
353
+ "LABEL_22": 22,
354
+ "LABEL_23": 23,
355
+ "LABEL_24": 24,
356
+ "LABEL_25": 25,
357
+ "LABEL_26": 26,
358
+ "LABEL_27": 27,
359
+ "LABEL_28": 28,
360
+ "LABEL_29": 29,
361
+ "LABEL_3": 3,
362
+ "LABEL_30": 30,
363
+ "LABEL_31": 31,
364
+ "LABEL_32": 32,
365
+ "LABEL_33": 33,
366
+ "LABEL_34": 34,
367
+ "LABEL_35": 35,
368
+ "LABEL_36": 36,
369
+ "LABEL_37": 37,
370
+ "LABEL_38": 38,
371
+ "LABEL_39": 39,
372
+ "LABEL_4": 4,
373
+ "LABEL_40": 40,
374
+ "LABEL_41": 41,
375
+ "LABEL_42": 42,
376
+ "LABEL_43": 43,
377
+ "LABEL_44": 44,
378
+ "LABEL_45": 45,
379
+ "LABEL_46": 46,
380
+ "LABEL_47": 47,
381
+ "LABEL_48": 48,
382
+ "LABEL_49": 49,
383
+ "LABEL_5": 5,
384
+ "LABEL_50": 50,
385
+ "LABEL_51": 51,
386
+ "LABEL_52": 52,
387
+ "LABEL_53": 53,
388
+ "LABEL_54": 54,
389
+ "LABEL_55": 55,
390
+ "LABEL_56": 56,
391
+ "LABEL_57": 57,
392
+ "LABEL_58": 58,
393
+ "LABEL_59": 59,
394
+ "LABEL_6": 6,
395
+ "LABEL_60": 60,
396
+ "LABEL_61": 61,
397
+ "LABEL_62": 62,
398
+ "LABEL_63": 63,
399
+ "LABEL_64": 64,
400
+ "LABEL_65": 65,
401
+ "LABEL_66": 66,
402
+ "LABEL_67": 67,
403
+ "LABEL_68": 68,
404
+ "LABEL_69": 69,
405
+ "LABEL_7": 7,
406
+ "LABEL_70": 70,
407
+ "LABEL_71": 71,
408
+ "LABEL_72": 72,
409
+ "LABEL_73": 73,
410
+ "LABEL_74": 74,
411
+ "LABEL_75": 75,
412
+ "LABEL_76": 76,
413
+ "LABEL_77": 77,
414
+ "LABEL_78": 78,
415
+ "LABEL_79": 79,
416
+ "LABEL_8": 8,
417
+ "LABEL_80": 80,
418
+ "LABEL_81": 81,
419
+ "LABEL_82": 82,
420
+ "LABEL_83": 83,
421
+ "LABEL_84": 84,
422
+ "LABEL_85": 85,
423
+ "LABEL_86": 86,
424
+ "LABEL_87": 87,
425
+ "LABEL_88": 88,
426
+ "LABEL_89": 89,
427
+ "LABEL_9": 9,
428
+ "LABEL_90": 90,
429
+ "LABEL_91": 91,
430
+ "LABEL_92": 92,
431
+ "LABEL_93": 93,
432
+ "LABEL_94": 94,
433
+ "LABEL_95": 95,
434
+ "LABEL_96": 96,
435
+ "LABEL_97": 97,
436
+ "LABEL_98": 98,
437
+ "LABEL_99": 99
438
+ },
439
+ "layer_norm_eps": 1e-12,
440
+ "model_type": "dpt",
441
+ "neck_hidden_sizes": [
442
+ 256,
443
+ 512,
444
+ 768,
445
+ 768
446
+ ],
447
+ "neck_ignore_stages": [
448
+ 0,
449
+ 1
450
+ ],
451
+ "num_attention_heads": 12,
452
+ "num_channels": 3,
453
+ "num_hidden_layers": 12,
454
+ "patch_size": 16,
455
+ "qkv_bias": true,
456
+ "readout_type": "project",
457
+ "reassemble_factors": [
458
+ 1,
459
+ 1,
460
+ 1,
461
+ 0.5
462
+ ],
463
+ "semantic_classifier_dropout": 0.1,
464
+ "semantic_loss_ignore_index": 255,
465
+ "torch_dtype": "float32",
466
+ "transformers_version": null,
467
+ "use_autobackbone": false,
468
+ "use_auxiliary_head": true,
469
+ "use_batch_norm_in_fusion_residual": false,
470
+ "use_bias_in_fusion_residual": null,
471
+ "use_pretrained_backbone": false,
472
+ "use_timm_backbone": false
473
+ }
depth_estimator/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9599793d3ce64d7ebc85657360831596c1df9abc61f6820fe623fe7efb2e29c5
3
+ size 489563460
feature_extractor/preprocessor_config.json ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "do_normalize": true,
3
+ "do_pad": false,
4
+ "do_reduce_labels": false,
5
+ "do_rescale": true,
6
+ "do_resize": true,
7
+ "ensure_multiple_of": 1,
8
+ "image_mean": [
9
+ 0.5,
10
+ 0.5,
11
+ 0.5
12
+ ],
13
+ "image_processor_type": "DPTImageProcessor",
14
+ "image_std": [
15
+ 0.5,
16
+ 0.5,
17
+ 0.5
18
+ ],
19
+ "keep_aspect_ratio": false,
20
+ "resample": 2,
21
+ "rescale_factor": 0.00392156862745098,
22
+ "size": {
23
+ "height": 384,
24
+ "width": 384
25
+ },
26
+ "size_divisor": null
27
+ }
model_index.json ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "StableDiffusionDepth2ImgPipeline",
3
+ "_diffusers_version": "0.32.2",
4
+ "_name_or_path": "stabilityai/stable-diffusion-2-depth",
5
+ "depth_estimator": [
6
+ "transformers",
7
+ "DPTForDepthEstimation"
8
+ ],
9
+ "feature_extractor": [
10
+ "transformers",
11
+ "DPTImageProcessor"
12
+ ],
13
+ "scheduler": [
14
+ "diffusers",
15
+ "PNDMScheduler"
16
+ ],
17
+ "text_encoder": [
18
+ "transformers",
19
+ "CLIPTextModel"
20
+ ],
21
+ "tokenizer": [
22
+ "transformers",
23
+ "CLIPTokenizer"
24
+ ],
25
+ "unet": [
26
+ "diffusers",
27
+ "UNet2DConditionModel"
28
+ ],
29
+ "vae": [
30
+ "diffusers",
31
+ "AutoencoderKL"
32
+ ]
33
+ }
scheduler/scheduler_config.json ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "PNDMScheduler",
3
+ "_diffusers_version": "0.32.2",
4
+ "beta_end": 0.012,
5
+ "beta_schedule": "scaled_linear",
6
+ "beta_start": 0.00085,
7
+ "clip_sample": false,
8
+ "num_train_timesteps": 1000,
9
+ "prediction_type": "epsilon",
10
+ "set_alpha_to_one": false,
11
+ "skip_prk_steps": true,
12
+ "steps_offset": 1,
13
+ "timestep_spacing": "leading",
14
+ "trained_betas": null
15
+ }
text_encoder/config.json ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "stabilityai/stable-diffusion-2-depth",
3
+ "architectures": [
4
+ "CLIPTextModel"
5
+ ],
6
+ "attention_dropout": 0.0,
7
+ "bos_token_id": 0,
8
+ "dropout": 0.0,
9
+ "eos_token_id": 2,
10
+ "hidden_act": "gelu",
11
+ "hidden_size": 1024,
12
+ "initializer_factor": 1.0,
13
+ "initializer_range": 0.02,
14
+ "intermediate_size": 4096,
15
+ "layer_norm_eps": 1e-05,
16
+ "max_position_embeddings": 77,
17
+ "model_type": "clip_text_model",
18
+ "num_attention_heads": 16,
19
+ "num_hidden_layers": 23,
20
+ "pad_token_id": 1,
21
+ "projection_dim": 512,
22
+ "torch_dtype": "float32",
23
+ "transformers_version": "4.49.0",
24
+ "vocab_size": 49415
25
+ }
text_encoder/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a3b7a6c28104ad698b40530a3dc68fee490d7033b1a798d869ce6060fb7bb792
3
+ size 1361624976
tokenizer/added_tokens.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "<back>": 49410,
3
+ "<bottom>": 49413,
4
+ "<front>": 49408,
5
+ "<left>": 49409,
6
+ "<object>": 49414,
7
+ "<overhead>": 49412,
8
+ "<right>": 49411
9
+ }
tokenizer/merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer/special_tokens_map.json ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "<|startoftext|>",
4
+ "lstrip": false,
5
+ "normalized": true,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "eos_token": {
10
+ "content": "<|endoftext|>",
11
+ "lstrip": false,
12
+ "normalized": true,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "pad_token": "!",
17
+ "unk_token": {
18
+ "content": "<|endoftext|>",
19
+ "lstrip": false,
20
+ "normalized": true,
21
+ "rstrip": false,
22
+ "single_word": false
23
+ }
24
+ }
tokenizer/tokenizer_config.json ADDED
@@ -0,0 +1,96 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "added_tokens_decoder": {
4
+ "0": {
5
+ "content": "!",
6
+ "lstrip": false,
7
+ "normalized": false,
8
+ "rstrip": false,
9
+ "single_word": false,
10
+ "special": true
11
+ },
12
+ "49406": {
13
+ "content": "<|startoftext|>",
14
+ "lstrip": false,
15
+ "normalized": true,
16
+ "rstrip": false,
17
+ "single_word": false,
18
+ "special": true
19
+ },
20
+ "49407": {
21
+ "content": "<|endoftext|>",
22
+ "lstrip": false,
23
+ "normalized": true,
24
+ "rstrip": false,
25
+ "single_word": false,
26
+ "special": true
27
+ },
28
+ "49408": {
29
+ "content": "<front>",
30
+ "lstrip": false,
31
+ "normalized": true,
32
+ "rstrip": false,
33
+ "single_word": false,
34
+ "special": false
35
+ },
36
+ "49409": {
37
+ "content": "<left>",
38
+ "lstrip": false,
39
+ "normalized": true,
40
+ "rstrip": false,
41
+ "single_word": false,
42
+ "special": false
43
+ },
44
+ "49410": {
45
+ "content": "<back>",
46
+ "lstrip": false,
47
+ "normalized": true,
48
+ "rstrip": false,
49
+ "single_word": false,
50
+ "special": false
51
+ },
52
+ "49411": {
53
+ "content": "<right>",
54
+ "lstrip": false,
55
+ "normalized": true,
56
+ "rstrip": false,
57
+ "single_word": false,
58
+ "special": false
59
+ },
60
+ "49412": {
61
+ "content": "<overhead>",
62
+ "lstrip": false,
63
+ "normalized": true,
64
+ "rstrip": false,
65
+ "single_word": false,
66
+ "special": false
67
+ },
68
+ "49413": {
69
+ "content": "<bottom>",
70
+ "lstrip": false,
71
+ "normalized": true,
72
+ "rstrip": false,
73
+ "single_word": false,
74
+ "special": false
75
+ },
76
+ "49414": {
77
+ "content": "<object>",
78
+ "lstrip": false,
79
+ "normalized": true,
80
+ "rstrip": false,
81
+ "single_word": false,
82
+ "special": false
83
+ }
84
+ },
85
+ "bos_token": "<|startoftext|>",
86
+ "clean_up_tokenization_spaces": false,
87
+ "do_lower_case": true,
88
+ "eos_token": "<|endoftext|>",
89
+ "errors": "replace",
90
+ "extra_special_tokens": {},
91
+ "model_max_length": 77,
92
+ "pad_token": "!",
93
+ "tokenizer_class": "CLIPTokenizer",
94
+ "unk_token": "<|endoftext|>",
95
+ "use_fast": false
96
+ }
tokenizer/vocab.json ADDED
The diff for this file is too large to render. See raw diff
 
unet/config.json ADDED
@@ -0,0 +1,73 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "UNet2DConditionModel",
3
+ "_diffusers_version": "0.32.2",
4
+ "_name_or_path": "stabilityai/stable-diffusion-2-depth",
5
+ "act_fn": "silu",
6
+ "addition_embed_type": null,
7
+ "addition_embed_type_num_heads": 64,
8
+ "addition_time_embed_dim": null,
9
+ "attention_head_dim": [
10
+ 5,
11
+ 10,
12
+ 20,
13
+ 20
14
+ ],
15
+ "attention_type": "default",
16
+ "block_out_channels": [
17
+ 320,
18
+ 640,
19
+ 1280,
20
+ 1280
21
+ ],
22
+ "center_input_sample": false,
23
+ "class_embed_type": null,
24
+ "class_embeddings_concat": false,
25
+ "conv_in_kernel": 3,
26
+ "conv_out_kernel": 3,
27
+ "cross_attention_dim": 1024,
28
+ "cross_attention_norm": null,
29
+ "down_block_types": [
30
+ "CrossAttnDownBlock2D",
31
+ "CrossAttnDownBlock2D",
32
+ "CrossAttnDownBlock2D",
33
+ "DownBlock2D"
34
+ ],
35
+ "downsample_padding": 1,
36
+ "dropout": 0.0,
37
+ "dual_cross_attention": false,
38
+ "encoder_hid_dim": null,
39
+ "encoder_hid_dim_type": null,
40
+ "flip_sin_to_cos": true,
41
+ "freq_shift": 0,
42
+ "in_channels": 5,
43
+ "layers_per_block": 2,
44
+ "mid_block_only_cross_attention": null,
45
+ "mid_block_scale_factor": 1,
46
+ "mid_block_type": "UNetMidBlock2DCrossAttn",
47
+ "norm_eps": 1e-05,
48
+ "norm_num_groups": 32,
49
+ "num_attention_heads": null,
50
+ "num_class_embeds": null,
51
+ "only_cross_attention": false,
52
+ "out_channels": 4,
53
+ "projection_class_embeddings_input_dim": null,
54
+ "resnet_out_scale_factor": 1.0,
55
+ "resnet_skip_time_act": false,
56
+ "resnet_time_scale_shift": "default",
57
+ "reverse_transformer_layers_per_block": null,
58
+ "sample_size": 32,
59
+ "time_cond_proj_dim": null,
60
+ "time_embedding_act_fn": null,
61
+ "time_embedding_dim": null,
62
+ "time_embedding_type": "positional",
63
+ "timestep_post_act": null,
64
+ "transformer_layers_per_block": 1,
65
+ "up_block_types": [
66
+ "UpBlock2D",
67
+ "CrossAttnUpBlock2D",
68
+ "CrossAttnUpBlock2D",
69
+ "CrossAttnUpBlock2D"
70
+ ],
71
+ "upcast_attention": false,
72
+ "use_linear_projection": true
73
+ }
unet/diffusion_pytorch_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:151a0813ca126d9dfabcc6865f42a93611fc2e8029c016c93d77a798f0ca656c
3
+ size 3463738032
vae/config.json ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "AutoencoderKL",
3
+ "_diffusers_version": "0.32.2",
4
+ "_name_or_path": "/root/.cache/huggingface/hub/models--stabilityai--stable-diffusion-2-depth/snapshots/d49bafe6f381b0fe37ccfc4c8f6a23424b09d6ef/vae",
5
+ "act_fn": "silu",
6
+ "block_out_channels": [
7
+ 128,
8
+ 256,
9
+ 512,
10
+ 512
11
+ ],
12
+ "down_block_types": [
13
+ "DownEncoderBlock2D",
14
+ "DownEncoderBlock2D",
15
+ "DownEncoderBlock2D",
16
+ "DownEncoderBlock2D"
17
+ ],
18
+ "force_upcast": true,
19
+ "in_channels": 3,
20
+ "latent_channels": 4,
21
+ "latents_mean": null,
22
+ "latents_std": null,
23
+ "layers_per_block": 2,
24
+ "mid_block_add_attention": true,
25
+ "norm_num_groups": 32,
26
+ "out_channels": 3,
27
+ "sample_size": 256,
28
+ "scaling_factor": 0.18215,
29
+ "shift_factor": null,
30
+ "up_block_types": [
31
+ "UpDecoderBlock2D",
32
+ "UpDecoderBlock2D",
33
+ "UpDecoderBlock2D",
34
+ "UpDecoderBlock2D"
35
+ ],
36
+ "use_post_quant_conv": true,
37
+ "use_quant_conv": true
38
+ }
vae/diffusion_pytorch_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2aa1f43011b553a4cba7f37456465cdbd48aab7b54b9348b890e8058ea7683ec
3
+ size 334643268