Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/KyanChen/RSPrompter
/ functions
Functions
6,823 in github.com/KyanChen/RSPrompter
⨍
Functions
6,823
◇
Types & classes
1,658
↳
Endpoints
29
Function
multi_wrapper
(args)
tools/misc/split_coco.py:101
Method
multilabel_smooth_label
(self, one_hot_like_label)
mmpretrain/models/losses/label_smooth_loss.py:126
Method
neg_bboxes
(self)
mmdet/models/task_modules/samplers/sampling_result.py:137
Method
norm1
(self)
mmpretrain/models/backbones/beit.py:489
Method
norm1
(self)
mmpretrain/models/backbones/vision_transformer.py:92
Method
norm1
(self)
mmpretrain/models/backbones/vision_transformer.py:376
Method
norm2
(self)
mmpretrain/models/backbones/beit.py:493
Method
norm2
(self)
mmpretrain/models/backbones/vision_transformer.py:96
Method
norm2
(self)
mmpretrain/models/backbones/vision_transformer.py:380
Method
npu
Convert all tensors to NPU in data.
mmdet/structures/track_data_sample.py:198
Method
num_all_imgs
Get the number of all the images in this video dataset.
mmdet/datasets/base_video_dataset.py:290
Method
num_anchors
(self)
mmdet/models/dense_heads/anchor_head.py:107
Method
num_attrib
int: number of attributes in pred_map, bboxes (4) + objectness (1) + num_classes
mmdet/models/dense_heads/yolo_head.py:132
Method
num_base_anchors
list[int]: total number of base anchors in a feature grid
mmdet/models/task_modules/prior_generators/anchor_generator.py:126
Method
num_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
Method
num_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
Method
num_inputs
int: Number of input feature maps.
mmdet/models/roi_heads/roi_extractors/base_roi_extractor.py:37
Method
num_levels
int: number of feature map levels
mmdet/models/dense_heads/yolo_head.py:127
Method
num_levels
int: number of feature levels that the generator will be applied
mmdet/models/task_modules/prior_generators/point_generator.py:110
Method
num_levels
int: number of feature levels that the generator will be applied
mmdet/models/task_modules/prior_generators/anchor_generator.py:137
Method
num_levels
int: number of feature levels that the generator will be applied
mmdet/models/task_modules/prior_generators/anchor_generator.py:798
Method
num_preds
int: the number of predictions in this assignment
mmdet/models/task_modules/assigners/assign_result.py:51
Method
numpy
Convert all tensors to np.ndarray in data.
mmdet/structures/track_data_sample.py:226
Function
objects365v1_classes
Class names of Objects365 V1.
mmdet/evaluation/functional/class_names.py:344
Function
objects365v2_classes
Class names of Objects365 V2.
mmdet/evaluation/functional/class_names.py:415
Function
oid_challenge_classes
Class names of Open Images Challenge.
mmdet/evaluation/functional/class_names.py:129
Function
oid_v6_classes
Class names of Open Images V6.
mmdet/evaluation/functional/class_names.py:225
Method
optimize
(self)
tools/analysis_tools/optimize_anchors.py:142
Method
optimize
(self)
tools/analysis_tools/optimize_anchors.py:171
Method
ordinal
(n)
mmpretrain/datasets/dataset_wrappers.py:155
Method
original_smooth_label
(self, one_hot_like_label)
mmpretrain/models/losses/label_smooth_loss.py:120
Method
out_channels
(self)
mmpretrain/models/backbones/swin_transformer.py:197
Method
out_channels
(self)
mmpretrain/models/backbones/davit.py:599
Method
overlaps
Calculate overlap between two set of boxes with their types converted to ``HorizontalBoxes``. Args: boxes1 (:obj:`BaseBox
mmdet/structures/bbox/horizontal_boxes.py:359
Method
overlaps
(bboxes1, bboxes2, mode='iou', is_aligned=False, eps=1e-6)
tests/test_structures/test_bbox/utils.py:51
Method
paa_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
Method
pack_results
(precision, recall, f1_score, support)
mmpretrain/evaluation/metrics/multi_label.py:224
Method
pack_results
(precision, recall, f1_score, support)
mmpretrain/evaluation/metrics/single_label.py:447
Method
pad
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
Method
pad
padding has no effect on polygons`
mmdet/structures/mask/structures.py:800
Function
parse
(x)
mmpretrain/models/utils/helpers.py:41
Method
parse_basic_anno
Parse basic annotation for support and query set.
mmpretrain/datasets/flamingo.py:59
Method
parse_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
Method
parse_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
Method
parse_fewshot_anno
Parse fewshot related annotation for query set with support list.
mmpretrain/datasets/flamingo.py:64
Function
parse_xml
(args)
tools/dataset_converters/pascal_voc.py:15
Function
patch_auto_model
(cls, pretrained_model_name_or_path, *model_args, **kwargs)
mmpretrain/apis/utils.py:183
Function
patch_load_checkpoint
(*args, **kwargs)
mmpretrain/apis/utils.py:170
Function
patch_pretrained_model
(cls, pretrained_model_name_or_path, *model_args, **kwargs)
mmpretrain/apis/utils.py:190
Function
plot_curve
(log_dicts, args)
tools/analysis_tools/analyze_logs.py:36
Function
plot_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
Function
plot_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
Method
pop_invalid_tracks
Pop out invalid tracks.
mmdet/models/trackers/sort_tracker.py:97
Method
pop_invalid_tracks
Pop out invalid tracks.
mmdet/models/trackers/byte_tracker.py:107
Method
pos_bboxes
(self)
mmdet/models/task_modules/samplers/sampling_result.py:131
Method
positive_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
Method
post_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
Method
postprocess
(self, data)
tools/deployment/mmdet_handler.py:48
Method
postprocess
( self, preds: List[DataSample], visualization: List[np.ndarray], return_datas
mmpretrain/apis/image_retrieval.py:251
Method
postprocess
(self, preds: List[DataSample], visualization: List[np.ndarray],
mmpretrain/apis/visual_question_answering.py:157
Method
postprocess
(self, preds: List[DataSample], visualization: List[np.ndarray],
mmpretrain/apis/nlvr.py:119
Method
postprocess
(self)
mmpretrain/apis/feature_extractor.py:116
Method
postprocess
(self, preds: List[DataSample], visualization: List[np.ndarray],
mmpretrain/apis/visual_grounding.py:159
Method
postprocess
( self, preds: List[DataSample], visualization: List[np.ndarray], return_datas
mmpretrain/apis/multimodal_retrieval.py:289
Method
postprocess
( self, preds: List[DataSample], visualization: List[np.ndarray], return_datas
mmpretrain/apis/multimodal_retrieval.py:568
Method
postprocess
(self, preds: List[DataSample], visualization: List[np.ndarray],
mmpretrain/apis/image_classification.py:190
Method
postprocess
(self, preds: List[DataSample], visualization: List[np.ndarray],
mmpretrain/apis/image_caption.py:143
Method
pre_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
Method
pre_decoder
Prepare intermediate variables before entering Transformer decoder, such as `query`, `query_pos`. Args: memory (Tensor):
mmdet/models/detectors/dab_detr.py:69
Method
pre_decoder
Prepare intermediate variables before entering Transformer decoder, such as `query`, `memory`, and `reference_points`. Args:
mmdet/models/detectors/ddq_detr.py:85
Method
pre_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
Method
pre_decoder
( self, memory: Tensor, memory_mask: Tensor, spatial_shapes: Tensor, b
projects/HDINO/h_dino.py:54
Method
pre_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
Method
pred_feature
(self)
mmdet/structures/reid_data_sample.py:114
Method
pred_instances
(self)
mmdet/structures/det_data_sample.py:149
Method
pred_panoptic_seg
(self)
mmdet/structures/det_data_sample.py:200
Method
pred_sem_seg
(self)
mmdet/structures/det_data_sample.py:224
Method
pred_track_instances
(self)
mmdet/structures/det_data_sample.py:164
Method
predict
(self, batch_inputs: Tensor, batch_data_samples: SampleList, r
mmdet/rsprompter/models.py:148
Method
predict
(self, batch_inputs: Tensor, batch_data_samples: SampleList, r
mmdet/rsprompter/models.py:249
Method
predict
(self, x: Tuple[Tensor], batch_data_samples: SampleList, image_embeddings=None
mmdet/rsprompter/models.py:633
Method
predict
(self, mask_cls_results: Tensor, mask_pred_results: Tensor, ba
mmdet/rsprompter/models.py:663
Method
predict
(self, x: Tuple[Tensor], rpn_results_list: InstanceList, batch
mmdet/rsprompter/models.py:1553
Method
predict
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
Method
predict
Predict function.
mmdet/models/seg_heads/panoptic_fusion_heads/base_panoptic_fusion_head.py:42
Method
predict
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
Method
predict
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
Method
predict
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
Method
predict
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
Method
predict
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
Method
predict
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
Method
predict
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
Method
predict
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
Method
predict
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
Method
predict
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
Method
predict
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
Method
predict
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
Method
predict
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
Method
predict
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
Method
predict
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
← previous
next →
5,501–5,600 of 6,823, ranked by callers