MCPcopy Create free account

hub / github.com/KyanChen/RSPrompter / functions

Functions6,823 in github.com/KyanChen/RSPrompter

Methodget_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
Methodget_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
Methodget_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
Methodget_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
Methodget_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
Methodget_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
Methodget_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
Methodget_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
Methodget_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
Methodget_output_embeddings
(self)
mmpretrain/models/multimodal/blip/language_model.py:1099
Methodget_output_embeddings
(self)
mmpretrain/models/multimodal/blip2/Qformer.py:600
Methodget_output_embeddings
(self)
mmpretrain/models/multimodal/blip2/modeling_opt.py:888
Methodget_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
Methodget_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
Methodget_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
Methodget_pseudo_instances
Get pseudo instances from teacher model.
mmdet/models/detectors/soft_teacher.py:87
Methodget_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
Methodget_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
Methodget_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
Methodget_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
Functiongiou_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
Methodgrid_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
Methodgt_instances
(self)
mmdet/structures/det_data_sample.py:137
Methodgt_label
(self)
mmdet/structures/reid_data_sample.py:70
Methodgt_panoptic_seg
(self)
mmdet/structures/det_data_sample.py:188
Methodgt_sem_seg
(self)
mmdet/structures/det_data_sample.py:212
Methodheights
Return a tensor representing the heights of boxes.
mmdet/structures/bbox/base_boxes.py:381
Methodheights
Return a tensor representing the heights of boxes.
mmdet/structures/bbox/horizontal_boxes.py:113
Methodheights
(self)
tests/test_structures/test_bbox/utils.py:21
Methodids
All ids in the tracker.
mmdet/models/trackers/base_tracker.py:44
Methodignored_instances
(self)
mmdet/structures/det_data_sample.py:176
Functionimagenet_det_classes
Class names of ImageNet Det.
mmdet/evaluation/functional/class_names.py:19
Functionimagenet_vid_classes
Class names of ImageNet VID.
mmdet/evaluation/functional/class_names.py:61
Methodimg_prefix
The prefix of images.
mmpretrain/datasets/base_dataset.py:115
Methodinference
(self, data, *args, **kwargs)
tools/deployment/mmdet_handler.py:44
Methodinference
(self, model, image)
projects/gradio_demo/launch.py:87
Methodinference
(self, model, image, text)
projects/gradio_demo/launch.py:165
Methodinference
(self, model, image, text)
projects/gradio_demo/launch.py:231
Methodinference
(self, model, image, text)
projects/gradio_demo/launch.py:257
Methodinference
(self, model, image, text, stuff_text)
projects/gradio_demo/launch.py:338
Methodinference
(self, model, image)
projects/gradio_demo/launch.py:434
Methodinference
(self, model, image, text)
projects/gradio_demo/launch.py:507
Methodinference
(self, model, prototype, text)
projects/gradio_demo/launch.py:566
Functioninference_benchmark
(args, cfg, distributed, logger)
tools/analysis_tools/benchmark.py:71
Functioninference_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
Methodinfo
Returns a dictionary of info about the object.
mmdet/models/task_modules/samplers/mask_sampling_result.py:58
Methodinfo
Returns a dictionary of info about the object.
mmdet/models/task_modules/samplers/sampling_result.py:166
Methodinit_assigner_sampler
Initialize assigner and sampler.
mmdet/models/roi_heads/standard_roi_head.py:20
Methodinit_assigner_sampler
Initialize assigner and sampler for each stage.
mmdet/models/roi_heads/cascade_roi_head.py:108
Methodinit_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
Methodinit_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
Methodinit_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
Functioninit_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
Methodinit_layers
Initialize layers of the DinoTransformer.
projects/CO-DETR/codetr/transformer.py:1082
Methodinit_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
Methodinit_mask_head
Initialize ``mask_head``
mmdet/models/roi_heads/scnet_roi_head.py:57
Methodinit_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
Methodinit_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
Methodinit_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
Functioninit_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
Methodinit_track
Initialize a track.
mmdet/models/trackers/sort_tracker.py:75
Methodinit_track
Initialize a track.
mmdet/models/trackers/byte_tracker.py:78
Methodinit_track
Initialize a track.
mmdet/models/trackers/ocsort_tracker.py:74
Methodinit_weights
(self)
mmdet/rsprompter/models.py:804
Methodinit_weights
(self)
mmdet/rsprompter/models.py:873
Methodinit_weights
(self)
mmdet/rsprompter/models.py:1656
Methodinit_weights
(self)
mmdet/models/necks/dilated_encoder.py:95
Methodinit_weights
Initialize the weights of module.
mmdet/models/necks/nasfcos_fpn.py:157
Methodinit_weights
Initialize the weights of module.
mmdet/models/necks/fpn_carafe.py:209
Methodinit_weights
(self, pretrained=None)
mmdet/models/backbones/ssd_vgg.py:105
Methodinit_weights
(self)
mmdet/models/backbones/pvt.py:320
Methodinit_weights
(self)
mmdet/models/backbones/swin.py:79
Methodinit_weights
Init module weights.
mmdet/models/backbones/hourglass.py:198
Methodinit_weights
Initialize weights of the transformer head.
mmdet/models/dense_heads/conditional_detr_head.py:24
Methodinit_weights
Initialize weights of the head.
mmdet/models/dense_heads/rtmdet_head.py:94
Methodinit_weights
Initialize weights of the head.
mmdet/models/dense_heads/rtmdet_head.py:635
Methodinit_weights
Initialize weights of the Deformable DETR head.
mmdet/models/dense_heads/deformable_detr_head.py:72
Methodinit_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
Methodinit_weights
Initialize the weights.
mmdet/models/dense_heads/base_dense_head.py:66
Methodinit_weights
Initialize weights of the head.
mmdet/models/dense_heads/centernet_head.py:84
Methodinit_weights
initialize weights.
mmdet/models/dense_heads/dab_detr_head.py:32
Methodinit_weights
(self)
mmdet/models/dense_heads/mask2former_head.py:158
Methodinit_weights
Initialize weights of the Deformable DETR head.
mmdet/models/dense_heads/grounding_dino_head.py:131
Methodinit_weights
Initialize the parameters.
mmdet/models/dense_heads/tood_head.py:69
Methodinit_weights
Initialize weights of the head.
mmdet/models/dense_heads/tood_head.py:210
Methodinit_weights
(self)
mmdet/models/dense_heads/maskformer_head.py:134
Methodinit_weights
Initialize weights of the Deformable DETR head.
mmdet/models/dense_heads/ddq_detr_head.py:72
Methodinit_weights
(self)
mmdet/models/dense_heads/yolof_head.py:88
Methodinit_weights
(self)
mmdet/models/dense_heads/centripetal_head.py:147
Methodinit_weights
Initialize weights of the head.
mmdet/models/dense_heads/condinst_head.py:800
Methodinit_weights
Initialize weights of the head.
mmdet/models/dense_heads/ddod_head.py:116
Methodinit_weights
Initialize weights of the head.
mmdet/models/dense_heads/rtmdet_ins_head.py:964
Methodinit_weights
(self)
mmdet/models/dense_heads/corner_head.py:238
Methodinit_weights
Initialize the weights.
mmdet/models/roi_heads/mask_heads/fcn_mask_head.py:121
Methodinit_weights
Initialize weights.
mmdet/models/roi_heads/mask_heads/coarse_mask_head.py:86
Methodinit_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
Methodinit_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
Methodinit_weights
Initialize weights for Transformer and other components.
mmdet/models/detectors/grounding_dino.py:61
Methodinit_weights
Initialize weights for Transformer and other components.
mmdet/models/detectors/deformable_detr.py:101
Methodinit_weights
Initialize weights for Transformer and other components.
mmdet/models/detectors/dab_detr.py:60
← previousnext →5,101–5,200 of 6,823, ranked by callers