MCPcopy Create free account

hub / github.com/KyanChen/RSPrompter / functions

Functions6,823 in github.com/KyanChen/RSPrompter

Functionmulti_wrapper
(args)
tools/misc/split_coco.py:101
Methodmultilabel_smooth_label
(self, one_hot_like_label)
mmpretrain/models/losses/label_smooth_loss.py:126
Methodneg_bboxes
(self)
mmdet/models/task_modules/samplers/sampling_result.py:137
Methodnorm1
(self)
mmpretrain/models/backbones/beit.py:489
Methodnorm1
(self)
mmpretrain/models/backbones/vision_transformer.py:92
Methodnorm1
(self)
mmpretrain/models/backbones/vision_transformer.py:376
Methodnorm2
(self)
mmpretrain/models/backbones/beit.py:493
Methodnorm2
(self)
mmpretrain/models/backbones/vision_transformer.py:96
Methodnorm2
(self)
mmpretrain/models/backbones/vision_transformer.py:380
Methodnpu
Convert all tensors to NPU in data.
mmdet/structures/track_data_sample.py:198
Methodnum_all_imgs
Get the number of all the images in this video dataset.
mmdet/datasets/base_video_dataset.py:290
Methodnum_anchors
(self)
mmdet/models/dense_heads/anchor_head.py:107
Methodnum_attrib
int: number of attributes in pred_map, bboxes (4) + objectness (1) + num_classes
mmdet/models/dense_heads/yolo_head.py:132
Methodnum_base_anchors
list[int]: total number of base anchors in a feature grid
mmdet/models/task_modules/prior_generators/anchor_generator.py:126
Methodnum_base_priors
list[int]: The number of priors (points) at a point on the feature grid
mmdet/models/task_modules/prior_generators/point_generator.py:115
Methodnum_base_priors
list[int]: The number of priors (anchors) at a point on the feature grid
mmdet/models/task_modules/prior_generators/anchor_generator.py:131
Methodnum_inputs
int: Number of input feature maps.
mmdet/models/roi_heads/roi_extractors/base_roi_extractor.py:37
Methodnum_levels
int: number of feature map levels
mmdet/models/dense_heads/yolo_head.py:127
Methodnum_levels
int: number of feature levels that the generator will be applied
mmdet/models/task_modules/prior_generators/point_generator.py:110
Methodnum_levels
int: number of feature levels that the generator will be applied
mmdet/models/task_modules/prior_generators/anchor_generator.py:137
Methodnum_levels
int: number of feature levels that the generator will be applied
mmdet/models/task_modules/prior_generators/anchor_generator.py:798
Methodnum_preds
int: the number of predictions in this assignment
mmdet/models/task_modules/assigners/assign_result.py:51
Methodnumpy
Convert all tensors to np.ndarray in data.
mmdet/structures/track_data_sample.py:226
Functionobjects365v1_classes
Class names of Objects365 V1.
mmdet/evaluation/functional/class_names.py:344
Functionobjects365v2_classes
Class names of Objects365 V2.
mmdet/evaluation/functional/class_names.py:415
Functionoid_challenge_classes
Class names of Open Images Challenge.
mmdet/evaluation/functional/class_names.py:129
Functionoid_v6_classes
Class names of Open Images V6.
mmdet/evaluation/functional/class_names.py:225
Methodoptimize
(self)
tools/analysis_tools/optimize_anchors.py:142
Methodoptimize
(self)
tools/analysis_tools/optimize_anchors.py:171
Methodordinal
(n)
mmpretrain/datasets/dataset_wrappers.py:155
Methodoriginal_smooth_label
(self, one_hot_like_label)
mmpretrain/models/losses/label_smooth_loss.py:120
Methodout_channels
(self)
mmpretrain/models/backbones/swin_transformer.py:197
Methodout_channels
(self)
mmpretrain/models/backbones/davit.py:599
Methodoverlaps
Calculate overlap between two set of boxes with their types converted to ``HorizontalBoxes``. Args: boxes1 (:obj:`BaseBox
mmdet/structures/bbox/horizontal_boxes.py:359
Methodoverlaps
(bboxes1, bboxes2, mode='iou', is_aligned=False, eps=1e-6)
tests/test_structures/test_bbox/utils.py:51
Methodpaa_reassign
Fit loss to GMM distribution and separate positive, ignore, negative samples again with GMM model. Args: pos_losses (Tens
mmdet/models/dense_heads/paa_head.py:238
Methodpack_results
(precision, recall, f1_score, support)
mmpretrain/evaluation/metrics/multi_label.py:224
Methodpack_results
(precision, recall, f1_score, support)
mmpretrain/evaluation/metrics/single_label.py:447
Methodpad
Pad masks to the given size of (h, w). Args: out_shape (tuple[int]): Target (h, w) of padded mask. pad_val (int): The
mmdet/structures/mask/structures.py:57
Methodpad
padding has no effect on polygons`
mmdet/structures/mask/structures.py:800
Functionparse
(x)
mmpretrain/models/utils/helpers.py:41
Methodparse_basic_anno
Parse basic annotation for support and query set.
mmpretrain/datasets/flamingo.py:59
Methodparse_data_info
Parse raw annotation to target format. Args: raw_data_info (dict): Raw data information load from ``ann_file``. Returns:
mmdet/datasets/coco_panoptic.py:189
Methodparse_data_info
Parse raw annotation to target format. The difference between this function and the one in ``BaseVideoDataset`` is that the parsing here
mmdet/datasets/mot_challenge_dataset.py:29
Methodparse_fewshot_anno
Parse fewshot related annotation for query set with support list.
mmpretrain/datasets/flamingo.py:64
Functionparse_xml
(args)
tools/dataset_converters/pascal_voc.py:15
Functionpatch_auto_model
(cls, pretrained_model_name_or_path, *model_args, **kwargs)
mmpretrain/apis/utils.py:183
Functionpatch_load_checkpoint
(*args, **kwargs)
mmpretrain/apis/utils.py:170
Functionpatch_pretrained_model
(cls, pretrained_model_name_or_path, *model_args, **kwargs)
mmpretrain/apis/utils.py:190
Functionplot_curve
(log_dicts, args)
tools/analysis_tools/analyze_logs.py:36
Functionplot_iou_recall
Plot IoU-Recalls curve. Args: recalls(ndarray or list): shape (k,) iou_thrs(ndarray or list): same shape as `recalls`
mmdet/evaluation/functional/recall.py:177
Functionplot_num_recall
Plot Proposal_num-Recalls curve. Args: recalls(ndarray or list): shape (k,) proposal_nums(ndarray or list): same shape as `recall
mmdet/evaluation/functional/recall.py:152
Methodpop_invalid_tracks
Pop out invalid tracks.
mmdet/models/trackers/sort_tracker.py:97
Methodpop_invalid_tracks
Pop out invalid tracks.
mmdet/models/trackers/byte_tracker.py:107
Methodpos_bboxes
(self)
mmdet/models/task_modules/samplers/sampling_result.py:131
Methodpositive_loss_single
Compute positive loss. Args: cls_prob (Tensor): Classification probability of shape (num_anchors, num_classes).
mmdet/models/dense_heads/free_anchor_retina_head.py:145
Methodpost_process
Perform post process for outputs for different task. Args: outputs (torch.Tensor): The generated outputs. data_sample
mmpretrain/models/multimodal/otter/otter.py:117
Methodpostprocess
(self, data)
tools/deployment/mmdet_handler.py:48
Methodpostprocess
( self, preds: List[DataSample], visualization: List[np.ndarray], return_datas
mmpretrain/apis/image_retrieval.py:251
Methodpostprocess
(self, preds: List[DataSample], visualization: List[np.ndarray],
mmpretrain/apis/visual_question_answering.py:157
Methodpostprocess
(self, preds: List[DataSample], visualization: List[np.ndarray],
mmpretrain/apis/nlvr.py:119
Methodpostprocess
(self)
mmpretrain/apis/feature_extractor.py:116
Methodpostprocess
(self, preds: List[DataSample], visualization: List[np.ndarray],
mmpretrain/apis/visual_grounding.py:159
Methodpostprocess
( self, preds: List[DataSample], visualization: List[np.ndarray], return_datas
mmpretrain/apis/multimodal_retrieval.py:289
Methodpostprocess
( self, preds: List[DataSample], visualization: List[np.ndarray], return_datas
mmpretrain/apis/multimodal_retrieval.py:568
Methodpostprocess
(self, preds: List[DataSample], visualization: List[np.ndarray],
mmpretrain/apis/image_classification.py:190
Methodpostprocess
(self, preds: List[DataSample], visualization: List[np.ndarray],
mmpretrain/apis/image_caption.py:143
Methodpre_decoder
Prepare intermediate variables before entering Transformer decoder, such as `query`, `query_pos`, and `reference_points`. The forward
mmdet/models/detectors/deformable_detr.py:286
Methodpre_decoder
Prepare intermediate variables before entering Transformer decoder, such as `query`, `query_pos`. Args: memory (Tensor):
mmdet/models/detectors/dab_detr.py:69
Methodpre_decoder
Prepare intermediate variables before entering Transformer decoder, such as `query`, `memory`, and `reference_points`. Args:
mmdet/models/detectors/ddq_detr.py:85
Methodpre_decoder
Prepare intermediate variables before entering Transformer decoder, such as `query`, `query_pos`. The forward procedure of the transf
mmdet/models/detectors/detr.py:150
Methodpre_decoder
( self, memory: Tensor, memory_mask: Tensor, spatial_shapes: Tensor, b
projects/HDINO/h_dino.py:54
Methodpre_transformer
Process image features before feeding them to the transformer. The forward procedure of the transformer is defined as: 'pre_transform
mmdet/models/detectors/deformable_detr.py:119
Methodpred_feature
(self)
mmdet/structures/reid_data_sample.py:114
Methodpred_instances
(self)
mmdet/structures/det_data_sample.py:149
Methodpred_panoptic_seg
(self)
mmdet/structures/det_data_sample.py:200
Methodpred_sem_seg
(self)
mmdet/structures/det_data_sample.py:224
Methodpred_track_instances
(self)
mmdet/structures/det_data_sample.py:164
Methodpredict
(self, batch_inputs: Tensor, batch_data_samples: SampleList, r
mmdet/rsprompter/models.py:148
Methodpredict
(self, batch_inputs: Tensor, batch_data_samples: SampleList, r
mmdet/rsprompter/models.py:249
Methodpredict
(self, x: Tuple[Tensor], batch_data_samples: SampleList, image_embeddings=None
mmdet/rsprompter/models.py:633
Methodpredict
(self, mask_cls_results: Tensor, mask_pred_results: Tensor, ba
mmdet/rsprompter/models.py:663
Methodpredict
(self, x: Tuple[Tensor], rpn_results_list: InstanceList, batch
mmdet/rsprompter/models.py:1553
Methodpredict
Test without Augmentation. Args: x (Union[Tensor, Tuple[Tensor]]): Feature maps. batch_img_metas (List[dict]): List o
mmdet/models/seg_heads/base_semantic_head.py:74
Methodpredict
Predict function.
mmdet/models/seg_heads/panoptic_fusion_heads/base_panoptic_fusion_head.py:42
Methodpredict
Perform forward propagation of the detection head and predict detection results on the features of the upstream network. Over-write be
mmdet/models/dense_heads/conditional_detr_head.py:134
Methodpredict
Perform forward propagation and loss calculation of the detection head on the queries of the upstream network. Args: hidd
mmdet/models/dense_heads/deformable_detr_head.py:253
Methodpredict
Perform forward propagation of the detection head and predict detection results on the features of the upstream network. Args:
mmdet/models/dense_heads/base_dense_head.py:171
Methodpredict
Perform forward propagation of the detection head and predict detection results on the features of the upstream network. Args:
mmdet/models/dense_heads/atss_vlfusion_head.py:719
Methodpredict
Perform forward propagation of the detection head and predict detection results on the features of the upstream network. Over-write be
mmdet/models/dense_heads/dab_detr_head.py:72
Methodpredict
Test function without test-time augmentation. Args: x (tuple[Tensor]): Multi-level features from the upstream net
mmdet/models/dense_heads/base_mask_head.py:82
Methodpredict
Perform forward propagation and loss calculation of the detection head on the queries of the upstream network. Args: hidd
mmdet/models/dense_heads/grounding_dino_head.py:282
Methodpredict
Perform forward propagation of the detection head and predict detection results on the features of the upstream network. Args:
mmdet/models/dense_heads/cascade_rpn_head.py:856
Methodpredict
Test without augmentaton. Args: x (tuple[Tensor]): Multi-level features from the upstream network, each is a 4D-t
mmdet/models/dense_heads/maskformer_head.py:569
Methodpredict
Perform forward propagation of the tracking head and predict tracking results on the features of the upstream network. Args:
mmdet/models/tracking_heads/quasi_dense_track_head.py:163
Methodpredict
Perform forward propagation of the tracking head and predict tracking results on the features of the upstream network. Args:
mmdet/models/tracking_heads/roi_track_head.py:165
Methodpredict
Perform forward propagation of the roi head and predict detection results on the features of the upstream network. - Compute predicti
mmdet/models/roi_heads/trident_roi_head.py:63
Methodpredict
Perform forward propagation of the roi head and predict detection results on the features of the upstream network. Args:
mmdet/models/roi_heads/scnet_roi_head.py:464
Methodpredict
Perform forward propagation of the roi head and predict detection results on the features of the upstream network. Args:
mmdet/models/roi_heads/base_roi_head.py:75
Methodpredict
Perform forward propagation of the roi head and predict detection results on the features of the upstream network. Args:
mmdet/models/roi_heads/htc_roi_head.py:382
← previousnext →5,501–5,600 of 6,823, ranked by callers