Safetensors
sam2
File size: 1,736 Bytes
ce7c3d7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
{
  "add_all_frames_to_correct_as_cond": false,
  "add_tpos_enc_to_obj_ptrs": false,
  "architectures": [
    "Sam2Model"
  ],
  "backbone_stride": 16,
  "binarize_mask_from_pts_for_mem_enc": false,
  "compile_image_encoder": false,
  "directly_add_no_mem_embed": true,
  "fixed_no_obj_ptr": true,
  "image_encoder_config": {
    "backbone_channel_list": [
      768,
      384,
      192,
      96
    ],
    "embed_dim": 96,
    "global_att_blocks": [
      5,
      7,
      9
    ],
    "model_type": "",
    "num_heads": 1,
    "stages": [
      1,
      2,
      7,
      2
    ],
    "window_pos_embed_bkg_spatial_size": [
      7,
      7
    ]
  },
  "image_size": 1024,
  "initializer_range": 0.02,
  "iou_prediction_use_sigmoid": true,
  "max_cond_frames_in_attn": -1,
  "max_obj_ptrs_in_encoder": 16,
  "memory_attention_config": {
    "model_type": ""
  },
  "memory_encoder_config": {
    "model_type": ""
  },
  "memory_temporal_stride_for_eval": 1,
  "model_type": "sam2",
  "multimask_max_pt_num": 1,
  "multimask_min_pt_num": 0,
  "multimask_output_for_tracking": true,
  "multimask_output_in_sam": true,
  "non_overlap_masks_for_mem_enc": false,
  "num_maskmem": 7,
  "only_obj_ptrs_in_the_past_for_eval": true,
  "pred_obj_scores": true,
  "pred_obj_scores_mlp": true,
  "proj_tpos_enc_in_obj_ptrs": false,
  "sam_mask_decoder_extra_args": null,
  "sigmoid_bias_for_mem_enc": -10,
  "sigmoid_scale_for_mem_enc": 20,
  "soft_no_obj_ptr": false,
  "torch_dtype": "float32",
  "transformers_version": "4.44.0.dev0",
  "use_high_res_features_in_sam": true,
  "use_mask_input_as_output_without_sam": true,
  "use_mlp_for_obj_ptr_proj": true,
  "use_multimask_token_for_obj_ptr": true,
  "use_obj_ptrs_in_encoder": true
}