yonigozlan HF Staff commited on
Commit
c4d8309
·
verified ·
1 Parent(s): 4ad1da9

Upload model

Browse files
Files changed (2) hide show
  1. config.json +22 -15
  2. model.safetensors +2 -2
config.json CHANGED
@@ -4,7 +4,6 @@
4
  ],
5
  "enable_occlusion_spatial_embedding": true,
6
  "enable_temporal_pos_encoding_for_object_pointers": true,
7
- "fill_hole_area": 8,
8
  "image_size": 1024,
9
  "initializer_range": 0.02,
10
  "mask_decoder_config": {
@@ -51,15 +50,12 @@
51
  "memory_fuser_layer_scale_init_value": 1e-06,
52
  "memory_fuser_num_layers": 2,
53
  "memory_fuser_padding": 3,
54
- "model_type": "sam2",
55
  "multimask_max_pt_num": 1,
56
  "multimask_min_pt_num": 0,
57
  "multimask_output_for_tracking": true,
58
  "multimask_output_in_sam": true,
59
- "non_overlap_masks": false,
60
- "non_overlap_masks_for_mem_enc": false,
61
  "num_maskmem": 7,
62
- "project_temporal_pos_encoding_in_object_pointers": true,
63
  "prompt_encoder_config": {
64
  "hidden_act": "gelu",
65
  "hidden_size": 256,
@@ -88,14 +84,25 @@
88
  "architectures": null,
89
  "bad_words_ids": null,
90
  "begin_suppress_tokens": null,
 
 
 
 
 
 
91
  "bos_token_id": null,
92
  "chunk_size_feed_forward": 0,
93
  "cross_attention_hidden_size": null,
94
  "decoder_start_token_id": null,
95
- "dim_mul": 2.0,
96
  "diversity_penalty": 0.0,
97
  "do_sample": false,
98
  "early_stopping": false,
 
 
 
 
 
 
99
  "encoder_no_repeat_ngram_size": 0,
100
  "eos_token_id": null,
101
  "exponential_decay_length_penalty": null,
@@ -107,7 +114,6 @@
107
  33,
108
  43
109
  ],
110
- "head_mul": 2.0,
111
  "hidden_act": "gelu",
112
  "hidden_size": 144,
113
  "id2label": {
@@ -129,9 +135,16 @@
129
  "length_penalty": 1.0,
130
  "max_length": 20,
131
  "min_length": 0,
 
132
  "model_type": "sam2_hiera_det_model",
133
  "no_repeat_ngram_size": 0,
134
- "num_attention_heads": 2,
 
 
 
 
 
 
135
  "num_beam_groups": 1,
136
  "num_beams": 1,
137
  "num_channels": 3,
@@ -165,12 +178,6 @@
165
  "return_dict": true,
166
  "return_dict_in_generate": false,
167
  "sep_token_id": null,
168
- "stages": [
169
- 2,
170
- 6,
171
- 36,
172
- 4
173
- ],
174
  "suppress_tokens": null,
175
  "task_specific_params": null,
176
  "temperature": 1.0,
@@ -188,7 +195,7 @@
188
  7,
189
  7
190
  ],
191
- "window_spec": [
192
  8,
193
  4,
194
  16,
 
4
  ],
5
  "enable_occlusion_spatial_embedding": true,
6
  "enable_temporal_pos_encoding_for_object_pointers": true,
 
7
  "image_size": 1024,
8
  "initializer_range": 0.02,
9
  "mask_decoder_config": {
 
50
  "memory_fuser_layer_scale_init_value": 1e-06,
51
  "memory_fuser_num_layers": 2,
52
  "memory_fuser_padding": 3,
53
+ "model_type": "sam2_video",
54
  "multimask_max_pt_num": 1,
55
  "multimask_min_pt_num": 0,
56
  "multimask_output_for_tracking": true,
57
  "multimask_output_in_sam": true,
 
 
58
  "num_maskmem": 7,
 
59
  "prompt_encoder_config": {
60
  "hidden_act": "gelu",
61
  "hidden_size": 256,
 
84
  "architectures": null,
85
  "bad_words_ids": null,
86
  "begin_suppress_tokens": null,
87
+ "blocks_per_stage": [
88
+ 2,
89
+ 6,
90
+ 36,
91
+ 4
92
+ ],
93
  "bos_token_id": null,
94
  "chunk_size_feed_forward": 0,
95
  "cross_attention_hidden_size": null,
96
  "decoder_start_token_id": null,
 
97
  "diversity_penalty": 0.0,
98
  "do_sample": false,
99
  "early_stopping": false,
100
+ "embed_dim_per_stage": [
101
+ 144,
102
+ 288,
103
+ 576,
104
+ 1152
105
+ ],
106
  "encoder_no_repeat_ngram_size": 0,
107
  "eos_token_id": null,
108
  "exponential_decay_length_penalty": null,
 
114
  33,
115
  43
116
  ],
 
117
  "hidden_act": "gelu",
118
  "hidden_size": 144,
119
  "id2label": {
 
135
  "length_penalty": 1.0,
136
  "max_length": 20,
137
  "min_length": 0,
138
+ "mlp_ratio": 4.0,
139
  "model_type": "sam2_hiera_det_model",
140
  "no_repeat_ngram_size": 0,
141
+ "num_attention_heads": 1,
142
+ "num_attention_heads_per_stage": [
143
+ 2,
144
+ 4,
145
+ 8,
146
+ 16
147
+ ],
148
  "num_beam_groups": 1,
149
  "num_beams": 1,
150
  "num_channels": 3,
 
178
  "return_dict": true,
179
  "return_dict_in_generate": false,
180
  "sep_token_id": null,
 
 
 
 
 
 
181
  "suppress_tokens": null,
182
  "task_specific_params": null,
183
  "temperature": 1.0,
 
195
  7,
196
  7
197
  ],
198
+ "window_size_per_stage": [
199
  8,
200
  4,
201
  16,
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:506e3c92baf38f4fbb6c1da8b6da76f151d6a6724f54f10757fd3ed918b74f1f
3
- size 897897472
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dc407dce21301fd94abb395c5099b4f2c455fdc8a8f261ac3d0ea6d4cd197230
3
+ size 897897416