hf-transformers-bot commited on
Commit
cb31602
·
verified ·
1 Parent(s): 82d7854

Update tiny models for VitMatteForImageMatting

Browse files
Files changed (3) hide show
  1. config.json +57 -0
  2. model.safetensors +3 -0
  3. preprocessor_config.json +18 -0
config.json ADDED
@@ -0,0 +1,57 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "VitMatteForImageMatting"
4
+ ],
5
+ "backbone": null,
6
+ "backbone_config": {
7
+ "drop_path_rate": 0.0,
8
+ "dropout_prob": 0.0,
9
+ "hidden_act": "gelu",
10
+ "hidden_size": 2,
11
+ "image_size": 32,
12
+ "initializer_range": 0.02,
13
+ "is_training": true,
14
+ "layer_norm_eps": 1e-06,
15
+ "mlp_ratio": 4,
16
+ "model_type": "vitdet",
17
+ "num_attention_heads": 2,
18
+ "num_channels": 4,
19
+ "num_hidden_layers": 2,
20
+ "out_features": [
21
+ "stage1"
22
+ ],
23
+ "out_indices": [
24
+ 1
25
+ ],
26
+ "patch_size": 16,
27
+ "pretrain_image_size": 224,
28
+ "qkv_bias": true,
29
+ "residual_block_indices": [],
30
+ "stage_names": [
31
+ "stem",
32
+ "stage1",
33
+ "stage2"
34
+ ],
35
+ "use_absolute_position_embeddings": true,
36
+ "use_relative_position_embeddings": false,
37
+ "window_block_indices": [],
38
+ "window_size": 0
39
+ },
40
+ "batch_norm_eps": 1e-05,
41
+ "convstream_hidden_sizes": [
42
+ 48,
43
+ 96,
44
+ 192
45
+ ],
46
+ "dtype": "float32",
47
+ "fusion_hidden_sizes": [
48
+ 128,
49
+ 64,
50
+ 32,
51
+ 16
52
+ ],
53
+ "hidden_size": 2,
54
+ "initializer_range": 0.02,
55
+ "model_type": "vitmatte",
56
+ "transformers_version": "5.16.0.dev0"
57
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3f2ebd972cd524fc770a066593588e64d75ec4f06a461a7a9cf5a49d6fa0fc93
3
+ size 2433788
preprocessor_config.json ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "do_normalize": true,
3
+ "do_pad": true,
4
+ "do_rescale": true,
5
+ "image_mean": [
6
+ 0.5,
7
+ 0.5,
8
+ 0.5
9
+ ],
10
+ "image_processor_type": "VitMatteImageProcessor",
11
+ "image_std": [
12
+ 0.5,
13
+ 0.5,
14
+ 0.5
15
+ ],
16
+ "rescale_factor": 0.00392156862745098,
17
+ "size_divisor": 32
18
+ }