Update Configs/sam2_hiera_large.yaml
Browse files
Configs/sam2_hiera_large.yaml
CHANGED
|
@@ -85,26 +85,6 @@ model:
|
|
| 85 |
use_dwconv: True # depth-wise convs
|
| 86 |
num_layers: 2
|
| 87 |
|
| 88 |
-
sam_mask_decoder:
|
| 89 |
-
_target_: sam2.modeling.sam.mask_decoder.MaskDecoder
|
| 90 |
-
num_multimask_outputs: 3
|
| 91 |
-
transformer:
|
| 92 |
-
_target_: sam2.modeling.sam.transformer.TwoWayTransformer
|
| 93 |
-
depth: 2
|
| 94 |
-
embedding_dim: 256
|
| 95 |
-
mlp_dim: 2048
|
| 96 |
-
num_heads: 8
|
| 97 |
-
transformer_dim: 256
|
| 98 |
-
iou_head_depth: 3
|
| 99 |
-
iou_head_hidden_dim: 256
|
| 100 |
-
|
| 101 |
-
sam_prompt_encoder:
|
| 102 |
-
_target_: sam2.modeling.sam.prompt_encoder.PromptEncoder
|
| 103 |
-
embed_dim: 256
|
| 104 |
-
image_embedding_size: [64, 64]
|
| 105 |
-
input_image_size: [1024, 1024]
|
| 106 |
-
mask_in_chans: 16
|
| 107 |
-
|
| 108 |
# Global settings
|
| 109 |
num_maskmem: 7
|
| 110 |
image_size: 1024
|
|
@@ -136,4 +116,4 @@ multimask_min_pt_num: 0
|
|
| 136 |
multimask_max_pt_num: 1
|
| 137 |
use_mlp_for_obj_ptr_proj: true
|
| 138 |
# compiler
|
| 139 |
-
compile_image_encoder: false
|
|
|
|
| 85 |
use_dwconv: True # depth-wise convs
|
| 86 |
num_layers: 2
|
| 87 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 88 |
# Global settings
|
| 89 |
num_maskmem: 7
|
| 90 |
image_size: 1024
|
|
|
|
| 116 |
multimask_max_pt_num: 1
|
| 117 |
use_mlp_for_obj_ptr_proj: true
|
| 118 |
# compiler
|
| 119 |
+
compile_image_encoder: false
|