hf-transformers-bot commited on
Commit
860e3ec
·
verified ·
1 Parent(s): cdd9c6a

Update tiny models for VideomtForUniversalSegmentation

Browse files
Files changed (3) hide show
  1. config.json +50 -0
  2. model.safetensors +3 -0
  3. video_preprocessor_config.json +30 -0
config.json ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "VideomtForUniversalSegmentation"
4
+ ],
5
+ "attention_dropout": 0.0,
6
+ "class_weight": 2.0,
7
+ "dice_weight": 5.0,
8
+ "drop_path_rate": 0.0,
9
+ "dtype": "float32",
10
+ "hidden_act": "gelu",
11
+ "hidden_dropout_prob": 0.0,
12
+ "hidden_size": 8,
13
+ "id2label": {
14
+ "0": "LABEL_0",
15
+ "1": "LABEL_1",
16
+ "2": "LABEL_2",
17
+ "3": "LABEL_3"
18
+ },
19
+ "image_size": 40,
20
+ "importance_sample_ratio": 0.75,
21
+ "initializer_range": 0.02,
22
+ "label2id": {
23
+ "LABEL_0": 0,
24
+ "LABEL_1": 1,
25
+ "LABEL_2": 2,
26
+ "LABEL_3": 3
27
+ },
28
+ "layer_norm_eps": 1e-06,
29
+ "layerscale_value": 1.0,
30
+ "mask_weight": 5.0,
31
+ "mlp_ratio": 4,
32
+ "model_type": "videomt",
33
+ "no_object_weight": 0.1,
34
+ "num_attention_heads": 2,
35
+ "num_blocks": 1,
36
+ "num_channels": 3,
37
+ "num_hidden_layers": 2,
38
+ "num_queries": 5,
39
+ "num_register_tokens": 19,
40
+ "num_upscale_blocks": 2,
41
+ "oversample_ratio": 3.0,
42
+ "patch_size": 2,
43
+ "rope_parameters": {
44
+ "rope_theta": 100.0,
45
+ "rope_type": "default"
46
+ },
47
+ "train_num_points": 12544,
48
+ "transformers_version": "5.16.0.dev0",
49
+ "use_swiglu_ffn": false
50
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:72e93e3fe135488b51ce63b4df1c05fc0ecc672ffb3ca90774d66a7115cc674c
3
+ size 31276
video_preprocessor_config.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "crop_size": {
3
+ "height": 40,
4
+ "width": 40
5
+ },
6
+ "do_center_crop": false,
7
+ "do_convert_rgb": true,
8
+ "do_normalize": true,
9
+ "do_rescale": true,
10
+ "do_resize": true,
11
+ "do_sample_frames": false,
12
+ "image_mean": [
13
+ 0.485,
14
+ 0.456,
15
+ 0.406
16
+ ],
17
+ "image_std": [
18
+ 0.229,
19
+ 0.224,
20
+ 0.225
21
+ ],
22
+ "resample": 2,
23
+ "rescale_factor": 0.00392156862745098,
24
+ "return_metadata": false,
25
+ "size": {
26
+ "height": 40,
27
+ "width": 40
28
+ },
29
+ "video_processor_type": "VideomtVideoProcessor"
30
+ }