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
↓ 1 callers
Function
parse_args
()
demo/video_gpuaccel_demo.py:24
↓ 1 callers
Function
parse_args
()
demo/image_demo.py:47
↓ 1 callers
Function
parse_args
()
demo/create_result_gif.py:19
↓ 1 callers
Function
parse_args
()
demo/demo_multi_model.py:36
↓ 1 callers
Function
parse_args
()
demo/mot_demo.py:17
↓ 1 callers
Function
parse_args
()
demo/webcam_demo.py:12
↓ 1 callers
Function
parse_args
()
demo/large_image_demo.py:38
↓ 1 callers
Function
parse_args
()
demo/video_demo.py:13
↓ 1 callers
Function
parse_config
(config_strings)
tools/model_converters/upgrade_model_version.py:19
↓ 1 callers
Function
parse_config
(config_strings)
tools/model_converters/upgrade_ssd_version.py:11
↓ 1 callers
Method
parse_data_info
Parse raw annotation to target format. Args: img_info (dict): Raw image information, usually it includes `img_id`
mmdet/datasets/xml_style.py:74
↓ 1 callers
Method
parse_data_info
Parse raw annotation to target format. Args: raw_data_info (dict): Raw data information loaded from ``ann_file``.
mmdet/datasets/base_video_dataset.py:92
↓ 1 callers
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/crowdhuman.py:97
↓ 1 callers
Method
parse_data_info
Parse raw annotation to target format. Args: img_info (dict): Raw image information, usually it includes `img_id`
mmdet/datasets/wider_face.py:54
↓ 1 callers
Method
parse_data_info
Parse raw annotation to target format. Args: raw_data_info (dict): Raw data information load from ``ann_file`` Returns:
projects/RF100-Benchmark/coco.py:115
↓ 1 callers
Method
parse_data_info
Parse raw annotation to target format. Args: raw_data_info (dict): Raw data information load from ``ann_file`` Returns:
projects/EfficientDet/efficientdet/tensorflow/coco_90class.py:104
↓ 1 callers
Method
parse_data_info
Parse raw annotation to target format. Args: raw_data_info (dict): Raw data information load from ``ann_file`` Returns:
projects/Detic_new/detic/imagenet_lvis.py:338
↓ 1 callers
Function
parse_dets
(dets)
tools/dataset_converters/mot2coco.py:86
↓ 1 callers
Method
parse_dynamic_params
parse the dynamic params for dynamic conv.
mmdet/models/dense_heads/condinst_head.py:905
↓ 1 callers
Method
parse_dynamic_params
split kernel head prediction to conv weight and bias.
mmdet/models/dense_heads/rtmdet_ins_head.py:521
↓ 1 callers
Method
parse_fewshot_anno
Parse fewshot related annotation for query set with support list. Args: anno (dict): Annotation for single example. s
mmpretrain/datasets/flamingo.py:127
↓ 1 callers
Method
parse_fewshot_anno
Parse fewshot related annotation for query set with support list. Args: query (dict): Annotation for single example.
mmpretrain/datasets/flamingo.py:249
↓ 1 callers
Function
parse_kwargs
()
projects/LabelStudio/backend_template/_wsgi.py:104
↓ 1 callers
Function
parse_line
Parse information from a line in a requirements text file.
setup.py:75
↓ 1 callers
Function
parse_pq_results
Parse the Panoptic Quality results. Args: pq_results (dict): Panoptic Quality results. Returns: dict: Panoptic Quality resul
mmdet/evaluation/metrics/coco_panoptic_metric.py:556
↓ 1 callers
Function
parse_version_info
Parse a version string into a tuple. Args: version_str (str): The version string. Returns: tuple[int | str]: The version info
mmdet/version.py:7
↓ 1 callers
Function
parse_version_info
Parse a version string into a tuple. Args: version_str (str): The version string. Returns: tuple[int | str]: The version info
mmpretrain/version.py:6
↓ 1 callers
Method
partition
(self, x, h_parts, w_parts)
mmpretrain/models/backbones/repmlp.py:189
↓ 1 callers
Method
partition_affine
perform Partition Perceptron.
mmpretrain/models/backbones/repmlp.py:196
↓ 1 callers
Function
patch_tensor_constructor
(fn)
mmpretrain/apis/utils.py:158
↓ 1 callers
Method
patchify
r"""Split images into non-overlapped patches. Args: imgs (torch.Tensor): A batch of images. The shape should be :
mmpretrain/models/heads/mae_head.py:31
↓ 1 callers
Function
perm_repeat_bboxes
Permute the repeated bboxes. Args: bboxes (Tensor): Shape (n, 4) for , "xyxy" format. iou_calculator (obj): Overlaps Calculator.
mmdet/models/task_modules/assigners/max_iou_assigner.py:53
↓ 1 callers
Function
plot_confusion_matrix
Draw confusion matrix with matplotlib. Args: confusion_matrix (ndarray): The confusion matrix. labels (list[str]): List of class
tools/analysis_tools/confusion_matrix.py:153
↓ 1 callers
Function
policies_v0
Autoaugment policies that was used in AutoAugment Paper.
mmdet/datasets/transforms/augment_wrappers.py:55
↓ 1 callers
Function
polygon_to_bitmap
Convert masks from the form of polygons to bitmaps. Args: polygons (list[ndarray]): masks in polygon representation height (int):
mmdet/structures/mask/structures.py:1149
↓ 1 callers
Method
pop_invalid_tracks
Pop out invalid tracks.
mmdet/models/trackers/base_tracker.py:92
↓ 1 callers
Method
positive_bag_loss
Compute positive bag loss. :math:`-log( Mean-max(P_{ij}^{cls} * P_{ij}^{loc}) )`. :math:`P_{ij}^{cls}`: matched_cls_prob, classifica
mmdet/models/dense_heads/free_anchor_retina_head.py:259
↓ 1 callers
Method
post_process
(self, outputs, data_samples)
mmpretrain/models/multimodal/ofa/ofa.py:285
↓ 1 callers
Method
post_process
Perform post process for outputs for different task. Args: outputs (torch.Tensor): The generated outputs. data_sample
mmpretrain/models/multimodal/llava/llava.py:225
↓ 1 callers
Method
post_process
Perform post process for outputs for different task. Args: outputs (torch.Tensor): The generated outputs. data_sample
mmpretrain/models/multimodal/minigpt4/minigpt4.py:343
↓ 1 callers
Method
post_process
Perform post process for outputs for different task. Args: outputs (torch.Tensor): The generated outputs. data_sample
mmpretrain/models/multimodal/flamingo/flamingo.py:276
↓ 1 callers
Method
post_process
(self, predictions, batch_data_samples, all_text_prompts, num_thing_class)
projects/XDecoder/xdecoder/unified_head.py:125
↓ 1 callers
Method
postprocess
Process the predictions and visualization results from ``forward`` and ``visualize``. This method should be responsible for the follo
mmdet/apis/det_inferencer.py:498
↓ 1 callers
Function
pq_compute_multi_core
Evaluate the metrics of Panoptic Segmentation with multithreading. Same as the function with the same name in `panopticapi`. Args: m
mmdet/evaluation/functional/panoptic_utils.py:177
↓ 1 callers
Function
pq_compute_single_core
The single core function to evaluate the metric of Panoptic Segmentation. Same as the function with the same name in `panopticapi`. Only the
mmdet/evaluation/functional/panoptic_utils.py:30
↓ 1 callers
Method
pre_decoder
Prepare intermediate variables before entering Transformer decoder, such as `query`, `query_pos`, and `reference_points`. Args:
mmdet/models/detectors/base_detr.py:291
↓ 1 callers
Method
pre_decoder
( self, memory: Tensor, memory_mask: Tensor, spatial_shapes: Tensor, m
mmdet/models/detectors/grounding_dino.py:191
↓ 1 callers
Method
pre_decoder
Prepare intermediate variables before entering Transformer decoder, such as `query`, `query_pos`, and `reference_points`. Args:
mmdet/models/detectors/dino.py:126
↓ 1 callers
Method
pre_logits
The process before the final classification head. The input ``feats`` is a tuple of tensor, and each tensor is the feature of a backb
mmpretrain/models/heads/linear_head.py:47
↓ 1 callers
Method
pre_logits
The process before the final classification head. The input ``feats`` is a tuple of list of tensor, and each tensor is the feature of
mmpretrain/models/heads/deit_head.py:42
↓ 1 callers
Method
pre_logits
The process before the final classification head. The input ``feats`` is a tuple of tensor, and each tensor is the feature of a backb
mmpretrain/models/heads/conformer_head.py:45
↓ 1 callers
Method
pre_logits
The process before the final classification head. The input ``feats`` is a tuple of tensor, and each tensor is the feature of a backb
mmpretrain/models/heads/multi_label_csra_head.py:56
↓ 1 callers
Method
pre_logits
The process before the final classification head. The input ``feats`` is a tuple of tensor, and each tensor is the feature of a backb
mmpretrain/models/heads/multi_label_cls_head.py:49
↓ 1 callers
Method
pre_logits
The process before the final classification head. The input ``feats`` is a tuple of tensor, and each tensor is the feature of a backb
mmpretrain/models/heads/margin_head.py:212
↓ 1 callers
Method
pre_logits
The process before the final classification head. The input ``feats`` is a tuple of tensor, and each tensor is the feature of a backb
mmpretrain/models/heads/stacked_head.py:114
↓ 1 callers
Method
pre_logits
The process before the final classification head. The input ``feats`` is a tuple of tensor, and each tensor is the feature of a backb
mmpretrain/models/heads/efficientformer_head.py:57
↓ 1 callers
Method
pre_logits
The process before the final classification head. The input ``feats`` is a tuple of tensor, and each tensor is the feature of a backb
mmpretrain/models/heads/multi_label_linear_head.py:50
↓ 1 callers
Method
pre_logits
The process before the final classification head. The input ``feats`` is a tuple of tensor, and each tensor is the feature of a stage
mmpretrain/models/heads/vig_head.py:45
↓ 1 callers
Method
pre_logits
The process before the final classification head. The input ``feats`` is a tuple of list of tensor, and each tensor is the feature of
mmpretrain/models/heads/vision_transformer_head.py:75
↓ 1 callers
Method
pre_process
(self, batch_data_samples, device)
projects/XDecoder/xdecoder/unified_head.py:47
↓ 1 callers
Method
pre_transformer
Process image features before feeding them to the transformer. Args: img_feats (tuple[Tensor]): Tuple of feature maps from neck.
mmdet/models/detectors/base_detr.py:243
↓ 1 callers
Method
predict
Perform forward propagation of the detection head and predict detection results on the features of the upstream network.
mmdet/models/dense_heads/embedding_rpn_head.py:116
↓ 1 callers
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:1062
↓ 1 callers
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/detr_head.py:496
↓ 1 callers
Method
predict
Test without augmentation. Args: x (tuple[Tensor]): Multi-level features from the upstream network, each is a 4D-
mmdet/models/tracking_heads/mask2former_track_head.py:620
↓ 1 callers
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_embed_head.py:336
↓ 1 callers
Method
predict
Predict results from a batch of inputs and data samples with post- processing. Args: batch_inputs (Tensor): Inputs with s
mmdet/models/detectors/two_stage.py:196
↓ 1 callers
Method
predict
Predict results from a batch of inputs and data samples with post- processing.
mmdet/models/detectors/base.py:108
↓ 1 callers
Method
predict
Predict results from a batch of inputs and data samples with post- processing. Args: batch_inputs (Tensor): Inputs with s
mmdet/models/detectors/semi_base.py:175
↓ 1 callers
Method
predict
Predict results from a batch of inputs and data samples with post- processing.
mmdet/models/mot/base.py:124
↓ 1 callers
Method
predict
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/qdtrack.py:54
↓ 1 callers
Method
predict
Predict results from a batch of inputs. Args: inputs (torch.Tensor): The input tensor with shape (N, C, ...) in g
mmpretrain/models/classifiers/image.py:234
↓ 1 callers
Method
predict
Predict results from a batch of inputs. Args: inputs (torch.Tensor): The input tensor with shape (N, C, ...) in g
mmpretrain/models/classifiers/timm.py:153
↓ 1 callers
Method
predict
Predict results from a batch of inputs. Args: inputs (torch.Tensor): The input tensor with shape (N, C, ...) in g
mmpretrain/models/classifiers/hugging_face.py:166
↓ 1 callers
Method
predict
Predict results from the extracted features. Args: inputs (tuple): The features extracted from the backbone. data_sam
mmpretrain/models/retrievers/image2image.py:202
↓ 1 callers
Method
predict
( self, images, data_samples=None, post_process=True, **generation_con
mmpretrain/models/multimodal/ofa/ofa.py:202
↓ 1 callers
Method
predict
(self, images: torch.Tensor, data_samples: DataSample = None)
mmpretrain/models/multimodal/clip/clip.py:231
↓ 1 callers
Method
predict
(self, images, data_samples=None)
mmpretrain/models/multimodal/blip/blip_grounding.py:185
↓ 1 callers
Method
predict
Predict caption.
mmpretrain/models/multimodal/blip/blip_nlvr.py:133
↓ 1 callers
Method
predict
update data_samples that contain pred_answer for each question. Args: images (Tensor): A batch of images. The shape of it should
mmpretrain/models/multimodal/blip/blip_vqa.py:198
↓ 1 callers
Method
predict
(self, images, data_samples, cal_i2t=True, cal_t2i=True)
mmpretrain/models/multimodal/blip/blip_retrieval.py:493
↓ 1 callers
Method
predict
Predict captions from a batch of inputs. Args: images (torch.Tensor): The input images tensor with shape (N, C, .
mmpretrain/models/multimodal/blip/blip_caption.py:95
↓ 1 callers
Method
predict
Predict generation results from a batch of inputs. Args: images (torch.Tensor): For zero-shot, the input images tensor is
mmpretrain/models/multimodal/llava/llava.py:162
↓ 1 callers
Method
predict
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/chinese_clip/chinese_clip.py:354
↓ 1 callers
Method
predict
Predict captions from a batch of inputs. Args: images (torch.Tensor): The input tensor with shape (N, C, ...) in
mmpretrain/models/multimodal/blip2/blip2_caption.py:214
↓ 1 callers
Method
predict
( self, images: torch.Tensor, data_samples: Optional[List[DataSample]] = N
mmpretrain/models/multimodal/minigpt4/minigpt4.py:313
↓ 1 callers
Method
predict
Predict generation results from a batch of inputs. Args: images (torch.Tensor): For zero-shot, the input images tensor is
mmpretrain/models/multimodal/flamingo/flamingo.py:191
↓ 1 callers
Method
predict_bbox_head
(self, mlvl_feats: Tuple[Tensor], batch_data_samples: Samp
projects/CO-DETR/codetr/codetr.py:308
↓ 1 callers
Method
predict_by_feat
Transform a batch of output features extracted from the head into bbox results. Args: all_layers_cls_scores (Tensor): Cla
mmdet/models/dense_heads/deformable_detr_head.py:294
↓ 1 callers
Method
predict_by_feat
Transform a batch of output features extracted from the head into bbox results. Args: cls_scores (list[Tensor]): Classifi
mmdet/models/dense_heads/guided_anchor_head.py:803
↓ 1 callers
Method
predict_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/atss_vlfusion_head.py:757
↓ 1 callers
Method
predict_by_feat
Transform a batch of output features extracted from the head into mask results.
mmdet/models/dense_heads/base_mask_head.py:26
↓ 1 callers
Method
predict_by_feat
Transform a batch of output features extracted from the head into bbox results. Args: all_layers_cls_scores (Tensor): Cl
mmdet/models/dense_heads/grounding_dino_head.py:336
↓ 1 callers
Method
predict_by_feat
Get proposal predict. Overriding to enable input ``anchor_list`` from outside. Args: anchor_list (list[list[Tensor]]): Mu
mmdet/models/dense_heads/cascade_rpn_head.py:605
↓ 1 callers
Method
predict_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/sabl_retina_head.py:560
↓ 1 callers
Method
predict_by_feat
Get similarity_logits. Args: x_split (Tensor): The embed features belonging to key image. ref_x_split (Tensor): The e
mmdet/models/tracking_heads/roi_embed_head.py:372
↓ 1 callers
Method
predict_by_feat
Get top-10 predictions. Args: mask_cls_results (Tensor): Mask classification logits,\ shape (batch_size, num_quer
mmdet/models/tracking_heads/mask2former_track_head.py:665
↓ 1 callers
Method
predict_by_feat
Predict the mask iou and calculate it into ``results.scores``. Args: mask_iou_preds (Tensor): Mask IoU predictions results, has s
mmdet/models/roi_heads/mask_heads/maskiou_head.py:249
↓ 1 callers
Method
predict_by_feat
Add prediction features to data samples.
mmdet/models/reid/linear_reid_head.py:187
↓ 1 callers
Method
predict_by_feat
(self, all_cls_scores, all_bbox_preds,
projects/CO-DETR/codetr/co_dino_head.py:200
← previous
next →
2,201–2,300 of 6,823, ranked by callers