hf-transformers-bot commited on
Commit
e7bf4df
·
verified ·
1 Parent(s): 39e7f62

Update tiny models for DPTModel

Browse files
Files changed (3) hide show
  1. config.json +54 -0
  2. model.safetensors +3 -0
  3. preprocessor_config.json +29 -0
config.json ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_projection": false,
3
+ "architectures": [
4
+ "DPTModel"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "auxiliary_loss_weight": 0.4,
8
+ "backbone_config": null,
9
+ "backbone_featmap_shape": null,
10
+ "backbone_out_indices": [
11
+ 0,
12
+ 1,
13
+ 2,
14
+ 3
15
+ ],
16
+ "dtype": "float32",
17
+ "fusion_hidden_size": 32,
18
+ "head_in_index": -1,
19
+ "hidden_act": "gelu",
20
+ "hidden_dropout_prob": 0.1,
21
+ "hidden_size": 32,
22
+ "image_size": 32,
23
+ "initializer_range": 0.02,
24
+ "intermediate_size": 37,
25
+ "is_decoder": false,
26
+ "is_hybrid": false,
27
+ "layer_norm_eps": 1e-12,
28
+ "model_type": "dpt",
29
+ "neck_hidden_sizes": [
30
+ 16,
31
+ 32
32
+ ],
33
+ "neck_ignore_stages": [],
34
+ "num_attention_heads": 4,
35
+ "num_channels": 3,
36
+ "num_hidden_layers": 2,
37
+ "patch_size": 16,
38
+ "pooler_act": "tanh",
39
+ "pooler_output_size": 32,
40
+ "qkv_bias": true,
41
+ "readout_type": "project",
42
+ "reassemble_factors": [
43
+ 4,
44
+ 2,
45
+ 1,
46
+ 0.5
47
+ ],
48
+ "semantic_classifier_dropout": 0.1,
49
+ "semantic_loss_ignore_index": 255,
50
+ "transformers_version": "5.16.0.dev0",
51
+ "use_auxiliary_head": true,
52
+ "use_batch_norm_in_fusion_residual": false,
53
+ "use_bias_in_fusion_residual": null
54
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ca4e681a3a68bd91701a1cc91a48d586a57f886abf3364fd6917353affa259e2
3
+ size 162120
preprocessor_config.json ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "crop_size": {
3
+ "height": 32,
4
+ "width": 32
5
+ },
6
+ "do_normalize": true,
7
+ "do_pad": false,
8
+ "do_rescale": true,
9
+ "do_resize": true,
10
+ "ensure_multiple_of": 1,
11
+ "image_mean": [
12
+ 0.5,
13
+ 0.5,
14
+ 0.5
15
+ ],
16
+ "image_processor_type": "DPTImageProcessor",
17
+ "image_std": [
18
+ 0.5,
19
+ 0.5,
20
+ 0.5
21
+ ],
22
+ "keep_aspect_ratio": false,
23
+ "resample": 3,
24
+ "rescale_factor": 0.00392156862745098,
25
+ "size": {
26
+ "height": 32,
27
+ "width": 32
28
+ }
29
+ }