MCPcopy Create free account

hub / github.com/KyanChen/RSPrompter / functions

Functions6,823 in github.com/KyanChen/RSPrompter

↓ 1 callersMethod_init_pipeline
Initialize the test pipeline. Return a pipeline to handle various input data, such as ``str``, ``np.ndarray``. It is an abstract meth
mmpretrain/apis/base.py:299
↓ 1 callersMethod_init_predictor
Initialize predictor layers of the head.
mmdet/models/dense_heads/anchor_free_head.py:161
↓ 1 callersMethod_init_qv_bias
(self)
mmpretrain/models/utils/attention.py:666
↓ 1 callersMethod_init_refs
Initialize the refs for RefCOCO.
mmdet/datasets/refcoco.py:62
↓ 1 callersMethod_init_rel_pos_embedding
(self)
mmpretrain/models/utils/attention.py:670
↓ 1 callersMethod_init_weights
(self)
mmdet/models/necks/dyhead.py:90
↓ 1 callersMethod_init_weights
(self)
projects/DiffusionDet/diffusiondet/head.py:221
↓ 1 callersMethod_init_weights
(self)
projects/SparseInst/sparseinst/decoder.py:53
↓ 1 callersMethod_init_weights
(self)
projects/SparseInst/sparseinst/decoder.py:103
↓ 1 callersMethod_init_weights
(self)
projects/SparseInst/sparseinst/decoder.py:246
↓ 1 callersMethod_inputs_to_list
Preprocess the inputs to a list. Preprocess inputs to a list according to its type: - list or tuple: return inputs - str:
mmdet/apis/det_inferencer.py:201
↓ 1 callersMethod_interpolate_track
Interpolate a track linearly to make the track more complete. This function is proposed in "ByteTrack: Multi-Object Tracking by Assoc
mmdet/models/task_modules/tracking/interpolation.py:41
↓ 1 callersFunction_interpolation_modes_from_str
mapping str format to Interpolation.
mmpretrain/datasets/transforms/processing.py:37
↓ 1 callersFunction_is_gzip
(filename)
mmpretrain/datasets/utils.py:173
↓ 1 callersFunction_is_tar
(filename)
mmpretrain/datasets/utils.py:161
↓ 1 callersFunction_is_targz
(filename)
mmpretrain/datasets/utils.py:165
↓ 1 callersFunction_is_tarxz
(filename)
mmpretrain/datasets/utils.py:157
↓ 1 callersFunction_is_tgz
(filename)
mmpretrain/datasets/utils.py:169
↓ 1 callersFunction_is_zip
(filename)
mmpretrain/datasets/utils.py:177
↓ 1 callersMethod_join_prefix
(self)
mmdet/datasets/refcoco.py:56
↓ 1 callersMethod_lay_masks
Lay instance masks to a result map. Args: mask_results (:obj:`InstanceData`): Instance segmentation results, each
mmdet/models/seg_heads/panoptic_fusion_heads/heuristic_fusion_head.py:36
↓ 1 callersMethod_load_anns
Convert raw anns to instaboost expected input format.
mmdet/datasets/transforms/instaboost.py:80
↓ 1 callersMethod_load_instances_ids
Private function to load instances id annotations. Args: results (dict): Result dict from :obj :obj:``mmcv.BaseDataset``.
mmdet/datasets/transforms/loading.py:1036
↓ 1 callersMethod_load_masks
Private function to load mask annotations. Args: results (dict): Result dict from :obj:``mmengine.BaseDataset``.
mmdet/datasets/transforms/loading.py:379
↓ 1 callersMethod_load_masks_and_semantic_segs
Private function to load mask and semantic segmentation annotations. In gt_semantic_seg, the foreground label is from ``0`` to ``num_
mmdet/datasets/transforms/loading.py:588
↓ 1 callersMethod_load_meta
Load categories information from metafile.
mmpretrain/datasets/cifar.py:147
↓ 1 callersMethod_load_seg_map
Private function to load semantic segmentation annotations. Args: results (dict): Result dict from :obj:``mmcv.BaseDataset``.
mmdet/datasets/transforms/loading.py:395
↓ 1 callersMethod_loss_by_feat
Calculate the loss of all scale level based on the features extracted by the detection head. Returns: dict[str, Tensor]:
mmdet/models/dense_heads/atss_vlfusion_head.py:516
↓ 1 callersMethod_make_branches
(self, num_branches, block, num_blocks, num_channels)
mmdet/models/backbones/hrnet.py:112
↓ 1 callersMethod_make_branches
(self, num_branches, block, num_blocks, num_channels)
mmpretrain/models/backbones/hrnet.py:85
↓ 1 callersFunction_make_causal_mask
Make causal mask used for uni-directional self-attention.
mmpretrain/models/multimodal/ofa/ofa_modules.py:69
↓ 1 callersFunction_make_causal_mask
Make causal mask used for bi-directional self-attention.
mmpretrain/models/multimodal/blip2/modeling_opt.py:56
↓ 1 callersMethod_make_deconv_layer
use deconv layers to upsample backbone's output.
mmdet/models/necks/ct_resnet_neck.py:43
↓ 1 callersMethod_make_fuse_layers
(self)
mmdet/models/backbones/hrnet.py:121
↓ 1 callersMethod_make_fuse_layers
(self)
mmpretrain/models/backbones/hrnet.py:104
↓ 1 callersMethod_make_layer
(self, block, inplanes, planes, blocks, stride=1)
mmdet/models/backbones/hrnet.py:458
↓ 1 callersMethod_make_layer
(self)
mmpretrain/models/backbones/mobilenet_v3.py:127
↓ 1 callersMethod_make_layer
Stack blocks to make a layer. Args: out_channels (int): out_channels of the block. num_blocks (int): number of blocks
mmpretrain/models/backbones/shufflenet_v2.py:233
↓ 1 callersMethod_make_one_branch
(self, branch_index, block, num_blo
mmdet/models/backbones/hrnet.py:66
↓ 1 callersMethod_make_stage
(self, in_channels, out_channels, num_blocks, stride, dilation, next_create_block_idx, ini
mmpretrain/models/backbones/repvgg.py:556
↓ 1 callersMethod_make_stage
(self, layer_config, in_channels, multiscale_output=True)
mmpretrain/models/backbones/hrnet.py:468
↓ 1 callersMethod_make_stage
(self, planes, num_blocks, num_se, num_conv_branches)
mmpretrain/models/backbones/mobileone.py:432
↓ 1 callersMethod_make_stage
(self, features, out_features, size)
projects/SparseInst/sparseinst/encoder.py:26
↓ 1 callersMethod_make_stem
make 2-ConvBNReLu stem layer.
mmpretrain/models/backbones/efficientformer.py:527
↓ 1 callersMethod_make_stem_layer
(self, in_channels, stem_channels)
mmdet/models/backbones/resnet.py:565
↓ 1 callersMethod_make_stem_layer
(self, in_channels, base_channels)
mmdet/models/backbones/regnet.py:238
↓ 1 callersMethod_make_stem_layer
(self, in_channels, stem_channels)
mmpretrain/models/backbones/resnet.py:576
↓ 1 callersMethod_make_stem_layer
(self, in_channels, base_channels)
mmpretrain/models/backbones/regnet.py:193
↓ 1 callersMethod_make_transition_layer
(self, num_channels_pre_layer, num_channels_cur_layer)
mmpretrain/models/backbones/hrnet.py:417
↓ 1 callersMethod_mask
Generate mask recursively. Args: mask (np.ndarray): The mask to be generated. max_mask_patches (int): The maximum num
mmpretrain/datasets/transforms/processing.py:1388
↓ 1 callersMethod_mask_focal_loss_cost
Args: cls_pred (Tensor): Predicted classification logits. in shape (num_queries, d1, ..., dn), dtype=torch.float3
mmdet/models/task_modules/assigners/match_cost.py:282
↓ 1 callersMethod_mask_point_forward_test
Mask refining process with point head in testing. Args: x (tuple[Tensor]): Feature maps of all scale level. rois (Ten
mmdet/models/roi_heads/point_rend_roi_head.py:78
↓ 1 callersMethod_mask_point_loss
Run forward function and calculate loss for point head in training.
mmdet/models/roi_heads/point_rend_roi_head.py:52
↓ 1 callersMethod_merge_single_sample
Merge predictions which come form the different views of one image to one prediction. Args: data_samples (List[DetDataSam
mmdet/models/test_time_augs/det_tta.py:100
↓ 1 callersMethod_merge_single_sample
(self, data_samples)
mmpretrain/models/tta/score_tta.py:31
↓ 1 callersMethod_momentum_update
(self)
mmpretrain/models/multimodal/blip/blip_retrieval.py:703
↓ 1 callersFunction_multi_tensor_adan
( params: List[Tensor], grads: List[Tensor], exp_avgs: List[Tensor], exp_avg_sqs: List[Tensor]
mmpretrain/engine/optimizers/adan_t.py:252
↓ 1 callersMethod_norm_to_conv
Convert a norm layer to a conv-bn sequence towards ``self.kernel_size``. Args: branch (nn.BatchNorm2d): A branch only wit
mmpretrain/models/backbones/mobileone.py:239
↓ 1 callersMethod_norm_to_conv3x3
Convert a norm layer to a conv3x3-bn sequence. Args: branch (nn.BatchNorm2d): A branch only with bn in the block. Return
mmpretrain/models/backbones/repvgg.py:235
↓ 1 callersMethod_pad_masks
Pad masks according to ``results['pad_shape']``.
mmdet/datasets/transforms/transforms.py:764
↓ 1 callersMethod_parse_ann_info
Parse person id annotations.
mmdet/datasets/reid_dataset.py:52
↓ 1 callersMethod_parse_anns
Restore the result of instaboost processing to the original anns format.
mmdet/datasets/transforms/instaboost.py:103
↓ 1 callersMethod_parse_img_level_ann
Parse image level annotations from csv style ann_file. Args: img_level_ann_file (str): CSV style image level annotation
mmdet/datasets/openimages.py:179
↓ 1 callersMethod_parse_img_level_ann
Parse image level annotations from csv style ann_file. Args: image_level_ann_file (str): CSV style image level annotation
mmdet/datasets/openimages.py:430
↓ 1 callersMethod_parse_label_file
Get classes name and index mapping from cls-label-description file. Args: label_file (str): File path of the label description fi
mmdet/datasets/openimages.py:154
↓ 1 callersMethod_parse_label_file
Get classes name and index mapping from cls-label-description file. Args: label_file (str): File path of the label description fi
mmdet/datasets/openimages.py:400
↓ 1 callersFunction_perm_box
Compute the permuted bboxes. Args: bboxes (Tensor): Shape (n, 4) for , "xyxy" format. iou_calculator (obj): Overlaps Calculator.
mmdet/models/task_modules/assigners/max_iou_assigner.py:14
↓ 1 callersFunction_plt_show_wrong_tracks
Show the wrong tracks with matplotlib. Args: img (str or ndarray): The image to be displayed. bboxes (ndarray): A ndarray of shap
mmdet/utils/mot_error_visualize.py:140
↓ 1 callersMethod_poly2mask
Private function to convert masks represented with polygon to bitmaps. Args: mask_ann (list | dict): Polygon mask annotat
mmdet/datasets/transforms/loading.py:308
↓ 1 callersMethod_polygon_area
Compute the area of a component of a polygon. Using the shoelace formula: https://stackoverflow.com/questions/24467972/calculate-area
mmdet/structures/mask/structures.py:975
↓ 1 callersMethod_postprocess_results
Post-processing Albu output.
mmdet/datasets/transforms/transforms.py:1735
↓ 1 callersMethod_predict_by_feat_single
Transform a single image's features extracted from the head into bbox results. Args: cls_scores (list[Tensor]): Box score
mmdet/models/dense_heads/guided_anchor_head.py:881
↓ 1 callersMethod_predict_by_feat_single
Transform a single image's features extracted from the head into bbox results. Args: cls_score_list (list[Tensor]): Box s
mmdet/models/dense_heads/base_dense_head.py:291
↓ 1 callersMethod_predict_by_feat_single
Transform a single image's features extracted from the head into bbox results. Args: bbox_pred_list (list[Tensor]): Box e
mmdet/models/dense_heads/atss_vlfusion_head.py:840
↓ 1 callersMethod_predict_by_feat_single
Transform outputs of a single image into bbox results. Args: center_heatmap_pred (Tensor): Center heatmap for current level with
mmdet/models/dense_heads/centernet_head.py:321
↓ 1 callersMethod_predict_by_feat_single
Transform a single image's features extracted from the head into bbox results. Similar to func:``AnchorHead._predict_by_feat_single``,
mmdet/models/dense_heads/yolact_head.py:421
↓ 1 callersMethod_predict_by_feat_single
Transform a single image's features extracted from the head into mask results. Args: mask_preds (Tensor): Predicted proto
mmdet/models/dense_heads/yolact_head.py:1070
↓ 1 callersMethod_predict_by_feat_single
Transform a single image's features extracted from the head into bbox results. Args: cls_score (Tensor): Box score logits
mmdet/models/dense_heads/grounding_dino_head.py:384
↓ 1 callersMethod_predict_by_feat_single
Transform outputs of a single image into bbox predictions. Args: cls_scores (list[Tensor]): Box scores from all scale
mmdet/models/dense_heads/cascade_rpn_head.py:657
↓ 1 callersMethod_predict_by_feat_single
Transform a single image's features extracted from the head into bbox results. Args: cls_score_list (list[Tensor]): Box s
mmdet/models/dense_heads/condinst_head.py:558
↓ 1 callersMethod_predict_by_feat_single
Transform a single image's features extracted from the head into mask results. Args: mask_preds (Tensor): Predicted proto
mmdet/models/dense_heads/condinst_head.py:1177
↓ 1 callersMethod_predict_by_feat_single
Transform a single image's features extracted from the head into bbox and mask results. Args: cls_score_list (list[Tensor
mmdet/models/dense_heads/rtmdet_ins_head.py:270
↓ 1 callersMethod_predict_by_feat_single
(self, cls_scores: List[Tensor], bbox_cls_pred
mmdet/models/dense_heads/sabl_retina_head.py:631
↓ 1 callersMethod_predict_by_feat_single
Transform a single image's features extracted from the head into bbox results. Args: tl_heat (Tensor): Top-left corner he
mmdet/models/dense_heads/corner_head.py:739
↓ 1 callersMethod_predict_by_feat_single
Transform outputs from the last decoder layer into bbox predictions for each image. Args: cls_score (Tensor): Box score l
mmdet/models/dense_heads/detr_head.py:574
↓ 1 callersMethod_predict_by_feat_single
Get segmentation masks from mask_preds and bboxes. Args: mask_preds (Tensor): Predicted foreground masks, has shape
mmdet/models/roi_heads/mask_heads/fcn_mask_head.py:278
↓ 1 callersMethod_predict_by_feat_single
Adjust ``bboxes`` according to ``grid_pred``. Args: grid_pred (Tensor): Grid fused heatmap. bboxes (Tensor): Predicte
mmdet/models/roi_heads/mask_heads/grid_head.py:409
↓ 1 callersMethod_predict_by_feat_single
Transform a single image's features extracted from the head into bbox results. Args: roi (Tensor): Boxes to be transforme
mmdet/models/roi_heads/bbox_heads/bbox_head.py:476
↓ 1 callersMethod_predict_by_feat_single
Transform outputs from the last decoder layer into bbox predictions for each image. Args: cls_score (Tensor): Box score l
projects/CO-DETR/codetr/co_dino_head.py:222
↓ 1 callersMethod_predict_single
Fuse the results of instance and semantic segmentations. Args: mask_results (:obj:`InstanceData`): Instance segmentation results,
mmdet/models/seg_heads/panoptic_fusion_heads/heuristic_fusion_head.py:95
↓ 1 callersMethod_prepare
Prepare ._gts and ._dts for evaluation based on params :return: None
mmdet/datasets/api_wrappers/cocoeval_mp.py:16
↓ 1 callersMethod_prepare
Prepare ._gts and ._dts for evaluation based on params :return: None
mmdet/evaluation/functional/ytviseval.py:91
↓ 1 callersMethod_prepare_decoder_attention_mask
r""" Create causal mask for unidirectional decoding. [bsz, seq_len] -> [bsz, 1, tgt_seq_len, src_seq_len]
mmpretrain/models/multimodal/ofa/ofa_modules.py:1213
↓ 1 callersMethod_prepare_decoder_attention_mask
(self, attention_mask, input_shape, inputs_embeds, past_key_values_len
mmpretrain/models/multimodal/blip2/modeling_opt.py:547
↓ 1 callersMethod_prepare_prototype
(self, prototype, cache=None, batch_size=8)
mmpretrain/apis/image_retrieval.py:79
↓ 1 callersMethod_prepare_prototype
(self, prototype, cache=None, batch_size=8)
mmpretrain/apis/multimodal_retrieval.py:104
↓ 1 callersMethod_prepare_prototype
(self, prototype, cache=None, batch_size=8)
mmpretrain/apis/multimodal_retrieval.py:395
↓ 1 callersMethod_preprocess_results
Pre-processing results to facilitate the use of Albu.
mmdet/datasets/transforms/transforms.py:1708
↓ 1 callersMethod_process_annotations
(self)
mmpretrain/datasets/inshop.py:83
↓ 1 callersMethod_process_gt_and_predictions
Process gts and predictions when ``outfile_prefix`` is set. The predictions will be saved to directory specified by ``outfile_predfix
mmdet/evaluation/metrics/coco_panoptic_metric.py:389
← previousnext →1,301–1,400 of 6,823, ranked by callers