MCPcopy Create free account

hub / github.com/ChenhongyiYang/PGD / functions

Functions2,117 in github.com/ChenhongyiYang/PGD

↓ 1 callersFunctionparse_args
()
tools/deployment/pytorch2onnx.py:190
↓ 1 callersFunctionparse_args
()
tools/deployment/mmdet2torchserve.py:69
↓ 1 callersFunctionparse_args
()
crowd_code/create_crowd_anno.py:11
↓ 1 callersFunctionparse_config
(config_strings)
tools/model_converters/upgrade_model_version.py:18
↓ 1 callersFunctionparse_config
(config_strings)
tools/model_converters/upgrade_ssd_version.py:9
↓ 1 callersFunctionparse_line
Parse information from a line in a requirements text file.
setup.py:69
↓ 1 callersFunctionparse_normalize_cfg
(test_pipeline)
tools/deployment/onnx2tensorrt.py:105
↓ 1 callersFunctionparse_normalize_cfg
(test_pipeline)
tools/deployment/pytorch2onnx.py:177
↓ 1 callersFunctionparse_version_info
(version_str)
mmdet/version.py:7
↓ 1 callersFunctionpolygon_to_bitmap
Convert masks from the form of polygons to bitmaps. Args: polygons (list[ndarray]): masks in polygon representation height (int):
mmdet/core/mask/structures.py:1023
↓ 1 callersMethodpositive_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:219
↓ 1 callersMethodpredict
(self, loss)
tests/test_models/test_dense_heads/test_paa_head.py:20
↓ 1 callersMethodprepare_test_img
Get testing data after pipeline. Args: idx (int): Index of data. Returns: dict: Testing data after pipeline
mmdet/datasets/custom.py:219
↓ 1 callersFunctionprint_map_summary
Print mAP and results of each class. A table will be printed to show the gts/dets/recall/AP of each class and the mAP. Args: mea
mmdet/core/evaluation/mean_ap.py:404
↓ 1 callersFunctionprint_recall_summary
Print recalls in a table. Args: recalls (ndarray): calculated from `bbox_recalls` proposal_nums (ndarray or list): top N proposal
mmdet/core/evaluation/recall.py:109
↓ 1 callersFunctionprocess_checkpoint
(in_file, out_file)
tools/model_converters/publish_model.py:16
↓ 1 callersMethodprocess_polygons
Convert polygons to list of ndarray and filter invalid polygons. Args: polygons (list[list]): Polygons of one instance.
mmdet/datasets/pipelines/loading.py:290
↓ 1 callersFunctionpytorch2onnx
(model, input_img, input_shape, normalize_cfg,
tools/deployment/pytorch2onnx.py:15
↓ 1 callersFunctionquality_focal_loss
r"""Quality Focal Loss (QFL) is from `Generalized Focal Loss: Learning Qualified and Distributed Bounding Boxes for Dense Object Detection <ht
mmdet/models/losses/gfocal_loss.py:11
↓ 1 callersMethodquantize_float
Converts a float to closest non-zero int divisible by divisor. Args: number (int): Original number to be quantized. d
mmdet/models/backbones/regnet.py:284
↓ 1 callersMethodrandom_choice
Randomly select some elements from the gallery. If `gallery` is a Tensor, the returned indices will be a Tensor; If `gallery` is a nd
mmdet/core/bbox/samplers/score_hlr_sampler.py:62
↓ 1 callersMethodrandom_sample_ratio
Randomly sample an img_scale when ``ratio_range`` is specified. A ratio will be randomly sampled from the range specified by ``ratio_
mmdet/datasets/pipelines/transforms.py:144
↓ 1 callersMethodrandom_select
Randomly select an img_scale from given candidates. Args: img_scales (list[tuple]): Images scales for selection. Returns
mmdet/datasets/pipelines/transforms.py:99
↓ 1 callersFunctionreadme
()
setup.py:10
↓ 1 callersFunctionreduce_loss
Reduce loss as specified. Args: loss (Tensor): Elementwise loss tensor. reduction (str): Options are "none", "mean" and "sum".
mmdet/models/losses/utils.py:7
↓ 1 callersMethodreg_forward
(self, reg_x)
mmdet/models/roi_heads/bbox_heads/sabl_head.py:297
↓ 1 callersMethodregion_targets
See :func:`StageCascadeRPNHead.get_targets`.
mmdet/models/dense_heads/cascade_rpn_head.py:234
↓ 1 callersMethodregress_by_class
Regress the bbox for the predicted class. Used in Cascade R-CNN. Args: rois (Tensor): shape (n, 4) or (n, 5) label (T
mmdet/models/roi_heads/bbox_heads/sabl_head.py:560
↓ 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:778
↓ 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/crowdhuman.py:256
↓ 1 callersMethodresults2txt
Dump the detection results to a txt file. Args: results (list[list | tuple]): Testing results of the dataset.
mmdet/datasets/cityscapes.py:107
↓ 1 callersFunctionretrieve_data_cfg
(config_path, skip_type, cfg_options)
tools/misc/browse_dataset.py:47
↓ 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:465
↓ 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:46
↓ 1 callersFunctionscanBlossom
(v, w)
crowd_code/evaluate/JIToolkits/matching.py:234
↓ 1 callersMethodscore_samples
(self, loss)
tests/test_models/test_dense_heads/test_paa_head.py:24
↓ 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:608
↓ 1 callersFunctionset_recall_param
Check proposal_nums and iou_thrs and set correct format.
mmdet/core/evaluation/recall.py:43
↓ 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:430
↓ 1 callersMethodside_aware_feature_extractor
Refine and extract side-aware features without split them.
mmdet/models/roi_heads/bbox_heads/sabl_head.py:237
↓ 1 callersMethodsimple_test
(self, img, img_metas, **kwargs)
mmdet/models/detectors/base.py:85
↓ 1 callersMethodsimple_test
Test function without test time augmentation. Args: imgs (list[torch.Tensor]): List of multiple images img_metas (lis
mmdet/models/detectors/rpn.py:90
↓ 1 callersMethodsimple_test_bboxes
Test det bboxes without test-time augmentation. Args: feats (tuple[torch.Tensor]): Multi-level features from the
mmdet/models/dense_heads/detr_head.py:684
↓ 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:110
↓ 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:337
↓ 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:109
↓ 1 callersMethodsingle_level_grid_priors
Generate grid anchors of a single level. Note: This function is usually called by method ``self.grid_priors``. Args:
mmdet/core/anchor/anchor_generator.py:238
↓ 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:803
↓ 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:183
↓ 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:409
↓ 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:218
↓ 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:273
↓ 1 callersFunctiontblr2bboxes
Decode tblr outputs to prediction boxes. The process includes 3 steps: 1) De-normalize tblr coordinates by multiplying it with `normalizer`; 2
mmdet/core/bbox/coder/tblr_center_coder.py:111
↓ 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:123
↓ 1 callersMethodtensor_add
Add tensors ``a`` and ``b`` that might have different sizes.
mmdet/models/necks/fpn_carafe.py:238
↓ 1 callersFunctiontrain_detector
(model, dataset, cfg, distributed=False,
mmdet/apis/train.py:37
↓ 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:762
↓ 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:380
↓ 1 callersFunctiontruncate_cls_channel
(val, num_classes=81)
tools/model_converters/upgrade_model_version.py:67
↓ 1 callersFunctiontruncate_reg_channel
(val, num_classes=81)
tools/model_converters/upgrade_model_version.py:89
↓ 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:133
↓ 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:10
↓ 1 callersFunctionverifyOptimum
()
crowd_code/evaluate/JIToolkits/matching.py:536
↓ 1 callersFunctionvoc_eval_with_return
(result_file, dataset, iou_thr=0.5,
tools/analysis_tools/test_robustness.py:65
↓ 1 callersFunctionyolo_neck_config
Config yolov3 Neck.
tests/test_onnx/test_neck.py:102
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:29
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:32
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:82
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:126
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:168
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:62
Method__call__
(self, results)
mmdet/datasets/pipelines/auto_augment.py:103
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:284
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:503
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:683
Method__call__
Call function for Color transformation. Args: results (dict): Result dict from loading pipeline. Returns: di
mmdet/datasets/pipelines/auto_augment.py:736
Method__call__
Call function for Equalize transformation. Args: results (dict): Results dict from loading pipeline. Returns:
mmdet/datasets/pipelines/auto_augment.py:777
Method__call__
Call function for Brightness transformation. Args: results (dict): Results dict from loading pipeline. Returns:
mmdet/datasets/pipelines/auto_augment.py:824
Method__call__
Call function for Contrast transformation. Args: results (dict): Results dict from loading pipeline. Returns:
mmdet/datasets/pipelines/auto_augment.py:872
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:84
Method__call__
Call function to resize images, bounding boxes, masks, semantic segmentation map. Args: results (dict): Result dict from
mmdet/datasets/pipelines/transforms.py:271
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:416
Method__call__
Call function to random shift images, bounding boxes. Args: results (dict): Result dict from loading pipeline. Returns:
mmdet/datasets/pipelines/transforms.py:499
Method__call__
Call function to pad images, masks, semantic segmentation maps. Args: results (dict): Result dict from loading pipeline.
mmdet/datasets/pipelines/transforms.py:614
Method__call__
Call function to normalize images. Args: results (dict): Result dict from loading pipeline. Returns: dict: N
mmdet/datasets/pipelines/transforms.py:654
Method__call__
Call function to randomly crop images, bounding boxes, masks, semantic segmentation maps. Args: results (dict): Result di
mmdet/datasets/pipelines/transforms.py:836
Method__call__
Call function to scale the semantic segmentation map. Args: results (dict): Result dict from loading pipeline. Returns:
mmdet/datasets/pipelines/transforms.py:876
Method__call__
Call function to perform photometric distortion on images. Args: results (dict): Result dict from loading pipeline. Retu
mmdet/datasets/pipelines/transforms.py:931
Method__call__
Call function to expand images, bounding boxes. Args: results (dict): Result dict from loading pipeline. Returns:
mmdet/datasets/pipelines/transforms.py:1035
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:1135
Method__call__
Call function to corrupt image. Args: results (dict): Result dict from loading pipeline. Returns: dict: Resu
mmdet/datasets/pipelines/transforms.py:1253
Method__call__
(self, results)
mmdet/datasets/pipelines/transforms.py:1418
Method__call__
(self, results)
mmdet/datasets/pipelines/transforms.py:1808
Method__call__
Call function to drop some regions of image.
mmdet/datasets/pipelines/transforms.py:1879
Method__call__
(self, results)
mmdet/datasets/pipelines/instaboost.py:79
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:40
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:88
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:142
Method__call__
Call function to load multiple types annotations. Args: results (dict): Result dict from :obj:`mmdet.CustomDataset`. Ret
mmdet/datasets/pipelines/loading.py:353
Method__call__
Call function to load proposals from file. Args: results (dict): Result dict from :obj:`mmdet.CustomDataset`. Returns:
mmdet/datasets/pipelines/loading.py:401
← previousnext →801–900 of 2,117, ranked by callers