MCPcopy Create free account

hub / github.com/KyanChen/RSPrompter / functions

Functions6,823 in github.com/KyanChen/RSPrompter

Methodtransform
Transform function to use RandAugment. Args: results (dict): Result dict from loading pipeline. Returns: dic
mmdet/datasets/transforms/augment_wrappers.py:247
Methodtransform
Transform the video information. Args: video_infos (dict): The whole video information. Returns: dict: The d
mmdet/datasets/transforms/frame_sampling.py:53
Methodtransform
Transform the video information. Args: video_infos (dict): The whole video information. Returns: dict: The d
mmdet/datasets/transforms/frame_sampling.py:148
Methodtransform
Method to pack the input data. Args: results (dict): Result dict from the data pipeline. Returns: dict:
mmdet/datasets/transforms/formatting.py:55
Methodtransform
Method to pack the input data. Args: results (dict): Result dict from the data pipeline. Returns: dict:
mmdet/datasets/transforms/formatting.py:329
Methodtransform
Method to pack the input data. Args: results (dict): Result dict from the data pipeline. Returns: dict:
mmdet/datasets/transforms/formatting.py:469
Methodtransform
Transform function to apply transforms sequentially. Args: results (dict): Result dict from loading pipeline. Returns:
mmdet/datasets/transforms/wrappers.py:96
Methodtransform
Transform function to apply transforms in random order. Args: results (dict): A result dict contains the results to transform.
mmdet/datasets/transforms/wrappers.py:145
Methodtransform
Apply wrapped transform functions to process both `gt_bboxes` and `proposals`. Args: results (dict): Result dict from loa
mmdet/datasets/transforms/wrappers.py:212
Methodtransform
Randomly choose a sub-policy to apply.
mmpretrain/datasets/transforms/auto_augment.py:260
Methodtransform
Apply transform to results.
mmpretrain/datasets/transforms/auto_augment.py:502
Methodtransform
Apply transform to results.
mmpretrain/datasets/transforms/auto_augment.py:588
Methodtransform
Apply transform to results.
mmpretrain/datasets/transforms/auto_augment.py:635
Methodtransform
Apply transform to results.
mmpretrain/datasets/transforms/auto_augment.py:665
Methodtransform
Apply transform to results.
mmpretrain/datasets/transforms/auto_augment.py:695
Methodtransform
Apply transform to results.
mmpretrain/datasets/transforms/auto_augment.py:735
Methodtransform
Apply transform to results.
mmpretrain/datasets/transforms/auto_augment.py:788
Methodtransform
Apply transform to results.
mmpretrain/datasets/transforms/auto_augment.py:840
Methodtransform
Apply transform to results.
mmpretrain/datasets/transforms/auto_augment.py:894
Methodtransform
Apply transform to results.
mmpretrain/datasets/transforms/auto_augment.py:948
Methodtransform
Apply transform to results.
mmpretrain/datasets/transforms/auto_augment.py:1002
Methodtransform
Apply transform to results.
mmpretrain/datasets/transforms/auto_augment.py:1056
Methodtransform
Apply transform to results.
mmpretrain/datasets/transforms/auto_augment.py:1113
Methodtransform
Apply transform to results.
mmpretrain/datasets/transforms/auto_augment.py:1160
Methodtransform
Transform function to randomly crop images. Args: results (dict): Result dict from loading pipeline. Returns:
mmpretrain/datasets/transforms/processing.py:187
Methodtransform
Transform function to randomly resized crop images. Args: results (dict): Result dict from loading pipeline. Returns:
mmpretrain/datasets/transforms/processing.py:349
Methodtransform
Args: results (dict): Results dict from pipeline Returns: dict: Results after the transformation.
mmpretrain/datasets/transforms/processing.py:643
Methodtransform
Transform function to randomly resized crop images. Args: results (dict): Result dict from loading pipeline. Returns:
mmpretrain/datasets/transforms/processing.py:729
Methodtransform
Transform function to resize images. Args: results (dict): Result dict from loading pipeline. Returns: dict:
mmpretrain/datasets/transforms/processing.py:837
Methodtransform
Transform function to resize images. Args: results (dict): Result dict from loading pipeline. Returns: dict:
mmpretrain/datasets/transforms/processing.py:974
Methodtransform
Transform function to resize images. Args: results (dict): Result dict from loading pipeline. Returns: dict:
mmpretrain/datasets/transforms/processing.py:1057
Methodtransform
Transform function to perform albumentations transforms. Args: results (dict): Result dict from loading pipeline. Return
mmpretrain/datasets/transforms/processing.py:1245
Methodtransform
Method to generate random block mask for each Image in SimMIM. Args: results (dict): Result dict from previous pipeline.
mmpretrain/datasets/transforms/processing.py:1314
Methodtransform
Method to generate random block mask for each Image in BEiT. Args: results (dict): Result dict from previous pipeline. R
mmpretrain/datasets/transforms/processing.py:1421
Methodtransform
Crop the given image and resize it to two different sizes. This module crops the given image randomly and resize the crop to two diff
mmpretrain/datasets/transforms/processing.py:1571
Methodtransform
Method to clean the input text data.
mmpretrain/datasets/transforms/processing.py:1682
Methodtransform
(self, results: dict)
mmpretrain/datasets/transforms/processing.py:1692
Methodtransform
(self, results: dict)
mmpretrain/datasets/transforms/processing.py:1722
Methodtransform
Method to pack the input data.
mmpretrain/datasets/transforms/formatting.py:130
Methodtransform
Method to pack the input data. result = {'img_path': 'a.png', 'gt_label': {'task1': 1, 'task3': 3}, 'img': array([[[ 0, 0, 0
mmpretrain/datasets/transforms/formatting.py:189
Methodtransform
Method to transpose array.
mmpretrain/datasets/transforms/formatting.py:250
Methodtransform
Method to convert images to :obj:`PIL.Image.Image`.
mmpretrain/datasets/transforms/formatting.py:280
Methodtransform
Method to convert img to :obj:`numpy.ndarray`.
mmpretrain/datasets/transforms/formatting.py:314
Methodtransform
(self, results)
mmpretrain/datasets/transforms/formatting.py:346
Methodtransform
Apply transformation to inputs. Args: results (dict): Result dict from previous pipelines. Returns: dict: Tr
mmpretrain/datasets/transforms/wrappers.py:73
Methodtransform
(self, results: dict)
mmpretrain/datasets/transforms/wrappers.py:124
Methodtranslate
Translate the masks. Args: out_shape (tuple[int]): Shape for output mask, format (h, w). offset (int | float): The of
mmdet/structures/mask/structures.py:138
Methodtranslate
Translate the PolygonMasks. Example: >>> self = PolygonMasks.random(dtype=np.int64) >>> out_shape = (self.height, sel
mmdet/structures/mask/structures.py:849
Methodunconfirmed_ids
Unconfirmed ids in the tracker.
mmdet/models/trackers/byte_tracker.py:73
Methodunconfirmed_ids
Unconfirmed ids in the tracker.
mmdet/models/trackers/ocsort_tracker.py:69
Methodunpatchify
r"""Combine non-overlapped patches into images. Args: x (torch.Tensor): The shape is :math:`(B, L, \text{patch_si
mmpretrain/models/heads/mae_head.py:51
Methodupd_loss
(losses, idx, weight=1)
projects/CO-DETR/codetr/codetr.py:159
Methodupdate
(self, example)
projects/gradio_demo/launch.py:161
Methodupdate
(self, example)
projects/gradio_demo/launch.py:333
Methodupdate_track
Update a track.
mmdet/models/trackers/sort_tracker.py:85
Methodupdate_track
Update a track.
mmdet/models/trackers/byte_tracker.py:91
Methodupdate_track
Update a track.
mmdet/models/trackers/strongsort_tracker.py:84
Methodupdate_track
Update a track.
mmdet/models/trackers/ocsort_tracker.py:97
Methodvalid_flags
Generate valid flags of points of multiple feature levels. Args: featmap_sizes (list(tuple)): List of feature map sizes in
mmdet/models/task_modules/prior_generators/point_generator.py:231
Methodvalid_flags
Generate valid flags of anchors in multiple feature levels. Args: featmap_sizes (list(tuple[int, int])): List of feature map size
mmdet/models/task_modules/prior_generators/anchor_generator.py:415
Functionvariance_scaling_trunc
(tensor, gain=1.)
projects/EfficientDet/efficientdet/utils.py:14
Methodvideo_data_samples
(self)
mmdet/structures/track_data_sample.py:109
Methodvisualize
(self, ori_inputs: List[InputType], preds: List[DataSample],
mmpretrain/apis/image_retrieval.py:202
Methodvisualize
(self, ori_inputs: List[dict], preds: List[DataSample],
mmpretrain/apis/visual_question_answering.py:113
Methodvisualize
(self)
mmpretrain/apis/feature_extractor.py:112
Methodvisualize
(self, ori_inputs: List[dict], preds: List[DataSample],
mmpretrain/apis/visual_grounding.py:111
Methodvisualize
(self, ori_inputs: List[str], preds: List[DataSample], t
mmpretrain/apis/multimodal_retrieval.py:246
Methodvisualize
(self, ori_inputs: List[ImageType], preds: List[DataSample],
mmpretrain/apis/multimodal_retrieval.py:519
Methodvisualize
(self, ori_inputs: List[InputType], preds: List[DataSample],
mmpretrain/apis/image_classification.py:139
Methodvisualize
(self, ori_inputs: List[InputType], preds: List[DataSample],
mmpretrain/apis/image_caption.py:99
Methodvisualize_masked_image
Visualize masked image. This method will draw an image with binary mask. Args: image (np.ndarray): The image to draw. Th
mmpretrain/visualization/visualizer.py:284
Methodvocab_size
(self)
mmpretrain/models/utils/tokenizer.py:186
Functionweighted_loss
Create a weighted version of a given loss function. To use this decorator, the loss function must have the signature like `loss_func(pred, ta
mmdet/models/losses/utils.py:68
Functionweighted_loss
Create a weighted version of a given loss function. To use this decorator, the loss function must have the signature like ``loss_func(pred, t
mmpretrain/models/losses/utils.py:57
Functionwider_face_classes
Class names of WIDERFace.
mmdet/evaluation/functional/class_names.py:5
Methodwidths
Return a tensor representing the widths of boxes.
mmdet/structures/bbox/base_boxes.py:376
Methodwidths
Return a tensor representing the widths of boxes.
mmdet/structures/bbox/horizontal_boxes.py:107
Methodwidths
(self)
tests/test_structures/test_bbox/utils.py:17
Methodwith_bbox
bool: whether the RoI head contains a `bbox_head`
mmdet/models/roi_heads/base_roi_head.py:40
Methodwith_bbox
bool: whether the detector has a bbox head
mmdet/models/detectors/base.py:47
Methodwith_bbox
bool: whether the detector has a bbox head
projects/CO-DETR/codetr/codetr.py:119
Methodwith_cmc
bool: whether the framework has a camera model compensation model.
mmdet/models/mot/strongsort.py:51
Methodwith_detector
bool: whether the framework has a detector.
mmdet/models/mot/base.py:46
Methodwith_feat_relay
bool: whether the head has feature relay head
mmdet/models/roi_heads/scnet_roi_head.py:72
Methodwith_glbctx
bool: whether the head has global context head
mmdet/models/roi_heads/scnet_roi_head.py:78
Methodwith_head
Check if the model has a head module.
mmpretrain/models/selfsup/base.py:85
Methodwith_head
Whether the classifier has a head.
mmpretrain/models/classifiers/base.py:40
Methodwith_loss
bool: whether the panoptic head contains loss function.
mmdet/models/seg_heads/panoptic_fusion_heads/base_panoptic_fusion_head.py:33
Methodwith_mask
bool: whether the RoI head contains a `mask_head`
mmdet/models/roi_heads/base_roi_head.py:45
Methodwith_mask
bool: whether the detector has a mask head
mmdet/models/detectors/base.py:53
Methodwith_motion
bool: whether the framework has a motion model.
mmdet/models/mot/base.py:56
Methodwith_neck
bool: whether the detector has a neck
mmdet/models/detectors/base.py:35
Methodwith_neck
Check if the model has a neck module.
mmpretrain/models/selfsup/base.py:80
Methodwith_neck
Whether the classifier has a neck.
mmpretrain/models/classifiers/base.py:35
Methodwith_panoptic_fusion_head
bool: whether the detector has panoptic fusion head
mmdet/models/detectors/panoptic_two_stage_segmentor.py:68
Methodwith_pos_embed
(self, tensor, pos: Optional[Tensor])
projects/XDecoder/xdecoder/transformer_blocks.py:402
Methodwith_query_head
bool: whether the detector has a RoI head
projects/CO-DETR/codetr/codetr.py:103
Methodwith_reid
bool: whether the framework has a reid model
mmdet/models/trackers/base_tracker.py:49
Methodwith_reid
bool: whether the framework has a reid model.
mmdet/models/mot/base.py:51
Methodwith_roi_head
bool: whether the detector has a RoI head
mmdet/models/detectors/two_stage.py:96
← previousnext →6,701–6,800 of 6,823, ranked by callers