Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/KyanChen/RSPrompter
/ functions
Functions
6,823 in github.com/KyanChen/RSPrompter
⨍
Functions
6,823
◇
Types & classes
1,658
↳
Endpoints
29
Method
get_layer_depth
Get the layer-wise depth of a parameter. Args: param_name (str): The name of the parameter. prefix (str): The prefix
mmpretrain/models/backbones/beit.py:664
Method
get_layer_depth
Get the layer-wise depth of a parameter. Args: param_name (str): The name of the parameter. prefix (str): The prefix
mmpretrain/models/backbones/convnext.py:370
Method
get_layer_depth
Get the layer-wise depth of a parameter. Args: param_name (str): The name of the parameter. prefix (str): The prefix
mmpretrain/models/backbones/swin_transformer.py:550
Method
get_layer_depth
Get the layer-wise depth of a parameter. Args: param_name (str): The name of the parameter. prefix (str): The prefix
mmpretrain/models/backbones/hivit.py:622
Method
get_layer_depth
Get the layer id to set the different learning rates for ResNet. ResNet stages: 50 : [3, 4, 6, 3] 101 : [3, 4, 23, 3]
mmpretrain/models/backbones/resnet.py:679
Method
get_layer_depth
Get the layer-wise depth of a parameter. Args: param_name (str): The name of the parameter. prefix (str): The prefix
mmpretrain/models/backbones/vision_transformer.py:504
Method
get_layer_depth
Get the layer-wise depth of a parameter. Args: param_name (str): The name of the parameter. Returns: Tuple[i
mmpretrain/models/selfsup/base.py:165
Method
get_layer_depth
Get the layer-wise depth of a parameter. Args: param_name (str): The name of the parameter. Returns: Tuple[i
mmpretrain/models/classifiers/image.py:251
Method
get_neg_loss_single
Calculate the negative loss of all points in feature map. Args: cls_score (Tensor): All category scores for each point on
mmdet/models/dense_heads/autoassign_head.py:261
Method
get_output_embeddings
(self)
mmpretrain/models/multimodal/blip/language_model.py:1099
Method
get_output_embeddings
(self)
mmpretrain/models/multimodal/blip2/Qformer.py:600
Method
get_output_embeddings
(self)
mmpretrain/models/multimodal/blip2/modeling_opt.py:888
Method
get_pos_loss
Calculate loss of all potential positive samples obtained from first match process. Args: anchors (list[Tensor]): Anchors
mmdet/models/dense_heads/paa_head.py:180
Method
get_pos_loss_single
Calculate the positive loss of all points in gt_bboxes. Args: cls_score (Tensor): All category scores for each point on
mmdet/models/dense_heads/autoassign_head.py:214
Method
get_positive_infos
Get positive information from sampling results. Returns: list[:obj:`InstanceData`]: Positive information of each image,
mmdet/models/dense_heads/base_dense_head.py:75
Method
get_pseudo_instances
Get pseudo instances from teacher model.
mmdet/models/detectors/soft_teacher.py:87
Method
get_targets
Compute regression, classification and centerness targets for points in multiple images. Args: points (list[Tensor]): Poi
mmdet/models/dense_heads/anchor_free_head.py:282
Method
get_targets
Calculate the ground truth for all samples in a batch according to the sampling_results. Almost the same as the implementation in bbo
mmdet/models/roi_heads/bbox_heads/multi_instance_bbox_head.py:303
Method
get_targets
Calculate the ground truth for all samples in a batch according to the sampling_results.
mmdet/models/roi_heads/bbox_heads/sabl_head.py:338
Method
get_targets
Compute regression and classification targets for a batch image. Outputs from a single decoder layer of a single feature level are used.
projects/AlignDETR/align_detr/align_detr_head.py:137
Function
giou_loss
Generalized Intersection over Union Loss (Hamid Rezatofighi et. al) https://arxiv.org/abs/1902.09630 Gradient-friendly IoU loss with an a
projects/Detic_new/detic/iou_loss.py:67
Method
grid_points
Generate grid points of a single level. Args: featmap_size (tuple[int, int]): Size of the feature maps. stride (int):
mmdet/models/task_modules/prior_generators/point_generator.py:39
Method
gt_instances
(self)
mmdet/structures/det_data_sample.py:137
Method
gt_label
(self)
mmdet/structures/reid_data_sample.py:70
Method
gt_panoptic_seg
(self)
mmdet/structures/det_data_sample.py:188
Method
gt_sem_seg
(self)
mmdet/structures/det_data_sample.py:212
Method
heights
Return a tensor representing the heights of boxes.
mmdet/structures/bbox/base_boxes.py:381
Method
heights
Return a tensor representing the heights of boxes.
mmdet/structures/bbox/horizontal_boxes.py:113
Method
heights
(self)
tests/test_structures/test_bbox/utils.py:21
Method
ids
All ids in the tracker.
mmdet/models/trackers/base_tracker.py:44
Method
ignored_instances
(self)
mmdet/structures/det_data_sample.py:176
Function
imagenet_det_classes
Class names of ImageNet Det.
mmdet/evaluation/functional/class_names.py:19
Function
imagenet_vid_classes
Class names of ImageNet VID.
mmdet/evaluation/functional/class_names.py:61
Method
img_prefix
The prefix of images.
mmpretrain/datasets/base_dataset.py:115
Method
inference
(self, data, *args, **kwargs)
tools/deployment/mmdet_handler.py:44
Method
inference
(self, model, image)
projects/gradio_demo/launch.py:87
Method
inference
(self, model, image, text)
projects/gradio_demo/launch.py:165
Method
inference
(self, model, image, text)
projects/gradio_demo/launch.py:231
Method
inference
(self, model, image, text)
projects/gradio_demo/launch.py:257
Method
inference
(self, model, image, text, stuff_text)
projects/gradio_demo/launch.py:338
Method
inference
(self, model, image)
projects/gradio_demo/launch.py:434
Method
inference
(self, model, image, text)
projects/gradio_demo/launch.py:507
Method
inference
(self, model, prototype, text)
projects/gradio_demo/launch.py:566
Function
inference_benchmark
(args, cfg, distributed, logger)
tools/analysis_tools/benchmark.py:71
Function
inference_model
Inference an image with the inferencer. Automatically select inferencer to inference according to the type of model. It's a shortcut for a qu
mmpretrain/apis/model.py:328
Method
info
Returns a dictionary of info about the object.
mmdet/models/task_modules/samplers/mask_sampling_result.py:58
Method
info
Returns a dictionary of info about the object.
mmdet/models/task_modules/samplers/sampling_result.py:166
Method
init_assigner_sampler
Initialize assigner and sampler.
mmdet/models/roi_heads/standard_roi_head.py:20
Method
init_assigner_sampler
Initialize assigner and sampler for each stage.
mmdet/models/roi_heads/cascade_roi_head.py:108
Method
init_bbox_head
Initialize box head and box roi extractor. Args: bbox_roi_extractor (dict or ConfigDict): Config of box roi extra
mmdet/models/roi_heads/standard_roi_head.py:29
Method
init_bbox_head
Initialize box head and box roi extractor. Args: bbox_roi_extractor (dict or ConfigDict): Config of box roi extra
mmdet/models/roi_heads/multi_instance_roi_head.py:23
Method
init_bbox_head
Initialize box head and box roi extractor. Args: bbox_roi_extractor (:obj:`ConfigDict`, dict or list): Config of
mmdet/models/roi_heads/cascade_roi_head.py:56
Function
init_empty_weights
A context manager under which models are initialized with all parameters on the meta device. With this context manager, we can create an empt
mmpretrain/apis/utils.py:116
Method
init_layers
Initialize layers of the DinoTransformer.
projects/CO-DETR/codetr/transformer.py:1082
Method
init_mask_head
Initialize mask head and mask roi extractor. Args: mask_roi_extractor (dict or ConfigDict): Config of mask roi ex
mmdet/models/roi_heads/standard_roi_head.py:41
Method
init_mask_head
Initialize ``mask_head``
mmdet/models/roi_heads/scnet_roi_head.py:57
Method
init_mask_head
Initialize mask head and mask roi extractor. Args: mask_head (dict): Config of mask in mask head. mask_roi_extractor
mmdet/models/roi_heads/cascade_roi_head.py:79
Method
init_mask_head
Initialize mask head and mask roi extractor. Args: mask_head (dict): Config of mask in mask head. mask_roi_extractor
projects/Detic/detic/detic_roi_head.py:21
Method
init_mask_head
Initialize mask head and mask roi extractor. Args: mask_head (dict): Config of mask in mask head. mask_roi_extractor
projects/Detic_new/detic/detic_roi_head.py:44
Function
init_model
Initialize a classifier from config file (deprecated). It's only for compatibility, please use :func:`get_model` instead. Args: conf
mmpretrain/apis/model.py:227
Method
init_track
Initialize a track.
mmdet/models/trackers/sort_tracker.py:75
Method
init_track
Initialize a track.
mmdet/models/trackers/byte_tracker.py:78
Method
init_track
Initialize a track.
mmdet/models/trackers/ocsort_tracker.py:74
Method
init_weights
(self)
mmdet/rsprompter/models.py:804
Method
init_weights
(self)
mmdet/rsprompter/models.py:873
Method
init_weights
(self)
mmdet/rsprompter/models.py:1656
Method
init_weights
(self)
mmdet/models/necks/dilated_encoder.py:95
Method
init_weights
Initialize the weights of module.
mmdet/models/necks/nasfcos_fpn.py:157
Method
init_weights
Initialize the weights of module.
mmdet/models/necks/fpn_carafe.py:209
Method
init_weights
(self, pretrained=None)
mmdet/models/backbones/ssd_vgg.py:105
Method
init_weights
(self)
mmdet/models/backbones/pvt.py:320
Method
init_weights
(self)
mmdet/models/backbones/swin.py:79
Method
init_weights
Init module weights.
mmdet/models/backbones/hourglass.py:198
Method
init_weights
Initialize weights of the transformer head.
mmdet/models/dense_heads/conditional_detr_head.py:24
Method
init_weights
Initialize weights of the head.
mmdet/models/dense_heads/rtmdet_head.py:94
Method
init_weights
Initialize weights of the head.
mmdet/models/dense_heads/rtmdet_head.py:635
Method
init_weights
Initialize weights of the Deformable DETR head.
mmdet/models/dense_heads/deformable_detr_head.py:72
Method
init_weights
Initialize weights of the head. In particular, we have special initialization for classified conv's and regression conv's bias
mmdet/models/dense_heads/autoassign_head.py:173
Method
init_weights
Initialize the weights.
mmdet/models/dense_heads/base_dense_head.py:66
Method
init_weights
Initialize weights of the head.
mmdet/models/dense_heads/centernet_head.py:84
Method
init_weights
initialize weights.
mmdet/models/dense_heads/dab_detr_head.py:32
Method
init_weights
(self)
mmdet/models/dense_heads/mask2former_head.py:158
Method
init_weights
Initialize weights of the Deformable DETR head.
mmdet/models/dense_heads/grounding_dino_head.py:131
Method
init_weights
Initialize the parameters.
mmdet/models/dense_heads/tood_head.py:69
Method
init_weights
Initialize weights of the head.
mmdet/models/dense_heads/tood_head.py:210
Method
init_weights
(self)
mmdet/models/dense_heads/maskformer_head.py:134
Method
init_weights
Initialize weights of the Deformable DETR head.
mmdet/models/dense_heads/ddq_detr_head.py:72
Method
init_weights
(self)
mmdet/models/dense_heads/yolof_head.py:88
Method
init_weights
(self)
mmdet/models/dense_heads/centripetal_head.py:147
Method
init_weights
Initialize weights of the head.
mmdet/models/dense_heads/condinst_head.py:800
Method
init_weights
Initialize weights of the head.
mmdet/models/dense_heads/ddod_head.py:116
Method
init_weights
Initialize weights of the head.
mmdet/models/dense_heads/rtmdet_ins_head.py:964
Method
init_weights
(self)
mmdet/models/dense_heads/corner_head.py:238
Method
init_weights
Initialize the weights.
mmdet/models/roi_heads/mask_heads/fcn_mask_head.py:121
Method
init_weights
Initialize weights.
mmdet/models/roi_heads/mask_heads/coarse_mask_head.py:86
Method
init_weights
Use xavier initialization for all weight parameter and set classification head bias as a specific value when use focal loss.
mmdet/models/roi_heads/mask_heads/dynamic_mask_head.py:90
Method
init_weights
Use xavier initialization for all weight parameter and set classification head bias as a specific value when use focal loss.
mmdet/models/roi_heads/bbox_heads/dii_head.py:131
Method
init_weights
Initialize weights for Transformer and other components.
mmdet/models/detectors/grounding_dino.py:61
Method
init_weights
Initialize weights for Transformer and other components.
mmdet/models/detectors/deformable_detr.py:101
Method
init_weights
Initialize weights for Transformer and other components.
mmdet/models/detectors/dab_detr.py:60
← previous
next →
5,101–5,200 of 6,823, ranked by callers