MCPcopy Create free account

hub / github.com/UX-Decoder/Semantic-SAM / functions

Functions759 in github.com/UX-Decoder/Semantic-SAM

Methodmaybe_add_full_model_gradient_clipping
(optim)
train_net.py:238
Methodmerge_from_dict
(self, dict)
utils/Config.py:23
Functionms_deform_attn_backward
semantic_sam/body/encoder/ops/src/ms_deform_attn.h:46
Functionms_deform_attn_cpu_backward
semantic_sam/body/encoder/ops/src/cpu/ms_deform_attn_cpu.cpp:34
Functionms_deform_attn_cpu_forward
semantic_sam/body/encoder/ops/src/cpu/ms_deform_attn_cpu.cpp:22
Functionms_deform_attn_forward
semantic_sam/body/encoder/ops/src/ms_deform_attn.h:25
Methodno_weight_decay
(self)
semantic_sam/language/LangEncoder/transformer.py:188
Methodoutput_shape
(self)
semantic_sam/backbone/focal_dw.py:766
Methodoutput_shape
(self)
semantic_sam/backbone/swin_new.py:760
Methodoutput_shape
(self)
semantic_sam/backbone/swin.py:827
Methodoutput_shape
Returns: dict[str->ShapeSpec]
semantic_sam/backbone/backbone.py:42
Functionplot_multi_results
plot input image and its reuslts
semantic_sam/build_semantic_sam.py:76
Functionplot_results
plot input image and its reuslts
semantic_sam/build_semantic_sam.py:52
Functionpoint_sample_fine_grained_features
Get features from feature maps in `features_list` that correspond to specific point coordinates inside each bounding box from `boxes`.
semantic_sam/modules/point_features.py:148
Methodpolygons
(self)
utils/visualizer.py:105
Methodprep_for_dn
(self, mask_dict)
semantic_sam/modules/criterion_interactive_many_to_one.py:393
Methodprepare_for_dn
modified from dn-detr. You can refer to dn-detr https://github.com/IDEA-Research/DN-DETR/blob/main/models/dn_dab_deformable_detr/dn_c
semantic_sam/body/decoder/interactive_mask_dino.py:213
Functionprepare_image
apply transformation to the image. crop the image ot 640 short edge by default
semantic_sam/build_semantic_sam.py:23
Methodpreprocess
(self, x)
demo_auto_generation.py:76
Methodpreprocess
(self, x)
demo.py:76
Methodprocess
(self, inputs, outputs)
datasets/evaluation/interactive_evaluation.py:52
Methodprocess
(self, inputs, outputs)
datasets/evaluation/panoptic_evaluation.py:68
Methodread_img
(self, row)
datasets/dataset_mappers/sam_baseline_dataset_mapper_json.py:124
Methodread_json
(selfself, row)
datasets/dataset_mappers/sam_baseline_dataset_mapper_json.py:128
Functionregister_backbone
(fn)
semantic_sam/backbone/registry.py:4
Functionregister_body
(fn)
semantic_sam/body/registry.py:4
Functionregister_decoder
(fn)
semantic_sam/body/decoder/registry.py:3
Functionregister_encoder
(fn)
semantic_sam/body/encoder/registry.py:3
Functionregister_lang_encoder
(fn)
semantic_sam/language/LangEncoder/registry.py:4
Functionregister_model
(fn)
semantic_sam/language/registry.py:3
Functionregister_model
(fn)
semantic_sam/architectures/registry.py:3
Functionregister_norm_module
(cls)
utils/model.py:25
Functionremove_small_regions
Removes small disconnected regions and holes in a mask. Returns the mask and an indicator of if the mask has been modified.
tasks/interactive_idino_m2m_auto.py:47
Methodreset
(self)
datasets/evaluation/interactive_evaluation.py:46
Methodreset
(self)
datasets/evaluation/segmentation_evaluation.py:79
Methodreset
(self)
datasets/evaluation/panoptic_evaluation.py:50
Methodrm_self_attn_modules
(self)
semantic_sam/body/decoder/utils/dino_decoder.py:226
Functionsample_point_labels
Sample point labels from ground truth mask given point_coords. Args: instances (list[Instances]): A list of N Instances, where N is
semantic_sam/modules/point_features.py:221
Functionsave_opt_to_json
(opt, conf_file)
utils/arguments.py:110
Functionsave_opt_to_yaml
(opt, conf_file)
utils/arguments.py:115
Methodsave_pretrained
(self, save_path)
semantic_sam/BaseModel.py:22
Functionsem_seg_postprocess
Return semantic segmentation predictions in the original resolution. The input images are often resized when entering semantic segmentor. Mo
semantic_sam/modules/postprocessing.py:99
Functionsigmoid_ce_loss
Args: inputs: A float tensor of arbitrary shape. The predictions for each example. targets: A float tensor with t
semantic_sam/modules/criterion_interactive_many_to_many.py:87
Functionsigmoid_ce_loss
Args: inputs: A float tensor of arbitrary shape. The predictions for each example. targets: A float tensor with t
semantic_sam/modules/criterion_interactive_many_to_one.py:82
Methodsize_divisibility
(self)
semantic_sam/backbone/focal_dw.py:775
Methodsize_divisibility
(self)
semantic_sam/backbone/swin_new.py:769
Methodsize_divisibility
(self)
semantic_sam/backbone/focal.py:678
Methodsize_divisibility
(self)
semantic_sam/backbone/swin.py:837
Methodsize_divisibility
Some backbones require the input height and width to be divisible by a specific integer. This is typically true for encoder / decoder
semantic_sam/backbone/backbone.py:32
Methodstep
(self, closure=None)
train_net.py:248
Methodstep
(self, closure=None)
datasets/build.py:656
Methodtest_and_save_results
()
train_net.py:128
Methodtrain
Convert the model into training mode while keep layers freezed.
semantic_sam/backbone/focal_dw.py:689
Methodtrain
Convert the model into training mode while keep layers freezed.
semantic_sam/backbone/swin_new.py:680
Methodtrain
Convert the model into training mode while keep layers freezed.
semantic_sam/backbone/swin.py:763
Functionuncrop_points
(points: torch.Tensor, crop_box: List[int])
utils/sam_utils/amg.py:246
Methodwith_pos_embed
(self, tensor, pos: Optional[Tensor])
semantic_sam/body/decoder/modules.py:154
Functionwrapped
(self, *args, **kwargs)
semantic_sam/utils/config.py:55
Functionwrapper
(orig_func)
semantic_sam/utils/config.py:81
← previous701–759 of 759, ranked by callers