Upload model
Browse files- config.json +69 -0
- model.safetensors +3 -0
config.json
ADDED
|
@@ -0,0 +1,69 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_bb_feat_sizes": [
|
| 3 |
+
[
|
| 4 |
+
256,
|
| 5 |
+
256
|
| 6 |
+
],
|
| 7 |
+
[
|
| 8 |
+
128,
|
| 9 |
+
128
|
| 10 |
+
],
|
| 11 |
+
[
|
| 12 |
+
64,
|
| 13 |
+
64
|
| 14 |
+
]
|
| 15 |
+
],
|
| 16 |
+
"add_all_frames_to_correct_as_cond": false,
|
| 17 |
+
"add_tpos_enc_to_obj_ptrs": false,
|
| 18 |
+
"architectures": [
|
| 19 |
+
"Sam2Model"
|
| 20 |
+
],
|
| 21 |
+
"backbone_stride": 16,
|
| 22 |
+
"binarize_mask_from_pts_for_mem_enc": false,
|
| 23 |
+
"compile_image_encoder": false,
|
| 24 |
+
"directly_add_no_memory_embedding": true,
|
| 25 |
+
"fixed_no_obj_ptr": true,
|
| 26 |
+
"image_encoder_config": {
|
| 27 |
+
"model_type": ""
|
| 28 |
+
},
|
| 29 |
+
"image_size": 1024,
|
| 30 |
+
"initializer_range": 0.02,
|
| 31 |
+
"iou_prediction_use_sigmoid": true,
|
| 32 |
+
"mask_decoder_config": {
|
| 33 |
+
"model_type": ""
|
| 34 |
+
},
|
| 35 |
+
"max_cond_frames_in_attn": -1,
|
| 36 |
+
"max_obj_ptrs_in_encoder": 16,
|
| 37 |
+
"memory_attention_config": {
|
| 38 |
+
"model_type": ""
|
| 39 |
+
},
|
| 40 |
+
"memory_encoder_config": {
|
| 41 |
+
"model_type": ""
|
| 42 |
+
},
|
| 43 |
+
"memory_temporal_stride_for_eval": 1,
|
| 44 |
+
"model_type": "sam2",
|
| 45 |
+
"multimask_max_pt_num": 1,
|
| 46 |
+
"multimask_min_pt_num": 0,
|
| 47 |
+
"multimask_output_for_tracking": true,
|
| 48 |
+
"multimask_output_in_sam": true,
|
| 49 |
+
"non_overlap_masks_for_mem_enc": false,
|
| 50 |
+
"num_maskmem": 7,
|
| 51 |
+
"only_obj_ptrs_in_the_past_for_eval": true,
|
| 52 |
+
"pred_obj_scores": true,
|
| 53 |
+
"pred_obj_scores_mlp": true,
|
| 54 |
+
"proj_tpos_enc_in_obj_ptrs": false,
|
| 55 |
+
"prompt_encoder_config": {
|
| 56 |
+
"model_type": ""
|
| 57 |
+
},
|
| 58 |
+
"sam_mask_decoder_extra_args": null,
|
| 59 |
+
"sigmoid_bias_for_mem_enc": -10,
|
| 60 |
+
"sigmoid_scale_for_mem_enc": 20,
|
| 61 |
+
"soft_no_obj_ptr": false,
|
| 62 |
+
"torch_dtype": "float32",
|
| 63 |
+
"transformers_version": "4.47.0.dev0",
|
| 64 |
+
"use_high_res_features_in_sam": true,
|
| 65 |
+
"use_mask_input_as_output_without_sam": true,
|
| 66 |
+
"use_mlp_for_obj_ptr_proj": true,
|
| 67 |
+
"use_multimask_token_for_obj_ptr": true,
|
| 68 |
+
"use_obj_ptrs_in_encoder": true
|
| 69 |
+
}
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9e45819f1d8a5b9485bef5bd1c97bd41e2cc1d039de4949f3df05cf7dc0a4d63
|
| 3 |
+
size 155045964
|