MCPcopy Create free account

hub / github.com/VincentHancoder/SSGD / functions

Functions2,751 in github.com/VincentHancoder/SSGD

↓ 1 callersFunctionreplace_value
(cfg)
mmdet/utils/replace_cfg_vals.py:29
↓ 1 callersMethodresize_pos_embed
Resize pos_embed weights. Resize pos_embed using bilinear interpolate method. Args: pos_embed (torch.Tensor): Position e
mmdet/models/backbones/pvt.py:322
↓ 1 callersMethodresponsible_flags
Generate responsible anchor flags of grid cells in multiple scales. Args: featmap_sizes (list(tuple)): List of feature map sizes
mmdet/core/anchor/anchor_generator.py:806
↓ 1 callersMethodresults2json
Dump the detection results to a COCO style json file. There are 3 types of results: proposals, bbox predictions, mask predictions, an
mmdet/datasets/coco.py:294
↓ 1 callersMethodresults2txt
Dump the detection results to a txt file. Args: results (list[list | tuple]): Testing results of the dataset.
mmdet/datasets/cityscapes.py:111
↓ 1 callersFunctionretrieve_data_cfg
(config_path, skip_type, cfg_options)
browse_dataset.py:51
↓ 1 callersFunctionretrieve_data_cfg
(config_path, skip_type, cfg_options)
tools/analysis_tools/browse_dataset.py:51
↓ 1 callersFunctionretrieve_data_cfg
(config_path, skip_type, cfg_options)
tools/misc/browse_dataset.py:51
↓ 1 callersMethodrotate
Rotate the BitmapMasks. Args: out_shape (tuple[int]): Shape for output mask, format (h, w). angle (int | float): Rota
mmdet/core/mask/structures.py:466
↓ 1 callersMethodsample_via_interval
Sample according to the iou interval. Args: max_overlaps (torch.Tensor): IoU between bounding boxes and ground tr
mmdet/core/bbox/samplers/iou_balanced_neg_sampler.py:47
↓ 1 callersMethodscore_samples
(self, loss)
tests/test_models/test_dense_heads/test_lad_head.py:25
↓ 1 callersMethodscore_voting
Implementation of score voting method works on each remaining boxes after NMS procedure. Args: det_bboxes (Tensor): Remai
mmdet/models/dense_heads/paa_head.py:693
↓ 1 callersFunctionselect_group
(data_batch, current_tag)
mmdet/utils/split_batch.py:32
↓ 1 callersMethodset_epoch
(self, epoch)
mmdet/models/detectors/tood.py:22
↓ 1 callersFunctionset_recall_param
Check proposal_nums and iou_thrs and set correct format.
mmdet/core/evaluation/recall.py:44
↓ 1 callersFunctionsetup
(app)
docs/en/conf.py:115
↓ 1 callersMethodshear
Shear the BitmapMasks. Args: out_shape (tuple[int]): Shape for output mask, format (h, w). magnitude (int | float): T
mmdet/core/mask/structures.py:431
↓ 1 callersMethodside_aware_feature_extractor
Refine and extract side-aware features without split them.
mmdet/models/roi_heads/bbox_heads/sabl_head.py:250
↓ 1 callersMethodsimple_test
(self, img, img_metas, **kwargs)
mmdet/models/detectors/base.py:86
↓ 1 callersMethodsimple_test_mask
Simple test for mask head without augmentation.
mmdet/models/detectors/panoptic_two_stage_segmentor.py:108
↓ 1 callersMethodsimple_test_rpn
Test without augmentation, only for ``RPNHead`` and its variants, e.g., ``GARPNHead``, etc. Args: x (tuple[Tensor]): Feat
mmdet/models/dense_heads/dense_test_mixins.py:116
↓ 1 callersMethodsingle_level_grid_anchors
Generate grid anchors of a single level. Note: This function is usually called by method ``self.grid_anchors``. Args:
mmdet/core/anchor/anchor_generator.py:347
↓ 1 callersMethodsingle_level_grid_priors
Generate grid Points of a single level. Note: This function is usually called by method ``self.grid_priors``. Args:
mmdet/core/anchor/point_generator.py:119
↓ 1 callersMethodsingle_level_responsible_flags
Generate the responsible flags of anchor in a single feature map. Args: featmap_size (tuple[int]): The size of feature maps.
mmdet/core/anchor/anchor_generator.py:831
↓ 1 callersMethodsingle_level_valid_flags
Generate the valid flags of points of a single feature map. Args: featmap_size (tuple[int]): The size of feature maps, arrange as
mmdet/core/anchor/point_generator.py:205
↓ 1 callersMethodsingle_level_valid_flags
Generate the valid flags of anchor in a single feature map. Args: featmap_size (tuple[int]): The size of feature maps, arrange
mmdet/core/anchor/anchor_generator.py:419
↓ 1 callersMethodslice_as
Slice ``src`` as ``dst`` Note: ``src`` should have the same or larger size than ``dst``. Args: src (torch.Te
mmdet/models/necks/fpn_carafe.py:219
↓ 1 callersFunctionsplit_batch
Split data_batch by tags. Code is modified from <https://github.com/microsoft/SoftTeacher/blob/main/ssod/utils/structure_utils.py> # noqa: E5
mmdet/utils/split_batch.py:5
↓ 1 callersFunctionsplit_coco
Split COCO data for Semi-supervised object detection. Args: data_root (str): The data root of coco dataset. out_dir (str): The ou
tools/misc/split_coco.py:42
↓ 1 callersFunctionsplit_data
(file_name, k=3)
tools/prepare_data/split.py:21
↓ 1 callersMethodstar_dcn_offset
Compute the star deformable conv offsets. Args: bbox_pred (Tensor): Predicted bbox distance offsets (l, r, t, b). gra
mmdet/models/dense_heads/vfnet_head.py:309
↓ 1 callersFunctionswin_converter
(ckpt)
mmdet/models/utils/ckpt_convert.py:85
↓ 1 callersFunctiontblr2bboxes
Decode tblr outputs to prediction boxes. The process includes 3 steps: 1) De-normalize tblr coordinates by multiplying it with `normalizer`;
mmdet/core/bbox/coder/tblr_bbox_coder.py:124
↓ 1 callersFunctiontensor2obj
Deserialize tensor to picklable python object.
mmdet/core/utils/dist_utils.py:83
↓ 1 callersMethodtensor_add
Add tensors ``a`` and ``b`` that might have different sizes.
mmdet/models/necks/fpn_carafe.py:239
↓ 1 callersMethodtrain
Convert the model into training mode while keep layers freezed.
mmdet/models/backbones/swin.py:643
↓ 1 callersMethodtrain
(self, mode=True)
mmdet/models/backbones/efficientnet.py:411
↓ 1 callersFunctiontrain_detector
(model, dataset, cfg, distributed=False,
mmdet/apis/train.py:117
↓ 1 callersMethodtransform_bbox_targets
Transform bbox_targets (x1, y1, x2, y2) into (l, t, r, b) format. Args: decoded_bboxes (list[Tensor]): Regression targets of each
mmdet/models/dense_heads/vfnet_head.py:677
↓ 1 callersMethodtranslate
Translate the BitmapMasks. Args: out_shape (tuple[int]): Shape for output mask, format (h, w). offset (int | float):
mmdet/core/mask/structures.py:381
↓ 1 callersFunctiontruncate_cls_channel
(val, num_classes=81)
tools/model_converters/upgrade_model_version.py:68
↓ 1 callersFunctiontruncate_reg_channel
(val, num_classes=81)
tools/model_converters/upgrade_model_version.py:90
↓ 1 callersFunctionupdate
(cfg, src_str, dst_str)
mmdet/utils/misc.py:68
↓ 1 callersMethodupdate_dynamic_scale
(self, dynamic_scale)
tests/test_utils/test_hook.py:265
↓ 1 callersMethodupdate_hyperparameters
Update hyperparameters like IoU thresholds for assigner and beta for SmoothL1 loss based on the training statistics. Returns:
mmdet/models/roi_heads/dynamic_roi_head.py:134
↓ 1 callersMethodupdate_skip_type_keys
Update skip_type_keys. It is called by an external hook. Args: skip_type_keys (list[str], optional): Sequence of type
mmdet/datasets/dataset_wrappers.py:446
↓ 1 callersFunctionvarifocal_loss
`Varifocal Loss <https://arxiv.org/abs/2008.13367>`_ Args: pred (torch.Tensor): The prediction with shape (N, C), C is the nu
mmdet/models/losses/varifocal_loss.py:11
↓ 1 callersFunctionvoc_eval_with_return
(result_file, dataset, iou_thr=0.5,
tools/analysis_tools/test_robustness.py:66
↓ 1 callersMethodwindow_reverse
Args: windows: (num_windows*B, window_size, window_size, C) H (int): Height of image W (int): Width of im
mmdet/models/backbones/swin.py:256
↓ 1 callersFunctionyolo_neck_config
Config yolov3 Neck.
tests/test_onnx/test_neck.py:103
MethodGaussianMixture
(self, *args, **kwargs)
tests/test_models/test_dense_heads/test_paa_head.py:15
Method__call__
Calculate IoU between 2D bboxes. Args: bboxes1 (Tensor): bboxes have shape (m, 4) in <x1, y1, x2, y2> format, or
mmdet/core/bbox/iou_calculators/iou2d_calculator.py:30
Method__call__
Args: bbox_pred (Tensor): Predicted boxes with normalized coordinates (cx, cy, w, h), which are all in range [0,
mmdet/core/bbox/match_costs/match_cost.py:34
Method__call__
Args: cls_pred (Tensor): Predicted classfication logits. gt_labels (Tensor)): Labels. Returns: T
mmdet/core/bbox/match_costs/match_cost.py:136
Method__call__
Args: cls_pred (Tensor): Predicted classification logits, shape (num_query, num_class). gt_labels (Te
mmdet/core/bbox/match_costs/match_cost.py:177
Method__call__
Args: bboxes (Tensor): Predicted boxes with unnormalized coordinates (x1, y1, x2, y2). Shape (num_query, 4).
mmdet/core/bbox/match_costs/match_cost.py:219
Method__call__
Args: mask_preds (Tensor): Mask prediction logits in shape (num_query, *) gt_masks (Tensor): Ground truth in shape (n
mmdet/core/bbox/match_costs/match_cost.py:283
Method__call__
Args: cls_pred (Tensor): Predicted classification logits. gt_labels (Tensor): Labels. Returns: T
mmdet/core/bbox/match_costs/match_cost.py:344
Method__call__
Call function to load images into results. Args: results (dict): A result dict contains the file name of the imag
mmdet/apis/inference.py:66
Method__call__
(self, results)
mmdet/datasets/pipelines/auto_augment.py:104
Method__call__
Call function to shear images, bounding boxes, masks and semantic segmentation maps. Args: results (dict): Result dict fr
mmdet/datasets/pipelines/auto_augment.py:286
Method__call__
Call function to rotate images, bounding boxes, masks and semantic segmentation maps. Args: results (dict): Result dict f
mmdet/datasets/pipelines/auto_augment.py:506
Method__call__
Call function to translate images, bounding boxes, masks and semantic segmentation maps. Args: results (dict): Result dic
mmdet/datasets/pipelines/auto_augment.py:687
Method__call__
Call function for Color transformation. Args: results (dict): Result dict from loading pipeline. Returns: di
mmdet/datasets/pipelines/auto_augment.py:740
Method__call__
Call function for Equalize transformation. Args: results (dict): Results dict from loading pipeline. Returns:
mmdet/datasets/pipelines/auto_augment.py:781
Method__call__
Call function for Brightness transformation. Args: results (dict): Results dict from loading pipeline. Returns:
mmdet/datasets/pipelines/auto_augment.py:828
Method__call__
Call function for Contrast transformation. Args: results (dict): Results dict from loading pipeline. Returns:
mmdet/datasets/pipelines/auto_augment.py:876
Method__call__
Call function to apply test time augment transforms on results. Args: results (dict): Result dict contains the data to transform.
mmdet/datasets/pipelines/test_time_aug.py:85
Method__call__
Call function to resize images, bounding boxes, masks, semantic segmentation map. Args: results (dict): Result dict from
mmdet/datasets/pipelines/transforms.py:285
Method__call__
Call function to flip bounding boxes, masks, semantic segmentation maps. Args: results (dict): Result dict from loading p
mmdet/datasets/pipelines/transforms.py:430
Method__call__
Call function to random shift images, bounding boxes. Args: results (dict): Result dict from loading pipeline. Returns:
mmdet/datasets/pipelines/transforms.py:513
Method__call__
Call function to pad images, masks, semantic segmentation maps. Args: results (dict): Result dict from loading pipeline.
mmdet/datasets/pipelines/transforms.py:655
Method__call__
Call function to normalize images. Args: results (dict): Result dict from loading pipeline. Returns: dict: N
mmdet/datasets/pipelines/transforms.py:696
Method__call__
Call function to randomly crop images, bounding boxes, masks, semantic segmentation maps. Args: results (dict): Result di
mmdet/datasets/pipelines/transforms.py:884
Method__call__
Call function to scale the semantic segmentation map. Args: results (dict): Result dict from loading pipeline. Returns:
mmdet/datasets/pipelines/transforms.py:924
Method__call__
Call function to perform photometric distortion on images. Args: results (dict): Result dict from loading pipeline. Retu
mmdet/datasets/pipelines/transforms.py:979
Method__call__
Call function to expand images, bounding boxes. Args: results (dict): Result dict from loading pipeline. Returns:
mmdet/datasets/pipelines/transforms.py:1081
Method__call__
Call function to crop images and bounding boxes with minimum IoU constraint. Args: results (dict): Result dict from loadi
mmdet/datasets/pipelines/transforms.py:1181
Method__call__
Call function to corrupt image. Args: results (dict): Result dict from loading pipeline. Returns: dict: Resu
mmdet/datasets/pipelines/transforms.py:1299
Method__call__
(self, results)
mmdet/datasets/pipelines/transforms.py:1464
Method__call__
(self, results)
mmdet/datasets/pipelines/transforms.py:1854
Method__call__
Call function to drop some regions of image.
mmdet/datasets/pipelines/transforms.py:1925
Method__call__
Call function to make a mosaic of image. Args: results (dict): Result dict. Returns: dict: Result dict with
mmdet/datasets/pipelines/transforms.py:2029
Method__call__
Call function to make a mixup of image. Args: results (dict): Result dict. Returns: dict: Result dict with m
mmdet/datasets/pipelines/transforms.py:2316
Method__call__
(self, results)
mmdet/datasets/pipelines/transforms.py:2566
Method__call__
(self, results)
mmdet/datasets/pipelines/transforms.py:2734
Method__call__
Call function to make a copy-paste of image. Args: results (dict): Result dict. Returns: dict: Result dict wi
mmdet/datasets/pipelines/transforms.py:2816
Method__call__
(self, results)
mmdet/datasets/pipelines/instaboost.py:99
Method__call__
Call functions to load image and get image meta information. Args: results (dict): Result dict from :obj:`mmdet.CustomDataset`.
mmdet/datasets/pipelines/loading.py:48
Method__call__
Call functions to add image meta information. Args: results (dict): Result dict with Webcam read image in ``resul
mmdet/datasets/pipelines/loading.py:98
Method__call__
Call functions to load multiple images and get images meta information. Args: results (dict): Result dict from :obj:`mmde
mmdet/datasets/pipelines/loading.py:152
Method__call__
Call function to load multiple types annotations. Args: results (dict): Result dict from :obj:`mmdet.CustomDataset`. Ret
mmdet/datasets/pipelines/loading.py:380
Method__call__
Call function to load multiple types panoptic annotations. Args: results (dict): Result dict from :obj:`mmdet.CustomDataset`.
mmdet/datasets/pipelines/loading.py:500
Method__call__
Call function to load proposals from file. Args: results (dict): Result dict from :obj:`mmdet.CustomDataset`. Returns:
mmdet/datasets/pipelines/loading.py:539
Method__call__
(self, results)
mmdet/datasets/pipelines/loading.py:601
Method__call__
Call function to apply transforms sequentially. Args: data (dict): A result dict contains the data to transform. Returns
mmdet/datasets/pipelines/compose.py:30
Method__call__
Call function to convert data in results to :obj:`torch.Tensor`. Args: results (dict): Result dict contains the data to convert.
mmdet/datasets/pipelines/formatting.py:48
Method__call__
Call function to convert image in results to :obj:`torch.Tensor` and transpose the channel order. Args: results (dict): R
mmdet/datasets/pipelines/formatting.py:81
Method__call__
Call function to transpose the channel order of data in results. Args: results (dict): Result dict contains the data to transpose
mmdet/datasets/pipelines/formatting.py:116
Method__call__
Call function to convert data in results to :obj:`mmcv.DataContainer`. Args: results (dict): Result dict contains the dat
mmdet/datasets/pipelines/formatting.py:152
← previousnext →1,101–1,200 of 2,751, ranked by callers