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
_sample_pos
Sample positive samples.
mmdet/models/task_modules/samplers/mask_pseudo_sampler.py:21
Method
_sample_pos
Sample positive boxes. Args: assign_result (:obj:`AssignResult`): The assigned results of boxes. num_expected (int):
mmdet/models/task_modules/samplers/instance_balanced_pos_sampler.py:14
Method
_semantic_inference
(self, mask_cls, mask_pred, text_prompts)
projects/XDecoder/xdecoder/unified_head.py:291
Method
_set_gradient_checkpointing
(self, module, value=False)
mmpretrain/models/multimodal/blip2/modeling_opt.py:424
Method
_shape_offset
(anchors, stride, ks=3, dilation=1)
mmdet/models/dense_heads/cascade_rpn_head.py:439
Method
_src_params
(self)
mmpretrain/engine/hooks/ema_hook.py:203
Method
_state_dict_hook
Save only the lora parameters to the state dict.
mmpretrain/models/peft/lora.py:175
Method
_summarize
(ap=1, iouThr=None, areaRng='all', maxDets=100)
mmdet/datasets/api_wrappers/cocoeval_mp.py:219
Method
_summarize
(ap=1, iouThr=None, areaRng='all', maxDets=100)
mmdet/evaluation/functional/ytviseval.py:495
Method
_summarizeDets
()
mmdet/datasets/api_wrappers/cocoeval_mp.py:255
Method
_summarizeDets
()
mmdet/evaluation/functional/ytviseval.py:532
Method
_summarizeKps
()
mmdet/datasets/api_wrappers/cocoeval_mp.py:275
Method
_summarizeKps
()
mmdet/evaluation/functional/ytviseval.py:555
Method
_toMask
(anns, coco)
mmdet/datasets/api_wrappers/cocoeval_mp.py:22
Method
_toMask
(anns, coco)
mmdet/evaluation/functional/ytviseval.py:97
Method
_transform_img
Apply Color transformation to image.
mmdet/datasets/transforms/colorspace.py:144
Method
_transform_img
Adjust the brightness of image.
mmdet/datasets/transforms/colorspace.py:189
Method
_transform_img
Adjust the image contrast.
mmdet/datasets/transforms/colorspace.py:233
Method
_transform_img
Adjust the image sharpness.
mmdet/datasets/transforms/colorspace.py:277
Method
_transform_img
Invert all pixel values above magnitude.
mmdet/datasets/transforms/colorspace.py:320
Method
_transform_img
SolarizeAdd the image.
mmdet/datasets/transforms/colorspace.py:363
Method
_transform_img
Posterize the image.
mmdet/datasets/transforms/colorspace.py:406
Method
_transform_img
Equalizes the histogram of one image.
mmdet/datasets/transforms/colorspace.py:434
Method
_transform_img
Auto adjust image contrast.
mmdet/datasets/transforms/colorspace.py:463
Method
_transform_img
Invert the image.
mmdet/datasets/transforms/colorspace.py:490
Method
_transform_img
Shear the image horizontally.
mmdet/datasets/transforms/geometric.py:286
Method
_transform_img
Shear the image vertically.
mmdet/datasets/transforms/geometric.py:400
Method
_transform_img
Rotate the image.
mmdet/datasets/transforms/geometric.py:510
Method
_transform_img
Translate the image horizontally.
mmdet/datasets/transforms/geometric.py:615
Method
_transform_img
Translate the image vertically.
mmdet/datasets/transforms/geometric.py:726
Method
_transform_masks
Shear the masks horizontally.
mmdet/datasets/transforms/geometric.py:295
Method
_transform_masks
Shear the masks vertically.
mmdet/datasets/transforms/geometric.py:409
Method
_transform_masks
Rotate the masks.
mmdet/datasets/transforms/geometric.py:518
Method
_transform_masks
Translate the masks horizontally.
mmdet/datasets/transforms/geometric.py:625
Method
_transform_masks
Translate masks vertically.
mmdet/datasets/transforms/geometric.py:736
Method
_transform_seg
Shear the segmentation map horizontally.
mmdet/datasets/transforms/geometric.py:304
Method
_transform_seg
Shear the segmentation map vertically.
mmdet/datasets/transforms/geometric.py:418
Method
_transform_seg
Rotate the segmentation map.
mmdet/datasets/transforms/geometric.py:526
Method
_transform_seg
Translate the segmentation map horizontally.
mmdet/datasets/transforms/geometric.py:635
Method
_transform_seg
Translate segmentation map vertically.
mmdet/datasets/transforms/geometric.py:746
Method
add_params
Add all parameters of module to the params list. The parameters of the given module will be added to the list of param groups, with s
mmdet/engine/optimizers/layer_decay_optimizer_constructor.py:86
Method
add_params
Add all parameters of module to the params list. The parameters of the given module will be added to the list of param groups, with s
mmpretrain/engine/optimizers/layer_decay_optim_wrapper_constructor.py:63
Method
add_params
Add all parameters of module to the params list. The parameters of the given module will be added to the list of param groups, with s
projects/ViTDet/vitdet/layer_decay_optimizer_constructor.py:41
Method
after_load_checkpoint
Resume ema parameters from checkpoint. Args: runner (Runner): The runner of the testing process.
mmpretrain/engine/hooks/ema_hook.py:180
Method
after_test_epoch
We recover source model's parameter from ema model after test. Args: runner (Runner): The runner of the testing process.
mmpretrain/engine/hooks/ema_hook.py:148
Method
after_test_iter
Visualize every ``self.interval`` samples during test. Args: runner (:obj:`Runner`): The runner of the testing process.
mmpretrain/engine/hooks/visualization_hook.py:116
Method
after_train_epoch
(self, runner)
mmdet/testing/_fast_stop_training_hook.py:25
Method
after_train_epoch
Save the queues locally.
mmpretrain/engine/hooks/swav_hook.py:113
Method
after_train_epoch
Calculate prcise BN and broadcast BN stats across GPUs. Args: runner (obj:`Runner`): The runner of the training process.
mmpretrain/engine/hooks/precise_bn_hook.py:192
Method
after_train_iter
Update teacher's parameter every self.interval iterations.
mmdet/engine/hooks/mean_teacher_hook.py:58
Method
after_train_iter
(self, runner, batch_idx: int, data_batch: None, outputs: None)
mmdet/testing/_fast_stop_training_hook.py:16
Method
after_train_iter
Calculate prcise BN and broadcast BN stats across GPUs. Args: runner (obj:`Runner`): The runner of the training process.
mmpretrain/engine/hooks/precise_bn_hook.py:205
Method
after_val_epoch
We recover source model's parameter from ema model after validation. Args: runner (Runner): The runner of the validation process.
mmpretrain/engine/hooks/ema_hook.py:104
Method
after_val_iter
Visualize every ``self.interval`` samples during validation. Args: runner (:obj:`Runner`): The runner of the validation process.
mmpretrain/engine/hooks/visualization_hook.py:99
Function
allreduce_grads
Allreduce gradients. Args: params (list[torch.Parameters]): List of parameters of a model coalesce (bool, optional): Whether allr
mmdet/utils/dist_utils.py:37
Function
analyze_individual_category
(k, cocoDt, cocoGt,
tools/analysis_tools/coco_error_analysis.py:174
Method
anchor_generator
(self)
mmdet/models/dense_heads/anchor_head.py:114
Method
annToMask
Convert annotation which can be polygons, uncompressed RLE, or RLE to binary mask. :return: binary mask (numpy 2D array)
mmdet/evaluation/functional/ytvis.py:297
Method
ann_prefix
The prefix of images.
mmpretrain/datasets/voc.py:137
Function
apply_constraint
( input_ids: torch.Tensor, logits: torch.Tensor, decoder_prompts: Optional[list], num_beams: i
mmpretrain/models/multimodal/ofa/ofa.py:43
Method
areas
Return a tensor representing the areas of boxes.
mmdet/structures/bbox/base_boxes.py:371
Method
areas
Return a tensor representing the areas of boxes.
mmdet/structures/bbox/horizontal_boxes.py:100
Method
areas
ndarray: areas of each instance.
mmdet/structures/mask/structures.py:114
Method
areas
See :py:attr:`BaseInstanceMasks.areas`.
mmdet/structures/mask/structures.py:547
Method
areas
Compute areas of masks. This func is modified from `detectron2 <https://github.com/facebookresearch/detectron2/blob/ffff8acc35ea88ad1
mmdet/structures/mask/structures.py:957
Method
areas
(self)
tests/test_structures/test_bbox/utils.py:13
Function
ask_install
(*args, **kwargs)
mmpretrain/utils/dependency.py:52
Method
assign
Assign gt to bboxes. This method assign gt bboxes to every bbox (proposal/anchor), each bbox is assigned a set of gts, and the number
mmdet/models/task_modules/assigners/multi_instance_assigner.py:26
Method
assign
Assign gt to bboxes. This method assign a gt bbox to every bbox (proposal/anchor), each bbox will be assigned with -1, or a semi-posi
mmdet/models/task_modules/assigners/max_iou_assigner.py:144
Method
assign
Assign boxes to either a ground truth boxes or a negative boxes.
mmdet/models/task_modules/assigners/base_assigner.py:12
Method
assign
Assign gt to bboxes. This method assign a gt bbox to every bbox (proposal/anchor), each bbox will be assigned with -1, or a semi-posi
projects/EfficientDet/efficientdet/tensorflow/trans_max_iou_assigner.py:15
Function
async_inference_detector
Async inference image(s) with the detector. Args: model (nn.Module): The loaded detector. img (str | ndarray): Either image files
mmdet/apis/inference.py:200
Method
async_simple_test_rpn
(self, x, img_metas)
mmdet/models/dense_heads/dense_test_mixins.py:178
Method
async_test_bboxes
Asynchronized test for box head without augmentation.
mmdet/models/roi_heads/test_mixins.py:19
Method
async_test_mask
Asynchronized test for mask head without augmentation.
mmdet/models/roi_heads/test_mixins.py:98
Method
aug_test
Test function with test time augmentation. Args: aug_batch_feats (list[tuple[Tensor]]): The outer list indicates
mmdet/models/dense_heads/base_dense_head.py:494
Method
aug_test
Test function with test time augmentation. Args: aug_batch_feats (list[Tensor]): the outer list indicates test-time
mmdet/models/dense_heads/anchor_free_head.py:297
Method
aug_test
Test with augmentations. If rescale is False, then returned bboxes and masks will fit the scale of imgs[0].
mmdet/models/detectors/trident_faster_rcnn.py:70
Method
aug_test_bboxes
Test det bboxes with test time augmentation.
mmdet/models/roi_heads/test_mixins.py:52
Method
aug_test_mask
Test for mask head with test time augmentation.
mmdet/models/roi_heads/test_mixins.py:141
Function
autocast_box_type
A decorator which automatically casts results['gt_bboxes'] to the destination box type. It commenly used in mmdet.datasets.transforms to make
mmdet/structures/bbox/box_type.py:245
Method
average_multiple_runs
Average the results of multiple runs.
mmdet/utils/benchmark.py:246
Method
average_multiple_runs
Average the results of multiple runs.
mmdet/utils/benchmark.py:373
Method
average_multiple_runs
Average the results of multiple runs.
mmdet/utils/benchmark.py:503
Method
avg_func
Compute the moving average of the parameters using the exponential momentum strategy. Args: averaged_param (Tensor): The
mmdet/models/layers/ema.py:53
Method
avg_func
Compute the moving average of the parameters using the cosine momentum strategy. Args: averaged_param (Tensor): The avera
mmpretrain/models/utils/ema.py:68
Method
avg_iou_cost
(anchor_params, bboxes)
tools/analysis_tools/optimize_anchors.py:313
Method
backward
(ctx, grad_output)
mmdet/models/utils/misc.py:39
Method
backward
(ctx: Any, *grads: torch.Tensor)
mmpretrain/models/selfsup/simclr.py:22
Function
bbox2result
Convert detection results to a list of numpy arrays. Args: bboxes (Tensor | np.ndarray): shape (n, 5) labels (Tensor | np.ndarray
mmdet/structures/bbox/transforms.py:125
Function
bbox_map_eval
Evaluate mAP of single image det result. Args: det_result (list[list]): [[cls1_det, cls2_det, ...], ...]. The outer list indi
tools/analysis_tools/analyze_results.py:23
Method
bbox_min_size
Return the minimum size of bounding boxes in the images.
mmdet/datasets/xml_style.py:67
Method
bboxes
torch.Tensor: concatenated positive and negative boxes
mmdet/models/task_modules/samplers/sampling_result.py:124
Method
before_run
Check whether the queues exist locally or not.
mmpretrain/engine/hooks/swav_hook.py:60
Method
before_test
Check whether the test dataset is compatible with head. Args: runner (obj:`IterBasedRunner`): Iter based Runner.
mmpretrain/engine/hooks/class_num_check_hook.py:57
Method
before_test_epoch
We load parameter values from ema model to source model before test. Args: runner (Runner): The runner of the training process.
mmpretrain/engine/hooks/ema_hook.py:134
Method
before_train
To check that teacher model and student model exist.
mmdet/engine/hooks/mean_teacher_hook.py:47
Method
before_train
before run setting. If resume form a checkpoint, do all switch before the current epoch. Args: runner (Runner): The runne
mmpretrain/engine/hooks/switch_recipe_hook.py:88
Method
before_train
(self, runner)
mmpretrain/engine/hooks/ema_hook.py:81
Method
before_train
Get the original value before train.
mmpretrain/engine/hooks/warmup_param_hook.py:52
← previous
next →
4,001–4,100 of 6,823, ranked by callers