jyoung105 commited on
Commit
0c40fce
·
verified ·
1 Parent(s): 9264da1

Upload 3 files

Browse files
Files changed (3) hide show
  1. config.json +51 -0
  2. model.safetensors +3 -0
  3. preprocessor_config.json +18 -0
config.json ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_commit_hash": null,
3
+ "architectures": [
4
+ "VitMatteForImageMatting"
5
+ ],
6
+ "backbone_config": {
7
+ "image_size": 512,
8
+ "model_type": "vitdet",
9
+ "num_channels": 4,
10
+ "out_features": [
11
+ "stage12"
12
+ ],
13
+ "out_indices": [
14
+ 12
15
+ ],
16
+ "residual_block_indices": [
17
+ 2,
18
+ 5,
19
+ 8,
20
+ 11
21
+ ],
22
+ "use_relative_position_embeddings": true,
23
+ "window_block_indices": [
24
+ 0,
25
+ 1,
26
+ 3,
27
+ 4,
28
+ 6,
29
+ 7,
30
+ 9,
31
+ 10
32
+ ],
33
+ "window_size": 14
34
+ },
35
+ "convstream_hidden_sizes": [
36
+ 48,
37
+ 96,
38
+ 192
39
+ ],
40
+ "fusion_hidden_sizes": [
41
+ 256,
42
+ 128,
43
+ 64,
44
+ 32
45
+ ],
46
+ "hidden_size": 768,
47
+ "initializer_range": 0.02,
48
+ "model_type": "vitmatte",
49
+ "torch_dtype": "float32",
50
+ "transformers_version": null
51
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0d1e43962bfc6daecec29a76b90194b51902ad0286dfaaf91e1b8a4f17d15348
3
+ size 386782180
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_divisibility": 32
18
+ }