MCPcopy Create free account

hub / github.com/KyanChen/RSPrompter / functions

Functions6,823 in github.com/KyanChen/RSPrompter

Methodpredict
Predict results from a batch of inputs and data samples with post- processing. Args: batch_inputs (Tensor): Inputs with s
mmdet/models/detectors/maskformer.py:66
Methodpredict
Predict results from a batch of inputs and data samples with post- processing. Args: batch_inputs (Tensor): Inputs, has s
mmdet/models/detectors/base_detr.py:106
Methodpredict
(self, batch_inputs, batch_data_samples, rescale: bool = True)
mmdet/models/detectors/grounding_dino.py:324
Methodpredict
Perform forward propagation of the mask head and predict mask results on the features of the upstream network. Args: batc
mmdet/models/detectors/single_stage_instance_seg.py:134
Methodpredict
Predict results from a batch of inputs and data samples with post- processing. The inputs will first convert to the Detectron2 type a
mmdet/models/detectors/d2_wrapper.py:166
Methodpredict
Predict results from a batch of inputs and data samples with post- processing. Args: batch_inputs (Tensor): Inputs with s
mmdet/models/detectors/panoptic_two_stage_segmentor.py:126
Methodpredict
copy the ``batch_data_samples`` to fit multi-branch.
mmdet/models/detectors/trident_faster_rcnn.py:56
Methodpredict
Predict results from a batch of inputs and data samples with post- processing. Args: batch_inputs (Tensor): Inputs with s
mmdet/models/detectors/single_stage.py:81
Methodpredict
Predict results from a batch of inputs and data samples with postprocessing. Args: inputs (Tensor): of shape (N, T, C, H,
mmdet/models/vis/mask2former_vis.py:79
Methodpredict
Test without augmentation. Args: inputs (Tensor): of shape (N, T, C, H, W) encoding input images. The N denotes b
mmdet/models/vis/masktrack_rcnn.py:132
Methodpredict
Inference without augmentation. Args: feats (Tuple[Tensor]): The features extracted from the backbone. Multiple s
mmdet/models/reid/linear_reid_head.py:161
Methodpredict
Predict results from a video and data samples with post-processing. Args: inputs (Tensor): of shape (N, T, C, H, W) encoding
mmdet/models/mot/bytetrack.py:58
Methodpredict
Predict results from a video and data samples with post-processing. Args: inputs (Tensor): of shape (N, T, C, H, W) encoding
mmdet/models/mot/ocsort.py:46
Methodpredict
Predict results from a video and data samples with post- processing. Args: inputs (Tensor): of shape (N, T, C, H, W) encoding
mmdet/models/mot/strongsort.py:57
Methodpredict
Predict results from a video and data samples with post- processing. Args: inputs (Tensor): of shape (N, T, C, H, W) encoding
mmdet/models/mot/deep_sort.py:55
Methodpredict
Predict results from the extracted features. Args: inputs (tuple): The features extracted from the backbone. data_sam
mmpretrain/models/retrievers/base.py:118
Methodpredict
Predict the classes of the input images. The prediction is for zero-shot classification and the text prototypes will be prepared in t
mmpretrain/models/multimodal/clip/clip.py:307
Methodpredict
Predict captions from a batch of inputs. Args: images (torch.Tensor): The input tensor with shape (N, C, ...) in
mmpretrain/models/multimodal/blip2/blip2_opt_vqa.py:19
Methodpredict
Generates the bbox coordinates at inference time.
mmpretrain/models/heads/grounding_head.py:170
Methodpredict
Inference without augmentation. Args: feats (tuple[Tensor]): The features extracted from the backbone. Multiple s
mmpretrain/models/heads/cls_head.py:110
Methodpredict
Inference without augmentation. Args: feats (tuple[Tensor]): The features extracted from the backbone. Multiple s
mmpretrain/models/heads/conformer_head.py:67
Methodpredict
Predict results from the extracted features.
mmpretrain/models/heads/vqa_head.py:241
Methodpredict
Decoder prediction method. Args: input_ids (torch.Tensor): The tokenized input text tensor. encoder_hidden_states (to
mmpretrain/models/heads/seq_gen_head.py:112
Methodpredict
Inference without augmentation. Args: feats (tuple[Tensor]): The features extracted from the backbone. Multiple s
mmpretrain/models/heads/multi_label_cls_head.py:110
Methodpredict
Inference without augmentation. Args: feats (tuple[Tensor]): The features extracted from the backbone. data_samples (
mmpretrain/models/heads/multi_task_head.py:102
Methodpredict
Perform forward propagation of the detection head and predict detection results on the features of the upstream network. Args:
projects/DiffusionDet/diffusiondet/head.py:433
Methodpredict
Predict results from a batch of inputs and data samples with post- processing. Args: batch_inputs (Tensor): Inputs with s
projects/SparseInst/sparseinst/sparseinst.py:84
Methodpredict
(self, feats: List[Tensor], batch_data_samples: SampleList, re
projects/CO-DETR/codetr/co_dino_head.py:186
Methodpredict
Predict results from a batch of inputs and data samples with post- processing. Args: batch_inputs (Tensor): Inputs with s
projects/Detic_new/detic/detic.py:210
Methodpredict
(self, features, batch_data_samples)
projects/XDecoder/xdecoder/unified_head.py:109
Methodpredict
(self, batch_inputs: Tensor, batch_data_samples: SampleList, r
projects/XDecoder/xdecoder/xdecoder.py:29
Methodpredict
(self, tasks, **kwargs)
projects/LabelStudio/backend_template/mmdetection.py:87
Methodpredict
(self, loss)
tests/test_models/test_dense_heads/test_paa_head.py:27
Methodpredict_all
Compute similarity matrix between images and texts across all ranks. Args: feats (Dict[str, torch.Tensor]): Features from the cur
mmpretrain/models/multimodal/blip2/blip2_retriever.py:318
Methodpredict_bbox
Perform forward propagation of the bbox head and predict detection results on the features of the upstream network. Args:
mmdet/models/roi_heads/sparse_roi_head.py:372
Methodpredict_bbox
Perform forward propagation of the bbox head and predict detection results on the features of the upstream network. Args:
mmdet/models/roi_heads/standard_roi_head.py:293
Methodpredict_bbox
Perform forward propagation of the bbox head and predict detection results on the features of the upstream network. Args:
mmdet/models/roi_heads/multi_instance_roi_head.py:164
Methodpredict_bbox
Perform forward propagation of the bbox head and predict detection results on the features of the upstream network. Args:
mmdet/models/roi_heads/cascade_roi_head.py:323
Methodpredict_bbox
Perform forward propagation of the bbox head and predict detection results on the features of the upstream network. Args:
projects/Detic/detic/detic_roi_head.py:127
Methodpredict_bbox
Perform forward propagation of the bbox head and predict detection results on the features of the upstream network. Args:
projects/Detic_new/detic/detic_roi_head.py:122
Methodpredict_by_feat
Transform a batch of output features extracted from the head into mask results. Args: mlvl_kernel_preds (list[Tensor]): M
mmdet/models/dense_heads/solov2_head.py:609
Methodpredict_by_feat
Transform a batch of output features extracted from the head into bbox results. It has been accelerated since PR #5991. Args:
mmdet/models/dense_heads/yolo_head.py:196
Methodpredict_by_feat
Similar to func:``AnchorHead.get_bboxes``, but additionally processes coeff_preds. Args: cls_scores (list[Tensor]): Box s
mmdet/models/dense_heads/yolact_head.py:359
Methodpredict_by_feat
Transform a batch of output features extracted from the head into mask results. Args: mask_preds (list[Tensor]): Predicte
mmdet/models/dense_heads/yolact_head.py:1016
Methodpredict_by_feat
Transform a batch of output features extracted from the head into bbox results. Args: layer_cls_scores (Tensor): Classifi
mmdet/models/dense_heads/ddq_detr_head.py:507
Methodpredict_by_feat
Transform a batch of output features extracted from the head into bbox results. Args: tl_heats (list[Tensor]): Top-left c
mmdet/models/dense_heads/centripetal_head.py:383
Methodpredict_by_feat
Transform a batch of output features extracted from the head into bbox results. Note: When score_factors is not None, the cls_scores
mmdet/models/dense_heads/condinst_head.py:457
Methodpredict_by_feat
Transform a batch of output features extracted from the head into mask results. Args: mask_preds (list[Tensor]): Predicte
mmdet/models/dense_heads/condinst_head.py:1127
Methodpredict_by_feat
Transform a batch of output features extracted from the head into bbox results. Note: When score_factors is not None, the cls_scores
mmdet/models/dense_heads/rtmdet_ins_head.py:167
Methodpredict_by_feat
Transform a batch of output features extracted from the head into mask results. Args: mlvl_mask_preds (list[Tensor]): Mul
mmdet/models/dense_heads/solo_head.py:460
Methodpredict_by_feat
Transform a batch of output features extracted from the head into mask results. Args: mlvl_mask_preds_x (list[Tensor]): M
mmdet/models/dense_heads/solo_head.py:911
Methodpredict_by_feat
Transform a batch of output features extracted from the head into bbox results. Args: tl_heats (list[Tensor]): Top-left c
mmdet/models/dense_heads/corner_head.py:677
Methodpredict_mask
Perform forward propagation of the mask head and predict detection results on the features of the upstream network. Args:
mmdet/models/roi_heads/point_rend_roi_head.py:170
Methodpredict_mask
Perform forward propagation of the mask head and predict detection results on the features of the upstream network. Args:
mmdet/models/roi_heads/sparse_roi_head.py:460
Methodpredict_mask
Perform forward propagation of the mask head and predict detection results on the features of the upstream network. Args:
mmdet/models/roi_heads/mask_scoring_roi_head.py:147
Methodpredict_mask
Perform forward propagation of the mask head and predict detection results on the features of the upstream network. Args:
mmdet/models/roi_heads/standard_roi_head.py:365
Methodpredict_mask
Perform forward propagation of the mask head and predict detection results on the features of the upstream network. Args:
mmdet/models/roi_heads/cascade_roi_head.py:383
Methodpredict_mask
Perform forward propagation of the mask head and predict detection results on the features of the upstream network. Args:
projects/Detic/detic/detic_roi_head.py:266
Methodpredict_mask
Perform forward propagation of the mask head and predict detection results on the features of the upstream network. Args:
projects/Detic_new/detic/detic_roi_head.py:380
Methodprepare_data
Get date processed by ``self.pipeline``. Note that ``idx`` is a video index in default since the base element of video dataset is a vi
mmdet/datasets/base_video_dataset.py:208
Methodprepare_inputs_for_generation
(self, decoder_input_ids=None, pas
mmpretrain/models/multimodal/ofa/ofa_modules.py:1513
Methodprepare_inputs_for_generation
(self, input_ids, past=None,
mmpretrain/models/multimodal/blip/language_model.py:1219
Methodprepare_inputs_for_generation
(self, input_ids, past_key_values=
mmpretrain/models/multimodal/llava/modules.py:103
Methodprepare_inputs_for_generation
(self, input_ids, query_embeds,
mmpretrain/models/multimodal/blip2/Qformer.py:719
Methodprepare_inputs_for_generation
( self, input_ids=None, inputs_embeds=None, query_embeds=None, past_ke
mmpretrain/models/multimodal/blip2/modeling_opt.py:1044
Methodpreprocess
(self, data)
tools/deployment/mmdet_handler.py:32
Methodpreprocess
(self, inputs: List[InputType], batch_size: int = 1)
mmpretrain/apis/image_retrieval.py:185
Methodpreprocess
(self, inputs: List[dict], batch_size: int = 1)
mmpretrain/apis/visual_question_answering.py:100
Methodpreprocess
(self, inputs: InputsType, batch_size: int = 1)
mmpretrain/apis/nlvr.py:97
Methodpreprocess
(self, inputs: List[dict], batch_size: int = 1)
mmpretrain/apis/visual_grounding.py:98
Methodpreprocess
(self, inputs: List[str], batch_size: int = 1)
mmpretrain/apis/multimodal_retrieval.py:237
Methodpreprocess
(self, inputs: List[ImageType], batch_size: int = 1)
mmpretrain/apis/multimodal_retrieval.py:502
Methodpreprocess
(self, inputs: List[InputType], batch_size: int = 1)
mmpretrain/apis/image_classification.py:122
Methodpreprocess
(self, inputs: List[InputType], batch_size: int = 1)
mmpretrain/apis/image_caption.py:82
Functionpreprocess_panoptic_gt
Preprocess the ground truth for a image. Args: gt_labels (Tensor): Ground truth labels of each bbox, with shape (num_gts, ).
mmdet/models/utils/panoptic_gt_processing.py:8
Methodpriors
torch.Tensor: concatenated positive and negative priors
mmdet/models/task_modules/samplers/sampling_result.py:119
Methodprocess
Process one batch of data samples and predictions. The processed results should be stored in ``self.results``, which will be used to
mmdet/evaluation/metrics/reid_metric.py:54
Methodprocess
Process one batch of data samples. The processed results should be stored in ``self.results``, which will be used to computed the met
mmdet/evaluation/metrics/coco_caption_metric.py:51
Methodprocess
Process one batch of data and data_samples. The processed results should be stored in ``self.results``, which will be used to compute
mmdet/evaluation/metrics/refseg_metric.py:27
Methodprocess
Process one batch of data samples and predictions. The processed results should be stored in ``self.results``, which will be used to c
mmdet/evaluation/metrics/voc_metric.py:74
Methodprocess
Process one batch of data samples and predictions. The processed results should be stored in ``self.results``, which will be used to c
mmdet/evaluation/metrics/dump_proposals_metric.py:66
Methodprocess
Process one batch of data samples and predictions. The processed results should be stored in ``self.results``, which will be used to
mmdet/evaluation/metrics/base_video_metric.py:29
Methodprocess
Process one batch of data and data_samples. The processed results should be stored in ``self.results``, which will be used to compute
mmdet/evaluation/metrics/semseg_metric.py:72
Methodprocess
Process one batch of data and predictions. The processed results should be stored in ``self.results``, which will be used to computed
mmpretrain/evaluation/metrics/retrieval.py:87
Methodprocess
Process one batch of data and predictions. The processed results should be stored in ``self.results``, which will be used to computed
mmpretrain/evaluation/metrics/retrieval.py:262
Methodprocess
Process one batch of data samples. The processed results should be stored in ``self.results``, which will be used to computed the met
mmpretrain/evaluation/metrics/multi_label.py:172
Methodprocess
Process one batch of data samples. The processed results should be stored in ``self.results``, which will be used to computed the met
mmpretrain/evaluation/metrics/multi_label.py:504
Methodprocess
Process one batch of data samples. The processed results should be stored in ``self.results``, which will be used to computed the met
mmpretrain/evaluation/metrics/gqa.py:34
Methodprocess
Process one batch of data samples. The processed results should be stored in ``self.results``, which will be used to computed the met
mmpretrain/evaluation/metrics/single_label.py:140
Methodprocess
Process one batch of data samples. The processed results should be stored in ``self.results``, which will be used to computed the met
mmpretrain/evaluation/metrics/single_label.py:406
Methodprocess
(self, data_batch, data_samples: Sequence[dict])
mmpretrain/evaluation/metrics/single_label.py:637
Methodprocess
Process one batch of data samples. data_samples should contain the following keys: 1. pred_answer (str): The prediction from the mode
mmpretrain/evaluation/metrics/scienceqa.py:55
Methodprocess
Process one batch of data samples. The processed results should be stored in ``self.results``, which will be used to computed the met
mmpretrain/evaluation/metrics/voc_multi_label.py:29
Methodprocess
Process one batch of data samples. The processed results should be stored in ``self.results``, which will be used to computed the met
mmpretrain/evaluation/metrics/multi_task.py:64
Methodprocess
Process one batch of data samples. The processed results should be stored in ``self.results``, which will be used to computed the met
mmpretrain/evaluation/metrics/shape_bias_label.py:82
Methodprocess
Process one batch of data samples. The processed results should be stored in ``self.results``, which will be used to computed the met
mmpretrain/evaluation/metrics/vqa.py:206
Methodprocess
transfer tensors in predictions to CPU.
mmpretrain/evaluation/metrics/vqa.py:297
Methodprocess
Process one batch of data samples. The processed results should be stored in ``self.results``, which will be used to computed the met
mmpretrain/evaluation/metrics/visual_grounding_eval.py:45
Methodprocess
Process one batch of data samples. The processed results should be stored in ``self.results``, which will be used to computed the met
mmpretrain/evaluation/metrics/caption.py:49
Methodprocess
Process one batch of data samples and predictions. The processed results should be stored in ``self.results``, which will be used to c
projects/EfficientDet/efficientdet/tensorflow/coco_90metric.py:318
← previousnext →5,601–5,700 of 6,823, ranked by callers