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
Method
_freeze_stages
(self)
mmpretrain/models/backbones/mobilevit.py:410
↓ 1 callers
Method
_freeze_stages
(self)
mmpretrain/models/backbones/vgg.py:167
↓ 1 callers
Method
_freeze_stages
(self)
mmpretrain/models/backbones/revvit.py:586
↓ 1 callers
Method
_freeze_stages
(self)
mmpretrain/models/backbones/hivit.py:602
↓ 1 callers
Method
_freeze_stages
(self)
mmpretrain/models/backbones/efficientnet.py:397
↓ 1 callers
Method
_freeze_stages
(self)
mmpretrain/models/backbones/mobilenet_v2.py:248
↓ 1 callers
Method
_freeze_stages
(self)
mmpretrain/models/backbones/swin_transformer_v2.py:499
↓ 1 callers
Method
_freeze_stages
(self)
mmpretrain/models/backbones/vision_transformer.py:425
↓ 1 callers
Function
_generate_batch_data
(sampler, batch_size)
demo/create_result_gif.py:34
↓ 1 callers
Method
_generate_target
Generate the reconstruction target. Args: logits_target (torch.Tensor): The logits generated by DALL-E.s Returns:
mmpretrain/models/heads/cae_head.py:31
↓ 1 callers
Method
_get_center3x3_region_index_targets
Get the center (and the 3x3 region near center) locations and target of each objects.
mmdet/models/dense_heads/centernet_update_head.py:497
↓ 1 callers
Method
_get_chunk_data
Get batch data from inputs. Args: inputs (Iterable): An iterable dataset. chunk_size (int): Equivalent to batch size.
mmdet/apis/det_inferencer.py:263
↓ 1 callers
Method
_get_chunk_data
Get batch data from inputs. Args: inputs (Iterable): An iterable dataset. chunk_size (int): Equivalent to batch size.
projects/XDecoder/xdecoder/inference/texttoimage_regionretrieval_inferencer.py:42
↓ 1 callers
Function
_get_config_directory
Find the predefined detector config directory.
mmdet/testing/_utils.py:17
↓ 1 callers
Method
_get_crop_size
Randomly generates the absolute crop size based on `crop_type` and `image_size`. Args: image_size (Tuple[int, int]): (h,
mmdet/datasets/transforms/transforms.py:974
↓ 1 callers
Method
_get_gt_dir
Get directory to save the gt files.
mmdet/evaluation/metrics/mot_challenge_metric.py:152
↓ 1 callers
Method
_get_gt_instances
()
tests/test_visualization/test_local_visualizer.py:126
↓ 1 callers
Method
_get_guided_anchors_single
Get guided anchors and loc masks for a single level. Args: squares (tensor): Squares of a single level. shape_pred (t
mmdet/models/dense_heads/guided_anchor_head.py:359
↓ 1 callers
Method
_get_homography_matrix
Get the homography matrix for the geometric transformation.
mmdet/datasets/transforms/geometric.py:132
↓ 1 callers
Method
_get_hsv_gains
(self)
mmdet/datasets/transforms/transforms.py:2933
↓ 1 callers
Method
_get_image_url
(self, task)
projects/LabelStudio/backend_template/mmdetection.py:65
↓ 1 callers
Method
_get_l1_target
Convert gt bboxes to center offset and log width height.
mmdet/models/dense_heads/yolox_head.py:609
↓ 1 callers
Method
_get_label_inds
Inputs: batch_gt_instances: [n_i], sum n_i = N shapes_per_level: L x 2 [(h_l, w_l)]_L Returns: po
projects/Detic_new/detic/centernet_rpn_head.py:427
↓ 1 callers
Method
_get_labels_from_xml
Get gt_labels and labels_difficult from xml file.
mmpretrain/datasets/voc.py:144
↓ 1 callers
Method
_get_logit_with_margin
add arc margin to the cosine in target index. The target must be in index format.
mmpretrain/models/heads/margin_head.py:223
↓ 1 callers
Method
_get_loss
Unpack data samples and compute loss.
mmpretrain/models/classifiers/timm.py:136
↓ 1 callers
Method
_get_loss
Unpack data samples and compute loss.
mmpretrain/models/classifiers/hugging_face.py:148
↓ 1 callers
Method
_get_loss
Unpack data samples and compute loss.
mmpretrain/models/heads/cls_head.py:83
↓ 1 callers
Method
_get_loss
Unpack data samples and compute loss.
mmpretrain/models/heads/multi_label_cls_head.py:90
↓ 1 callers
Method
_get_loss
Unpack data samples and compute loss.
mmpretrain/models/heads/itc_head.py:93
↓ 1 callers
Method
_get_loss
Unpack data samples and compute loss.
mmpretrain/models/heads/itm_head.py:95
↓ 1 callers
Method
_get_mag
Get the magnitude of the transform.
mmdet/datasets/transforms/colorspace.py:76
↓ 1 callers
Method
_get_mag
Get the magnitude of the transform.
mmdet/datasets/transforms/geometric.py:155
↓ 1 callers
Method
_get_meta_info
Collect meta information from the dictionary of meta. Args: in_metainfo (dict): Meta information dict. Returns:
mmpretrain/datasets/multi_task.py:189
↓ 1 callers
Method
_get_ori_dataset_idx
Convert global idx to local index. Args: idx (int): Global index of ``KFoldDataset``. Returns: int: The orig
mmpretrain/datasets/dataset_wrappers.py:89
↓ 1 callers
Method
_get_ori_dataset_idx
(self, idx)
tests/test_datasets/test_samplers/test_multi_source_sampler.py:35
↓ 1 callers
Method
_get_output_shape
Compute the target image shape with the given `short_edge_length`. Args: img (np.ndarray): The input image. short_edg
mmdet/datasets/transforms/transforms.py:322
↓ 1 callers
Method
_get_patches
Get patches for random erasing.
mmdet/datasets/transforms/transforms.py:3256
↓ 1 callers
Method
_get_pred_dir
Get directory to save the prediction results.
mmdet/evaluation/metrics/mot_challenge_metric.py:138
↓ 1 callers
Method
_get_pred_instances
()
tests/test_visualization/test_local_visualizer.py:140
↓ 1 callers
Method
_get_predictions
Post-process the output of head. Including softmax and set ``pred_label`` of data samples.
mmpretrain/models/classifiers/timm.py:174
↓ 1 callers
Method
_get_predictions
Post-process the output of head. Including softmax and set ``pred_label`` of data samples.
mmpretrain/models/classifiers/hugging_face.py:187
↓ 1 callers
Method
_get_predictions
Post-process the output of retriever.
mmpretrain/models/retrievers/image2image.py:229
↓ 1 callers
Method
_get_predictions
Post-process the output of head. Including softmax and set ``pred_label`` of data samples.
mmpretrain/models/heads/multi_label_cls_head.py:135
↓ 1 callers
Method
_get_predictions_demo
()
tests/test_evaluation/test_metrics/test_mot_challenge_metrics.py:26
↓ 1 callers
Method
_get_prototype_vecs_from_dataloader
get prototype_vecs from dataloader.
mmpretrain/models/retrievers/image2image.py:248
↓ 1 callers
Method
_get_prototype_vecs_from_path
get prototype_vecs from prototype path.
mmpretrain/models/retrievers/image2image.py:272
↓ 1 callers
Method
_get_random_homography_matrix
(self, height, width)
mmdet/datasets/transforms/transforms.py:2797
↓ 1 callers
Method
_get_random_size
Randomly generate a shape in ``_random_size_range`` and broadcast to all ranks.
mmdet/models/data_preprocessors/data_preprocessor.py:282
↓ 1 callers
Method
_get_relation_matrix
Get the matrix of class hierarchy from the hierarchy file. Hierarchy for 600 classes can be found at https://storage.googleapis.com/openimag
mmdet/datasets/openimages.py:219
↓ 1 callers
Method
_get_relation_matrix
Get the matrix of class hierarchy from the hierarchy file. Args: hierarchy_file (str): File path to the hierarchy for classes.
mmdet/datasets/openimages.py:470
↓ 1 callers
Method
_get_relative_pos
(self, relative_pos, H, W)
mmpretrain/models/backbones/vig.py:455
↓ 1 callers
Method
_get_rotation_matrix
(rotate_degrees: float)
mmdet/datasets/transforms/transforms.py:2872
↓ 1 callers
Method
_get_scaling_matrix
(scale_ratio: float)
mmdet/datasets/transforms/transforms.py:2881
↓ 1 callers
Method
_get_selected_inds
(self, num_bboxes: int)
mmdet/datasets/transforms/transforms.py:3062
↓ 1 callers
Method
_get_shear_matrix
(x_shear_degrees: float, y_shear_degrees: float)
mmdet/datasets/transforms/transforms.py:2888
↓ 1 callers
Method
_get_source_group_info
(self)
mmdet/datasets/samplers/multi_source_sampler.py:182
↓ 1 callers
Method
_get_supercategory_ann
Get parent classes's annotation of the corresponding class. Args: instances (List[dict]): A list of annotations of the instances.
mmdet/evaluation/metrics/openimages_metric.py:66
↓ 1 callers
Method
_get_targets_single
Compute targets for predictions of single image. Args: mask_preds (Tensor): Predicted prototypes with shape (num_
mmdet/models/dense_heads/yolact_head.py:824
↓ 1 callers
Method
_get_targets_single
Compute targets for predictions of single image. Args: mask_preds (Tensor): Predicted prototypes with shape (num_
mmdet/models/dense_heads/boxinst_head.py:155
↓ 1 callers
Method
_get_targets_single
Compute targets for predictions of single image. Args: mask_preds (Tensor): Predicted prototypes with shape (num_
mmdet/models/dense_heads/condinst_head.py:1038
↓ 1 callers
Method
_get_targets_single
Compute targets for predictions of single image. Args: gt_instances (:obj:`InstanceData`): Ground truth of instance
mmdet/models/dense_heads/solo_head.py:311
↓ 1 callers
Function
_get_test_pipeline_cfg
(dataset_cfg)
mmdet/utils/misc.py:99
↓ 1 callers
Method
_get_tgt_permutation_idx
(self, indices)
projects/SparseInst/sparseinst/loss.py:83
↓ 1 callers
Method
_get_track_pad_shape
Get the pad_shape of each image based on data and pad_size_divisor. Args: data (dict): Data sampled from dataloader. Ret
mmdet/models/data_preprocessors/track_data_preprocessor.py:176
↓ 1 callers
Method
_get_translation_matrix
(x: float, y: float)
mmdet/datasets/transforms/transforms.py:2898
↓ 1 callers
Method
_get_updated_masks
Update masks with composed mask.
mmdet/datasets/transforms/transforms.py:3164
↓ 1 callers
Method
_infinite_indices
Infinitely yield a sequence of indices.
mmdet/datasets/samplers/multi_source_sampler.py:107
↓ 1 callers
Method
_init_centripetal_layers
Initialize centripetal layers. Including feature adaption deform convs (feat_adaption), deform offset prediction convs (dcn_off), gui
mmdet/models/dense_heads/centripetal_head.py:79
↓ 1 callers
Method
_init_corner_emb_layers
Initialize corner embedding layers. Only include corner embedding branch with two parts: prefix `tl_` for top-left and `br_` for bott
mmdet/models/dense_heads/corner_head.py:211
↓ 1 callers
Method
_init_corner_kpt_layers
Initialize corner keypoint layers. Including corner heatmap branch and corner offset branch. Each branch has two parts: prefix `tl_`
mmdet/models/dense_heads/corner_head.py:173
↓ 1 callers
Method
_init_layers
(self)
mmdet/models/necks/dilated_encoder.py:78
↓ 1 callers
Method
_init_layers
Initialize layers of the head.
mmdet/models/dense_heads/solov2_head.py:73
↓ 1 callers
Method
_init_layers
Initialize layers of the head.
mmdet/models/dense_heads/guided_anchor_head.py:219
↓ 1 callers
Method
_init_layers
Initialize layers of the head.
mmdet/models/dense_heads/ssd_head.py:119
↓ 1 callers
Method
_init_layers
Initialize a sparse set of proposal boxes and proposal features.
mmdet/models/dense_heads/embedding_rpn_head.py:45
↓ 1 callers
Method
_init_layers
Initialize layers of the model.
mmdet/models/dense_heads/atss_vlfusion_head.py:277
↓ 1 callers
Method
_init_layers
initialize conv layers in YOLOv3 head.
mmdet/models/dense_heads/yolo_head.py:138
↓ 1 callers
Method
_init_layers
Initialize layers of the head.
mmdet/models/dense_heads/anchor_head.py:119
↓ 1 callers
Method
_init_layers
Initialize layers of the head.
mmdet/models/dense_heads/yolact_head.py:659
↓ 1 callers
Method
_init_layers
Initialize layers of the head.
mmdet/models/dense_heads/yolact_head.py:1153
↓ 1 callers
Method
_init_layers
Initialize layers of the head.
mmdet/models/dense_heads/anchor_free_head.py:115
↓ 1 callers
Method
_init_layers
Initialize layers of the head.
mmdet/models/dense_heads/condinst_head.py:887
↓ 1 callers
Method
_init_layers
Initialize heads for all level feature maps.
mmdet/models/dense_heads/yolox_head.py:143
↓ 1 callers
Method
_init_layers
Initialize layers of the head.
mmdet/models/dense_heads/solo_head.py:116
↓ 1 callers
Method
_init_layers
(self)
mmdet/models/dense_heads/sabl_retina_head.py:158
↓ 1 callers
Method
_init_layers
Initialize layers for CornerHead. Including two parts: corner keypoint layers and corner embedding layers
mmdet/models/dense_heads/corner_head.py:229
↓ 1 callers
Method
_init_layers
Initialize layers of the transformer head.
mmdet/models/dense_heads/detr_head.py:122
↓ 1 callers
Method
_init_layers
Initialize layers except for backbone, neck and bbox_head.
mmdet/models/detectors/base_detr.py:80
↓ 1 callers
Method
_init_layers
Initialize layers for qkv projection.
mmdet/models/layers/transformer/utils.py:488
↓ 1 callers
Method
_init_layers
Initialize encoder layers.
mmdet/models/layers/transformer/detr_layers.py:45
↓ 1 callers
Method
_init_layers
Initialize decoder layers.
mmdet/models/layers/transformer/detr_layers.py:112
↓ 1 callers
Method
_init_layers
Initialize self-attention, FFN, and normalization.
mmdet/models/layers/transformer/detr_layers.py:202
↓ 1 callers
Method
_init_layers
Initialize self-attention, FFN, and normalization.
mmdet/models/layers/transformer/detr_layers.py:300
↓ 1 callers
Method
_init_layers
Initialize fc layers.
mmdet/models/reid/linear_reid_head.py:95
↓ 1 callers
Method
_init_layers
Init layers.
mmpretrain/models/heads/stacked_head.py:92
↓ 1 callers
Method
_init_layers
Init hidden layer if exists.
mmpretrain/models/heads/vision_transformer_head.py:52
↓ 1 callers
Method
_init_layers
Initialize layers of the CoDeformableDetrTransformer.
projects/CO-DETR/codetr/transformer.py:660
↓ 1 callers
Method
_init_layers
(self)
projects/CO-DETR/codetr/transformer.py:979
↓ 1 callers
Method
_init_model
Initialize the model.
mmdet/utils/benchmark.py:184
← previous
next →
1,201–1,300 of 6,823, ranked by callers