↓ 2 callersMethod_make_layer(self, block, planes, blocks, stride=1, dcn=None)
unigeoseg/model/multimodal_projector/builder.py:189
↓ 2 callersMethod_make_layer(self, block, planes, blocks,norm_shape, stride=1, dcn=None)
unigeoseg/model/multimodal_projector/builder.py:244
↓ 2 callersMethod_make_layer(self, block, planes, blocks, stride=1, dcn=None)
unigeoseg/model/multimodal_projector/builder.py:297
↓ 2 callersMethod_prep_prompts(
self, point_coords, point_labels, box, mask_logits, normalize_coords, img_idx=-1
)
unigeoseg/model/multimodal_encoder/sam2/sam2_image_predictor.py:305
↓ 2 callersFunctionbuild_sam2_video_predictor(
config_file,
ckpt_path=None,
device="cuda",
mode="eval",
hydra_overrides_extra=[],
a
unigeoseg/model/multimodal_encoder/sam2/build_sam.py:100
↓ 2 callersMethodconcat_image_seg_embeds(self, input_id, img_feature, label, seg_query, seg_query_mask,
refer_embe
unigeoseg/model/language_model/llava_phi.py:464
↓ 2 callersMethodget_loss(self, loss, outputs, targets, indices, num_masks)
unigeoseg/model/mask_decoder/mask_criterion/pretrain_criterion.py:272
↓ 2 callersMethodget_loss(self, loss, outputs, targets, indices, num_masks)
unigeoseg/model/mask_decoder/Mask2Former_Simplify/utils/criterion.py:242
↓ 2 callersFunctionplt_box_on_img(ax, box, fill=False, alpha=0.5, color='r', linestyle='-')
unigeoseg/model/mask_decoder/Mask2Former_Simplify/dataset/aug_strategy.py:100
↓ 2 callersMethodprepare_inputs_labels_for_multimodal(
self, input_ids, attention_mask, past_key_values, labels, images,
token_refer_id=Non
unigeoseg/model/language_model/llava_phi.py:687
↓ 2 callersFunctionwindow_partition
Args:
x: (B, H, W, C)
window_size (int): window size
Returns:
windows: (num_windows*B, window_size, window_siz
unigeoseg/model/multimodal_encoder/swin_trans.py:37
↓ 2 callersFunctionwindow_partition Args: x: (B, H, W, C) window_size (int): window size Returns: windows: (num_windows*B, window_size, window_size, C)
unigeoseg/model/mask_decoder/Mask2Former_Simplify/modeling/backbone/swin.py:45
↓ 1 callersMethod__init__(self, dim=512, depth=3, dim_head=64, heads=8, ff_mult=4)
unigeoseg/model/language_model/projector.py:62
↓ 1 callersMethod__init__(self, num_classes, alpha=0.5, gamma=2, weight=None, ignore_index=0)
unigeoseg/model/mask_decoder/Mask2Former_Simplify/utils/criterion.py:342
↓ 1 callersMethod_forward_ca(self, tgt, memory, query_pos, pos, num_k_exclude_rope=0)
unigeoseg/model/multimodal_encoder/sam2/modeling/memory_attention.py:66