MCPcopy Create free account

hub / github.com/KyanChen/RSPrompter / functions

Functions6,823 in github.com/KyanChen/RSPrompter

↓ 1 callersMethodget_equivalent_scale_bias
(self)
mmpretrain/models/backbones/riformer.py:115
↓ 1 callersMethodget_extended_attention_mask
Makes broadcastable attention and causal masks so that future and masked tokens are ignored. Arguments: attention_mask (:
mmpretrain/models/multimodal/blip/language_model.py:783
↓ 1 callersMethodget_fcos_targets
Compute FCOS regression and classification targets for points in multiple images. Args: points (list[Tensor]): Points of
mmdet/models/dense_heads/vfnet_head.py:551
↓ 1 callersFunctionget_fed_loss_inds
(labels, num_sample_cats, C, weight=None)
projects/Detic_new/detic/detic_bbox_head.py:29
↓ 1 callersFunctionget_file_list
Get file list. Args: source_root (str): image or video source path Return: source_file_path_list (list): A list for all sour
mmdet/utils/misc.py:114
↓ 1 callersFunctionget_file_list
Get file list. Args: source_root (str): image or video source path Return: source_file_path_list (list): A list for all sour
projects/Detic/demo.py:19
↓ 1 callersMethodget_gaussian_kernel
Returns a 2D Gaussian kernel array.
mmpretrain/models/selfsup/maskfeat.py:54
↓ 1 callersFunctionget_gt_area_group_numbers
(cocoEval)
tools/analysis_tools/coco_error_analysis.py:108
↓ 1 callersMethodget_gt_labels
Get all ground-truth labels (categories). Returns: np.ndarray: categories for all images.
mmpretrain/datasets/base_dataset.py:134
↓ 1 callersMethodget_gt_priorities
Get gt priorities according to their areas. Smaller gt has higher priority. Args: gt_bboxes (Tensor): Ground truth boxes
mmdet/models/task_modules/assigners/center_region_assigner.py:117
↓ 1 callersMethodget_image_rel_pos_bias
(self, image_position_ids, idx)
mmpretrain/models/multimodal/ofa/ofa_modules.py:867
↓ 1 callersMethodget_image_tokens
(self, images, sample_patch_num, images_mask)
mmpretrain/models/multimodal/ofa/ofa_modules.py:815
↓ 1 callersMethodget_image_wide_positional_embeddings
(self, size)
mmdet/rsprompter/models.py:85
↓ 1 callersMethodget_image_wide_positional_embeddings
(self, size)
mmdet/rsprompter/models.py:205
↓ 1 callersMethodget_images_color_similarity
Compute the image color similarity in LAB color space.
mmdet/models/data_preprocessors/data_preprocessor.py:702
↓ 1 callersMethodget_in_gt_and_in_center_info
Get the information of which prior is in gt bboxes and gt center priors.
mmdet/models/task_modules/assigners/sim_ota_assigner.py:145
↓ 1 callersMethodget_in_gt_and_in_center_info
Get the information of which prior is in gt bboxes and gt center priors.
projects/DiffusionDet/diffusiondet/loss.py:250
↓ 1 callersMethodget_indexes
Call function to collect indexes. Args: dataset (:obj:`MultiImageMixDataset`): The dataset. Returns: list: i
mmdet/datasets/transforms/transforms.py:2592
↓ 1 callersMethodget_indexes
Call function to collect indexes. Args: cache (list): The results cache. Returns: list: indexes.
mmdet/datasets/transforms/transforms.py:3425
↓ 1 callersMethodget_indexes
Call function to collect indexes. Args: cache (list): The result cache. Returns: int: index.
mmdet/datasets/transforms/transforms.py:3676
↓ 1 callersMethodget_input_embeddings
(self)
mmpretrain/models/multimodal/blip2/Qformer.py:325
↓ 1 callersFunctionget_kwargs_from_config
(config_path=_DEFAULT_CONFIG_PATH)
projects/LabelStudio/backend_template/_wsgi.py:34
↓ 1 callersMethodget_label_map
Require label mapping. The ``label_map`` is a dictionary, its keys are the old label ids and its values are the new label ids, and is
mmdet/datasets/base_semseg_dataset.py:143
↓ 1 callersFunctionget_layer_id_for_convnext
Get the layer id to set the different learning rates in ``layer_wise`` decay_type. Args: var_name (str): The key of the model.
mmdet/engine/optimizers/layer_decay_optimizer_constructor.py:13
↓ 1 callersFunctionget_layer_id_for_vit
Get the layer id to set the different learning rates in ``layer_wise`` decay_type. Args: var_name (str): The key of the model.
projects/ViTDet/vitdet/layer_decay_optimizer_constructor.py:13
↓ 1 callersMethodget_mean_embeds
(self, class_names, name='default')
projects/XDecoder/xdecoder/language_model.py:38
↓ 1 callersFunctionget_metas_from_csv_style_ann_file
(ann_file)
tools/misc/get_image_metas.py:42
↓ 1 callersFunctionget_metas_from_txt_style_ann_file
(ann_file)
tools/misc/get_image_metas.py:58
↓ 1 callersMethodget_next_layer
(self, word)
mmpretrain/models/multimodal/ofa/ofa.py:34
↓ 1 callersFunctionget_norm_states
Get the state_dict of batch norms in the module.
mmdet/engine/hooks/sync_norm_hook.py:12
↓ 1 callersMethodget_normalized_probs
Get normalized probabilities (or log probs) from a net's output.
mmpretrain/models/multimodal/ofa/ofa_modules.py:1360
↓ 1 callersMethodget_normalized_probs_scriptable
Scriptable helper function for get_normalized_probs in. ~BaseFairseqModel.
mmpretrain/models/multimodal/ofa/ofa_modules.py:1365
↓ 1 callersMethodget_num_groups
Calculate denoising query groups number. Two grouping strategies, 'static dn groups' and 'dynamic dn groups', are supported. When `se
mmdet/models/layers/transformer/dino_layers.py:269
↓ 1 callersMethodget_num_level_anchors_inside
Get the number of valid anchors in every level.
mmdet/models/dense_heads/atss_head.py:517
↓ 1 callersMethodget_num_level_anchors_inside
Get the number of valid anchors in every level.
mmdet/models/dense_heads/gfl_head.py:659
↓ 1 callersMethodget_num_level_anchors_inside
Get the anchors of each scale level inside. Args: num_level_anchors (list[int]): Number of anchors of each scale
mmdet/models/dense_heads/ddod_head.py:776
↓ 1 callersMethodget_padded_tensor
Pad images according to pad_size_divisor.
mmdet/models/data_preprocessors/data_preprocessor.py:646
↓ 1 callersMethodget_pairwise_affinity
Compute the pairwise affinity for each pixel.
mmdet/models/dense_heads/boxinst_head.py:50
↓ 1 callersMethodget_param
Get the parameter.
mmpretrain/engine/hooks/warmup_param_hook.py:36
↓ 1 callersMethodget_params
Get parameters for ``crop`` for a random sized crop. Args: img (np.ndarray): Image to be cropped. scale (tuple): rang
mmpretrain/datasets/transforms/processing.py:1526
↓ 1 callersMethodget_params
(img: Image.Image, scale: tuple, ratio: tuple)
mmpretrain/datasets/transforms/processing.py:1760
↓ 1 callersFunctionget_position_angle_vec
(position)
mmpretrain/models/backbones/t2t_vit.py:218
↓ 1 callersFunctionget_pred_idx
Get the index (e.g. 2) from the prediction (e.g. 'C') Args: prediction (str): The prediction from the model, from ['A', 'B',
mmpretrain/evaluation/metrics/scienceqa.py:10
↓ 1 callersFunctionget_prompt_templates
()
projects/XDecoder/xdecoder/utils.py:131
↓ 1 callersMethodget_proposal_pos_embed
Get the position embedding of the proposal. Args: proposals (Tensor): Not normalized proposals, has shape (bs, nu
mmdet/models/detectors/deformable_detr.py:540
↓ 1 callersMethodget_pseudo_instances
Get pseudo instances from teacher model.
mmdet/models/detectors/semi_base.py:145
↓ 1 callersMethodget_reg_targets
Get reg targets for DDOD head. This method is almost the same as `AnchorHead.get_targets()` when is_cls_assigner is False. Besides re
mmdet/models/dense_heads/ddod_head.py:573
↓ 1 callersMethodget_rel_pos_bias
(self, x, idx)
mmpretrain/models/multimodal/ofa/ofa_modules.py:858
↓ 1 callersMethodget_return_metrics
Calculate evaluation metrics. Args: results (list): The processed results of each batch. Returns: Dict[str,
mmdet/evaluation/metrics/semseg_metric.py:179
↓ 1 callersMethodget_roi_rel_points_test
Get ``num_points`` most uncertain points during test. Args: mask_preds (Tensor): A tensor of shape (num_rois, num_classes,
mmdet/models/roi_heads/mask_heads/mask_point_head.py:243
↓ 1 callersMethodget_roi_rel_points_train
Get ``num_points`` most uncertain points with random points during train. Sample points in [0, 1] x [0, 1] coordinate space based on
mmdet/models/roi_heads/mask_heads/mask_point_head.py:217
↓ 1 callersFunctionget_search_params
(cfg, search_params=None, prefix=None, logger=None)
tools/analysis_tools/mot/mot_param_search.py:48
↓ 1 callersFunctionget_sinusoid_encoding
Generate sinusoid encoding table. Sinusoid encoding is a kind of relative position encoding method came from `Attention Is All You Need<https
mmpretrain/models/backbones/t2t_vit.py:204
↓ 1 callersMethodget_sot_token
(self, device)
projects/XDecoder/xdecoder/language_model.py:89
↓ 1 callersFunctionget_stage_id_for_convnext
Get the stage id to set the different learning rates in ``stage_wise`` decay_type. Args: var_name (str): The key of the model.
mmdet/engine/optimizers/layer_decay_optimizer_constructor.py:56
↓ 1 callersMethodget_stages_from_blocks
Gets widths/stage_blocks of network at each stage. Args: widths (list[int]): Width in each stage. Returns: t
mmdet/models/backbones/regnet.py:322
↓ 1 callersMethodget_stages_from_blocks
Gets widths/stage_blocks of network at each stage. Args: widths (list[int]): Width in each stage. Returns: t
mmpretrain/models/backbones/regnet.py:278
↓ 1 callersMethodget_target_size
Get the target size of a batch of images based on data and scale.
mmdet/models/data_preprocessors/data_preprocessor.py:634
↓ 1 callersMethodget_targets
Compute regression and classification targets for anchors in multiple images. Args: cls_scores (Tensor): Classification p
mmdet/models/dense_heads/rtmdet_head.py:290
↓ 1 callersMethodget_targets
Compute regression targets and each point inside or outside gt_bbox in multiple images. Args: points (list[Tensor]): Poin
mmdet/models/dense_heads/autoassign_head.py:456
↓ 1 callersMethodget_targets
Compute target maps for anchors in multiple images. Args: anchor_list (list[list[Tensor]]): Multi level anchors of each
mmdet/models/dense_heads/yolo_head.py:391
↓ 1 callersMethodget_targets
Compute regression and classification targets for anchors in multiple images. Args: anchor_list (list[list[Tensor]]): Mul
mmdet/models/dense_heads/anchor_head.py:308
↓ 1 callersMethodget_targets
Compute regression and classification targets for anchors. Args: anchor_list (list[list[Tensor]]): Multi level anchors of each
mmdet/models/dense_heads/cascade_rpn_head.py:360
↓ 1 callersMethodget_targets
Compute regression and classification targets for anchors in multiple images. Args: cls_scores (list[list[Tensor]]): Clas
mmdet/models/dense_heads/tood_head.py:578
↓ 1 callersMethodget_targets
Compute regression and classification for priors in multiple images. Args: batch_gt_instances (list[:obj:`InstanceData`]): Batch
mmdet/models/dense_heads/fovea_head.py:265
↓ 1 callersMethodget_targets
Compute classification and mask targets for all images for a decoder layer. Args: cls_scores_list (list[Tensor]): Mask sc
mmdet/models/dense_heads/maskformer_head.py:192
↓ 1 callersMethodget_targets
Compute classification and bbox targets for points in multiple images. Args: points (list[Tensor]): Points of each fpn le
mmdet/models/dense_heads/centernet_update_head.py:276
↓ 1 callersMethodget_targets
Compute regression and classification targets for anchors in multiple images. Args: cls_scores_list (list[Tensor]): Class
mmdet/models/dense_heads/yolof_head.py:213
↓ 1 callersMethodget_targets
Get targets for ATSS head. This method is almost the same as `AnchorHead.get_targets()`. Besides returning the targets as the parent
mmdet/models/dense_heads/atss_head.py:350
↓ 1 callersMethodget_targets
Compute regression, classification and centerness targets for points in multiple images. Args: points (list[Tensor]): Poi
mmdet/models/dense_heads/condinst_head.py:210
↓ 1 callersMethodget_targets
Get targets for GFL head. This method is almost the same as `AnchorHead.get_targets()`. Besides returning the targets as the parent m
mmdet/models/dense_heads/gfl_head.py:492
↓ 1 callersMethodget_targets
Compute regression, classification and centerness targets for points in multiple images. Args: points (list[Tensor]): Poi
mmdet/models/dense_heads/fcos_head.py:306
↓ 1 callersMethodget_targets
Compute bucketing targets. Args: approx_list (list[list[Tensor]]): Multi level approxs of each image.
mmdet/models/dense_heads/sabl_retina_head.py:231
↓ 1 callersMethodget_targets
Compute regression and classification targets for a batch image. Outputs from a single decoder layer of a single feature level are used.
mmdet/models/dense_heads/detr_head.py:347
↓ 1 callersMethodget_targets
Calculate the track targets and track weights for all samples in a batch according to the sampling_results. Args: gt_matc
mmdet/models/tracking_heads/quasi_dense_embed_head.py:158
↓ 1 callersMethodget_targets
Get training targets of MaskPointHead for all images. Args: rois (Tensor): Region of Interest, shape (num_rois, 5). r
mmdet/models/roi_heads/mask_heads/mask_point_head.py:119
↓ 1 callersMethodget_targets
Calculate the ground truth for all samples in a batch according to the sampling_results. Args: sampling_results (List[obj
mmdet/models/roi_heads/mask_heads/fcn_mask_head.py:152
↓ 1 callersMethodget_targets
Compute target of mask IoU. Mask IoU target is the IoU of the predicted mask (inside a bbox) and the gt mask of corresponding gt mask
mmdet/models/roi_heads/mask_heads/maskiou_head.py:157
↓ 1 callersMethodget_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/bbox_head.py:225
↓ 1 callersMethodget_targets
Compute regression and classification targets for a batch images. Args: cls_scores (Tensor): Predicted normalized classification
mmdet/models/losses/ddq_detr_aux_loss.py:159
↓ 1 callersFunctionget_test_pipeline_cfg
Get the test dataset pipeline from entire config. Args: cfg (str or :obj:`ConfigDict`): the entire config. Can be a config fi
mmdet/utils/misc.py:86
↓ 1 callersFunctionget_text_embeddings
(dataset=None, custom_vocabulary=None, prompt_prefix='a ')
projects/Detic/detic/utils.py:19
↓ 1 callersFunctionget_tmpdir
return the same tmpdir for all processes.
mmdet/evaluation/metrics/mot_challenge_metric.py:25
↓ 1 callersMethodget_tokens
Get tokens for beit pre-training.
mmpretrain/models/selfsup/beit.py:70
↓ 1 callersMethodget_valid_ratio
Get the valid radios of feature map in a level. .. code:: text |---> valid_W <---| ---+----------------
mmdet/models/detectors/deformable_detr.py:424
↓ 1 callersFunctionget_value
(cfg, key)
mmdet/utils/replace_cfg_vals.py:24
↓ 1 callersFunctionget_version
()
setup.py:25
↓ 1 callersFunctionget_version
()
docs/zh_cn/conf.py:29
↓ 1 callersFunctionget_version
()
docs/en/conf.py:29
↓ 1 callersFunctionget_voc_style_results
(filename, prints='mPC', aggregate='benchmark')
tools/analysis_tools/robustness_eval.py:124
↓ 1 callersMethodget_warp_matrix
Calculate warping matrix between two images.
mmdet/models/task_modules/tracking/camera_motion_compensation.py:30
↓ 1 callersMethodget_weight
(self, pred)
mmdet/models/losses/eqlv2_loss.py:168
↓ 1 callersFunctionget_weighted_box
(boxes, conf_type='avg')
mmdet/models/utils/wbf.py:192
↓ 1 callersMethodget_whs_and_shapes
Get widths and heights of bboxes and shapes of images. Returns: tuple[np.ndarray]: Array of bbox shapes and array of image
tools/analysis_tools/optimize_anchors.py:101
↓ 1 callersFunctiongiou_loss
r"""`Generalized Intersection over Union: A Metric and A Loss for Bounding Box Regression <https://arxiv.org/abs/1902.09630>`_. Args:
mmdet/models/losses/iou_loss.py:122
↓ 1 callersMethodglobal_context_loss
Global context loss. Args: x (Tuple[Tensor]): Tuple of multi-level img features. batch_gt_instances (list[:obj:`Insta
mmdet/models/roi_heads/scnet_roi_head.py:331
↓ 1 callersMethodgmm_separation_scheme
A general separation scheme for gmm model. It separates a GMM distribution of candidate samples into three parts, 0 1 and uncertain a
mmdet/models/dense_heads/paa_head.py:349
↓ 1 callersMethodgt_to_coco_json
Convert ground truth to coco panoptic segmentation format json file. Args: gt_dicts (Sequence[dict]): Ground truth of the dataset
mmdet/evaluation/metrics/coco_panoptic_metric.py:135
↓ 1 callersMethodhard_mining_triplet_loss_forward
Args: inputs (torch.Tensor): feature matrix with shape (batch_size, feat_dim). targets (torch.LongTen
mmdet/models/losses/triplet_loss.py:35
↓ 1 callersMethodhas
Whether a model name is in the ModelHub.
mmpretrain/apis/model.py:92
← previousnext →1,801–1,900 of 6,823, ranked by callers