Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/UX-Decoder/Semantic-SAM
/ functions
Functions
759 in github.com/UX-Decoder/Semantic-SAM
⨍
Functions
759
◇
Types & classes
112
Method
maybe_add_full_model_gradient_clipping
(optim)
train_net.py:238
Method
merge_from_dict
(self, dict)
utils/Config.py:23
Function
ms_deform_attn_backward
semantic_sam/body/encoder/ops/src/ms_deform_attn.h:46
Function
ms_deform_attn_cpu_backward
semantic_sam/body/encoder/ops/src/cpu/ms_deform_attn_cpu.cpp:34
Function
ms_deform_attn_cpu_forward
semantic_sam/body/encoder/ops/src/cpu/ms_deform_attn_cpu.cpp:22
Function
ms_deform_attn_forward
semantic_sam/body/encoder/ops/src/ms_deform_attn.h:25
Method
no_weight_decay
(self)
semantic_sam/language/LangEncoder/transformer.py:188
Method
output_shape
(self)
semantic_sam/backbone/focal_dw.py:766
Method
output_shape
(self)
semantic_sam/backbone/swin_new.py:760
Method
output_shape
(self)
semantic_sam/backbone/swin.py:827
Method
output_shape
Returns: dict[str->ShapeSpec]
semantic_sam/backbone/backbone.py:42
Function
plot_multi_results
plot input image and its reuslts
semantic_sam/build_semantic_sam.py:76
Function
plot_results
plot input image and its reuslts
semantic_sam/build_semantic_sam.py:52
Function
point_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
Method
polygons
(self)
utils/visualizer.py:105
Method
prep_for_dn
(self, mask_dict)
semantic_sam/modules/criterion_interactive_many_to_one.py:393
Method
prepare_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
Function
prepare_image
apply transformation to the image. crop the image ot 640 short edge by default
semantic_sam/build_semantic_sam.py:23
Method
preprocess
(self, x)
demo_auto_generation.py:76
Method
preprocess
(self, x)
demo.py:76
Method
process
(self, inputs, outputs)
datasets/evaluation/interactive_evaluation.py:52
Method
process
(self, inputs, outputs)
datasets/evaluation/panoptic_evaluation.py:68
Method
read_img
(self, row)
datasets/dataset_mappers/sam_baseline_dataset_mapper_json.py:124
Method
read_json
(selfself, row)
datasets/dataset_mappers/sam_baseline_dataset_mapper_json.py:128
Function
register_backbone
(fn)
semantic_sam/backbone/registry.py:4
Function
register_body
(fn)
semantic_sam/body/registry.py:4
Function
register_decoder
(fn)
semantic_sam/body/decoder/registry.py:3
Function
register_encoder
(fn)
semantic_sam/body/encoder/registry.py:3
Function
register_lang_encoder
(fn)
semantic_sam/language/LangEncoder/registry.py:4
Function
register_model
(fn)
semantic_sam/language/registry.py:3
Function
register_model
(fn)
semantic_sam/architectures/registry.py:3
Function
register_norm_module
(cls)
utils/model.py:25
Function
remove_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
Method
reset
(self)
datasets/evaluation/interactive_evaluation.py:46
Method
reset
(self)
datasets/evaluation/segmentation_evaluation.py:79
Method
reset
(self)
datasets/evaluation/panoptic_evaluation.py:50
Method
rm_self_attn_modules
(self)
semantic_sam/body/decoder/utils/dino_decoder.py:226
Function
sample_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
Function
save_opt_to_json
(opt, conf_file)
utils/arguments.py:110
Function
save_opt_to_yaml
(opt, conf_file)
utils/arguments.py:115
Method
save_pretrained
(self, save_path)
semantic_sam/BaseModel.py:22
Function
sem_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
Function
sigmoid_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
Function
sigmoid_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
Method
size_divisibility
(self)
semantic_sam/backbone/focal_dw.py:775
Method
size_divisibility
(self)
semantic_sam/backbone/swin_new.py:769
Method
size_divisibility
(self)
semantic_sam/backbone/focal.py:678
Method
size_divisibility
(self)
semantic_sam/backbone/swin.py:837
Method
size_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
Method
step
(self, closure=None)
train_net.py:248
Method
step
(self, closure=None)
datasets/build.py:656
Method
test_and_save_results
()
train_net.py:128
Method
train
Convert the model into training mode while keep layers freezed.
semantic_sam/backbone/focal_dw.py:689
Method
train
Convert the model into training mode while keep layers freezed.
semantic_sam/backbone/swin_new.py:680
Method
train
Convert the model into training mode while keep layers freezed.
semantic_sam/backbone/swin.py:763
Function
uncrop_points
(points: torch.Tensor, crop_box: List[int])
utils/sam_utils/amg.py:246
Method
with_pos_embed
(self, tensor, pos: Optional[Tensor])
semantic_sam/body/decoder/modules.py:154
Function
wrapped
(self, *args, **kwargs)
semantic_sam/utils/config.py:55
Function
wrapper
(orig_func)
semantic_sam/utils/config.py:81
← previous
701–759 of 759, ranked by callers