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
Method
convert_ids_to_tokens
(self, ids)
mmpretrain/models/utils/tokenizer.py:161
Function
convert_to_trainID
(maskpath, out_mask_dir, is_train)
tools/dataset_converters/coco_stuff164k.py:190
Method
convert_tokens_to_string
Converts a sequence of tokens (string) in a single string.
mmpretrain/models/utils/tokenizer.py:165
Method
converter_A
(bboxes)
tests/test_structures/test_bbox/test_box_type.py:86
Method
converter_B
(bboxes)
tests/test_structures/test_bbox/test_box_type.py:90
Method
converter_C
(bboxes)
tests/test_structures/test_bbox/test_box_type.py:104
Method
converter_D
(bboxes)
tests/test_structures/test_bbox/test_box_type.py:111
Method
converter_E
(bboxes)
tests/test_structures/test_bbox/test_box_type.py:115
Method
createIndex
Create index.
mmdet/datasets/api_wrappers/coco_api.py:65
Method
createIndex
Create index.
projects/EfficientDet/efficientdet/tensorflow/api_wrappers/coco_api.py:73
Method
create_custom_forward
(module)
mmpretrain/models/multimodal/blip/language_model.py:631
Method
create_custom_forward
(module)
mmpretrain/models/multimodal/blip2/Qformer.py:243
Method
create_custom_forward
(module)
mmpretrain/models/multimodal/blip2/modeling_opt.py:728
Method
create_ui
(self)
projects/gradio_demo/launch.py:182
Method
create_ui
(self)
projects/gradio_demo/launch.py:278
Method
create_ui
(self)
projects/gradio_demo/launch.py:454
Method
crop
Crop each mask by the given bbox. Args: bbox (ndarray): Bbox in format [x1, y1, x2, y2], shape (4, ). Return:
mmdet/structures/mask/structures.py:69
Method
crop
see :func:`BaseInstanceMasks.crop`
mmdet/structures/mask/structures.py:741
Method
crop_and_resize
Crop and resize masks by the given bboxes. This function is mainly used in mask targets computation. It firstly align mask to bboxes
mmdet/structures/mask/structures.py:80
Method
crop_and_resize
see :func:`BaseInstanceMasks.crop_and_resize`
mmdet/structures/mask/structures.py:808
Function
cross_entropy
Calculate the CrossEntropy loss. Args: pred (torch.Tensor): The prediction with shape (N, C), C is the number of classes.
mmpretrain/models/losses/cross_entropy_loss.py:9
Method
cuda
Convert all tensors to GPU in data.
mmdet/structures/track_data_sample.py:184
Method
cuda
Overrides this method to set the :attr:`device` Returns: nn.Module: The model itself.
mmdet/models/data_preprocessors/data_preprocessor.py:549
Method
custom_accuracy
get custom_accuracy from loss_cls.
mmdet/models/roi_heads/bbox_heads/bbox_head.py:122
Method
custom_activation
(self)
mmdet/models/tracking_heads/roi_embed_head.py:123
Method
custom_activation
get custom_activation from loss_cls.
mmdet/models/roi_heads/bbox_heads/bbox_head.py:116
Method
custom_cls_channels
get custom_cls_channels from loss_cls.
mmdet/models/roi_heads/bbox_heads/bbox_head.py:110
Method
custom_forward
(*inputs)
mmpretrain/models/multimodal/blip/language_model.py:633
Method
custom_forward
(*inputs)
mmpretrain/models/multimodal/blip2/Qformer.py:245
Method
custom_forward
(*inputs)
mmpretrain/models/multimodal/blip2/modeling_opt.py:730
Function
custom_round
Custom round function.
mmdet/utils/benchmark.py:29
Method
cxcywh
Return a tensor representing the cxcywh boxes.
mmdet/structures/bbox/horizontal_boxes.py:89
Function
dataloader_benchmark
(args, cfg, distributed, logger)
tools/analysis_tools/benchmark.py:84
Function
dataset_benchmark
(args, cfg, distributed, logger)
tools/analysis_tools/benchmark.py:96
Method
decode
Apply transformation `pred_bboxes` to `boxes`. Args: boxes (torch.Tensor or :obj:`BaseBoxes`): Basic boxes. pred_bbox
mmdet/models/task_modules/coders/legacy_delta_xywh_bbox_coder.py:67
Method
decode
torch.Tensor: return the given ``pred_bboxes``
mmdet/models/task_modules/coders/pseudo_bbox_coder.py:24
Method
decode
Decode distance prediction to bounding box. Args: points (Tensor): Shape (B, N, 2) or (N, 2). pred_bboxes (Tensor): D
mmdet/models/task_modules/coders/distance_point_bbox_coder.py:52
Method
decode
Apply transformation `pred_bboxes` to `boxes`. Args: boxes (torch.Tensor or :obj:`BaseBoxes`): Basic boxes, e.g.
mmdet/models/task_modules/coders/yolo_bbox_coder.py:67
Method
decode
Apply transformation `pred_bboxes` to `boxes`. Args: boxes (torch.Tensor or :obj:`BaseBoxes`): Basic boxes. pred_bboxe
mmdet/models/task_modules/coders/bucketing_bbox_coder.py:79
Method
decode
Apply transformation `pred_bboxes` to `boxes`. Args: bboxes (torch.Tensor or :obj:`BaseBoxes`): Basic boxes. Shape
mmdet/models/task_modules/coders/delta_xywh_bbox_coder.py:71
Method
decode
Apply transformation `pred_bboxes` to `boxes`. Args: bboxes (torch.Tensor or :obj:`BaseBoxes`): Basic boxes.Shape
mmdet/models/task_modules/coders/tblr_bbox_coder.py:60
Function
decorator
(func: Callable)
mmdet/structures/bbox/box_type.py:262
Method
device
(self)
mmdet/models/data_preprocessors/data_preprocessor.py:532
Method
device
(self)
mmpretrain/models/multimodal/ofa/ofa_modules.py:1344
Method
device
(self)
mmpretrain/models/multimodal/blip/blip_nlvr.py:71
Method
device
(self)
mmpretrain/models/multimodal/blip/language_model.py:1036
Method
device
(self)
mmpretrain/models/multimodal/blip/blip_retrieval.py:177
Method
device
(self)
projects/Detic/detic/text_encoder.py:19
Function
dice_score
(inputs, targets)
projects/SparseInst/sparseinst/loss.py:24
Method
dim_out
(self)
projects/XDecoder/xdecoder/language_model.py:161
Method
double_step_seq
(step1, len1, step2, len2)
mmpretrain/models/backbones/davit.py:99
Method
dtype
Reload ``dtype`` from self.tensor.
mmdet/structures/bbox/base_boxes.py:220
Method
dtype
(self)
projects/Detic/detic/text_encoder.py:23
Method
dtype
(self)
projects/Detic_new/detic/detic.py:33
Method
dump_items
(items, prefix='')
mmpretrain/structures/data_sample.py:127
Method
dump_prototype
Save the features extracted from the prototype to specific path. Args: path (str): Path to save feature.
mmpretrain/models/retrievers/image2image.py:306
Method
empty_results
Generate a empty results.
mmdet/models/dense_heads/solov2_head.py:704
Method
empty_results
Generate a empty results.
mmdet/models/dense_heads/solo_head.py:540
Method
empty_results
Generate a empty results.
mmdet/models/dense_heads/solo_head.py:1006
Method
encode
Get box regression transformation deltas that can be used to transform the ``bboxes`` into the ``gt_bboxes``. Args: bboxe
mmdet/models/task_modules/coders/legacy_delta_xywh_bbox_coder.py:45
Method
encode
torch.Tensor: return the given ``bboxes``
mmdet/models/task_modules/coders/pseudo_bbox_coder.py:18
Method
encode
Encode bounding box to distances. Args: points (Tensor): Shape (N, 2), The format is [x, y]. gt_bboxes (Tensor or :ob
mmdet/models/task_modules/coders/distance_point_bbox_coder.py:28
Method
encode
Get box regression transformation deltas that can be used to transform the ``bboxes`` into the ``gt_bboxes``. Args: bboxe
mmdet/models/task_modules/coders/yolo_bbox_coder.py:29
Method
encode
Get bucketing estimation and fine regression targets during training. Args: bboxes (torch.Tensor or :obj:`BaseBoxes`): so
mmdet/models/task_modules/coders/bucketing_bbox_coder.py:54
Method
encode
Get box regression transformation deltas that can be used to transform the ``bboxes`` into the ``gt_bboxes``. Args: bboxe
mmdet/models/task_modules/coders/delta_xywh_bbox_coder.py:50
Method
encode
Get box regression transformation deltas that can be used to transform the ``bboxes`` into the ``gt_bboxes``. Args: bboxe
mmdet/models/task_modules/coders/delta_xywh_bbox_coder.py:142
Method
encode
Get box regression transformation deltas that can be used to transform the ``bboxes`` into the ``gt_bboxes`` in the (top, left, bottom
mmdet/models/task_modules/coders/tblr_bbox_coder.py:37
Method
evaluate
Run per image evaluation on given images and store results (a list of dict) in self.evalImgs. :return: None
mmdet/datasets/api_wrappers/cocoeval_mp.py:70
Method
evaluate
Evaluate the model performance of the whole dataset after processing all batches. Args: size (int): Length of the entire
mmdet/evaluation/metrics/youtube_vis_metric.py:378
Method
evaluate
Evaluate the model performance of the whole dataset after processing all batches. Args: size (int): Length of the entire
mmdet/evaluation/metrics/base_video_metric.py:50
Method
evaluateVid
perform evaluation for single category and image :return: dict (single image results)
mmdet/evaluation/functional/ytviseval.py:286
Method
expand
see :class:`Expand`.
mmdet/structures/mask/structures.py:109
Method
expand
See :func:`BaseInstanceMasks.expand`.
mmdet/structures/mask/structures.py:402
Method
expand
TODO: Add expand for polygon
mmdet/structures/mask/structures.py:804
Method
expand_label
(pred, gt_classes)
mmdet/models/losses/eqlv2_loss.py:120
Method
extra_repr
(self)
mmdet/models/backbones/trident_resnet.py:61
Method
extra_repr
(self)
mmdet/models/layers/dropblock.py:84
Method
extra_repr
Extra repr.
mmdet/models/losses/cross_entropy_loss.py:253
Method
extra_repr
The extra repr information of the dataset.
mmpretrain/datasets/fgvcaircraft.py:93
Method
extra_repr
The extra repr information of the dataset.
mmpretrain/datasets/oxfordiiitpet.py:92
Method
extra_repr
The extra repr information of the dataset.
mmpretrain/datasets/inshop.py:154
Method
extra_repr
The extra repr information of the dataset.
mmpretrain/datasets/imagenet.py:129
Method
extra_repr
The extra repr information of the dataset.
mmpretrain/datasets/sun397.py:120
Method
extra_repr
The extra repr information of the dataset.
mmpretrain/datasets/food101.py:97
Method
extra_repr
The extra repr information of the dataset.
mmpretrain/datasets/cifar.py:173
Method
extra_repr
The extra repr information of the dataset.
mmpretrain/datasets/cub.py:137
Method
extra_repr
The extra repr information of the dataset.
mmpretrain/datasets/flowers102.py:99
Method
extra_repr
The extra repr information of the dataset.
mmpretrain/datasets/voc.py:186
Method
extra_repr
The extra repr information of the dataset.
mmpretrain/datasets/dtd.py:111
Method
extra_repr
The extra repr information of the dataset.
mmpretrain/datasets/stanfordcars.py:143
Method
extra_repr
The extra repr information of the dataset.
mmpretrain/datasets/caltech101.py:108
Method
extra_repr
The extra repr information of the dataset.
mmpretrain/datasets/mnist.py:145
Method
extra_repr
(self)
mmpretrain/models/backbones/mixmim.py:316
Method
extract_feat
(self, batch_inputs: Tensor)
mmdet/rsprompter/models.py:1077
Method
extract_feat
(self, batch_inputs: Tensor)
mmdet/rsprompter/models.py:1233
Method
extract_feat
(self, batch_inputs: Tensor)
mmdet/rsprompter/models.py:1262
Method
extract_feat
Extract features. Args: batch_inputs (Tensor): Image tensor with shape (N, C, H ,W). Returns: tuple[Tensor]:
mmdet/models/detectors/semi_base.py:228
Method
extract_feat
Extract features from images. `extract_feat` will not be used in obj:``Detectron2Wrapper``.
mmdet/models/detectors/d2_wrapper.py:215
Method
extract_feat
(self, inputs: torch.Tensor)
mmpretrain/models/selfsup/mixmim.py:244
Method
extract_feat
(self, inputs: torch.Tensor)
mmpretrain/models/selfsup/beit.py:310
← previous
next →
4,201–4,300 of 6,823, ranked by callers