hf-transformers-bot HF Staff commited on
Commit
8351d2c
·
verified ·
1 Parent(s): 36a777b

Update tiny models for EomtDinov3ForUniversalSegmentation

Browse files
Files changed (3) hide show
  1. config.json +58 -0
  2. model.safetensors +3 -0
  3. preprocessor_config.json +28 -0
config.json ADDED
@@ -0,0 +1,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "EomtDinov3ForUniversalSegmentation"
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
+ "intermediate_size": 4096,
23
+ "key_bias": false,
24
+ "label2id": {
25
+ "LABEL_0": 0,
26
+ "LABEL_1": 1,
27
+ "LABEL_2": 2,
28
+ "LABEL_3": 3
29
+ },
30
+ "layer_norm_eps": 1e-06,
31
+ "layerscale_value": 1.0,
32
+ "mask_weight": 5.0,
33
+ "mlp_bias": true,
34
+ "model_type": "eomt_dinov3",
35
+ "no_object_weight": 0.1,
36
+ "num_attention_heads": 2,
37
+ "num_blocks": 1,
38
+ "num_channels": 3,
39
+ "num_hidden_layers": 2,
40
+ "num_queries": 5,
41
+ "num_register_tokens": 19,
42
+ "num_upscale_blocks": 2,
43
+ "oversample_ratio": 3.0,
44
+ "patch_size": 2,
45
+ "pos_embed_jitter": null,
46
+ "pos_embed_rescale": 2.0,
47
+ "pos_embed_shift": null,
48
+ "proj_bias": true,
49
+ "query_bias": true,
50
+ "rope_parameters": {
51
+ "rope_theta": 100.0,
52
+ "rope_type": "default"
53
+ },
54
+ "train_num_points": 12544,
55
+ "transformers_version": "5.16.0.dev0",
56
+ "use_gated_mlp": false,
57
+ "value_bias": true
58
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b7185a1b5421b67d347b03fe6872a486857504e2af43e0aa631a06ad4ff63cb5
3
+ size 570348
preprocessor_config.json ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "crop_size": {
3
+ "longest_edge": 40,
4
+ "shortest_edge": 40
5
+ },
6
+ "do_normalize": true,
7
+ "do_pad": false,
8
+ "do_rescale": true,
9
+ "do_resize": true,
10
+ "do_split_image": false,
11
+ "image_mean": [
12
+ 0.485,
13
+ 0.456,
14
+ 0.406
15
+ ],
16
+ "image_processor_type": "EomtImageProcessor",
17
+ "image_std": [
18
+ 0.229,
19
+ 0.224,
20
+ 0.225
21
+ ],
22
+ "resample": 2,
23
+ "rescale_factor": 0.00392156862745098,
24
+ "size": {
25
+ "longest_edge": 40,
26
+ "shortest_edge": 40
27
+ }
28
+ }