MCPcopy Create free account

hub / github.com/FenHua/DetDak / functions

Functions1,414 in github.com/FenHua/DetDak

↓ 1 callersMethod_get_bboxes_single
(self, cls_scores, bbox_preds,
mmdetection/mmdet/models/dense_heads/fovea_head.py:292
↓ 1 callersMethod_get_bboxes_single
Transform outputs for a single batch item into labeled boxes. Args: cls_scores (list[Tensor]): Box scores for a single scale leve
mmdetection/mmdet/models/dense_heads/atss_head.py:379
↓ 1 callersMethod_get_bboxes_single
Transform outputs for a single batch item into bbox predictions. Args: cls_scores (list[Tensor]): Box scores for a single scale l
mmdetection/mmdet/models/dense_heads/fcos_head.py:310
↓ 1 callersMethod_get_bboxes_single
Transform outputs for a single batch item into bbox predictions. Args: tl_heat (Tensor): Top-left corner heatmap for current leve
mmdetection/mmdet/models/dense_heads/corner_head.py:675
↓ 1 callersFunction_get_config_directory
Find the predefined detector config directory.
mmdetection/tests/test_models/test_forward.py:10
↓ 1 callersFunction_get_config_module
Load a configuration as a python module.
mmdetection/tests/test_models/test_forward.py:25
↓ 1 callersMethod_get_guided_anchors_single
Get guided anchors and loc masks for a single level. Args: square (tensor): Squares of a single level. shape_pred (te
mmdetection/mmdet/models/dense_heads/guided_anchor_head.py:346
↓ 1 callersMethod_get_points_single
Get points of a single scale level.
mmdetection/mmdet/models/dense_heads/anchor_free_head.py:297
↓ 1 callersMethod_get_repeat_factors
Get repeat factor for each images in the dataset. Args: dataset (:obj:`CustomDataset`): The dataset repeat_thr (float
mmdetection/mmdet/datasets/dataset_wrappers.py:149
↓ 1 callersMethod_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
mmdetection/mmdet/models/dense_heads/corner_head.py:187
↓ 1 callersMethod_init_corner_kpt_layers
Initialize corner keypoint layers. Including corner heatmap branch and corner offset branch. Each branch has two parts: prefix `tl_`
mmdetection/mmdet/models/dense_heads/corner_head.py:149
↓ 1 callersMethod_init_layers
(self)
mmdetection/mmdet/models/dense_heads/guided_anchor_head.py:204
↓ 1 callersMethod_init_layers
Initialize layers of the head.
mmdetection/mmdet/models/dense_heads/anchor_head.py:103
↓ 1 callersMethod_init_layers
Initialize layers of the head.
mmdetection/mmdet/models/dense_heads/anchor_free_head.py:86
↓ 1 callersMethod_init_layers
Initialize layers for CornerHead. Including two parts: corner keypoint layers and corner embedding layers
mmdetection/mmdet/models/dense_heads/corner_head.py:205
↓ 1 callersMethod_init_predictor
Initialize predictor layers of the head.
mmdetection/mmdet/models/dense_heads/anchor_free_head.py:132
↓ 1 callersMethod_load_anns
(self, results)
mmdetection/mmdet/datasets/pipelines/instaboost.py:36
↓ 1 callersMethod_load_bboxes
Private function to load bounding box annotations. Args: results (dict): Result dict from :obj:`mmdet.CustomDataset`. Re
mmdetection/mmdet/datasets/pipelines/loading.py:198
↓ 1 callersMethod_load_labels
Private function to load label annotations. Args: results (dict): Result dict from :obj:`mmdet.CustomDataset`. Returns:
mmdetection/mmdet/datasets/pipelines/loading.py:218
↓ 1 callersMethod_load_masks
Private function to load mask annotations. Args: results (dict): Result dict from :obj:`mmdet.CustomDataset`. Returns:
mmdetection/mmdet/datasets/pipelines/loading.py:275
↓ 1 callersMethod_load_semantic_seg
Private function to load semantic segmentation annotations. Args: results (dict): Result dict from :obj:`dataset`. Retur
mmdetection/mmdet/datasets/pipelines/loading.py:300
↓ 1 callersMethod_make_branches
(self, num_branches, block, num_blocks, num_channels)
mmdetection/mmdet/models/backbones/hrnet.py:106
↓ 1 callersMethod_make_extra_layers
(self, outplanes)
mmdetection/mmdet/models/backbones/ssd_vgg.py:119
↓ 1 callersMethod_make_fuse_layers
(self)
mmdetection/mmdet/models/backbones/hrnet.py:115
↓ 1 callersMethod_make_layer
(self, block, inplanes, planes, blocks, stride=1)
mmdetection/mmdet/models/backbones/hrnet.py:403
↓ 1 callersMethod_make_one_branch
(self, branch_index, block, num_blo
mmdetection/mmdet/models/backbones/hrnet.py:62
↓ 1 callersMethod_make_stem_layer
(self, in_channels, stem_channels)
mmdetection/mmdet/models/backbones/resnet.py:525
↓ 1 callersMethod_make_stem_layer
(self, in_channels, base_channels)
mmdetection/mmdet/models/backbones/regnet.py:207
↓ 1 callersMethod_mask_forward_train
Run forward function and calculate loss for mask head in training.
mmdetection/mmdet/models/roi_heads/standard_roi_head.py:163
↓ 1 callersMethod_mask_forward_train
Run forward function and calculate loss for mask head in training.
mmdetection/mmdet/models/roi_heads/htc_roi_head.py:121
↓ 1 callersMethod_mask_point_forward_train
Run forward function and calculate loss for point head in training.
mmdetection/mmdet/models/roi_heads/point_rend_roi_head.py:50
↓ 1 callersFunction_minimal_ext_cmd
(cmd)
mmdetection/setup.py:23
↓ 1 callersMethod_pad_img
Pad images according to ``self.size``.
mmdetection/mmdet/datasets/pipelines/transforms.py:390
↓ 1 callersMethod_pad_masks
Pad masks according to ``results['pad_shape']``.
mmdetection/mmdet/datasets/pipelines/transforms.py:404
↓ 1 callersMethod_pad_seg
Pad semantic segmentation map according to ``results['pad_shape']``.
mmdetection/mmdet/datasets/pipelines/transforms.py:410
↓ 1 callersMethod_parse_ann_info
Parse bbox and mask annotation. Args: ann_info (list[dict]): Annotation info of an image. with_mask (bool): Whether t
mmdetection/mmdet/datasets/coco.py:123
↓ 1 callersMethod_parse_anns
(self, results, anns, img)
mmdetection/mmdet/datasets/pipelines/instaboost.py:58
↓ 1 callersMethod_poly2mask
Private function to convert masks represented with polygon to bitmaps. Args: mask_ann (list | dict): Polygon mask annotat
mmdetection/mmdet/datasets/pipelines/loading.py:231
↓ 1 callersMethod_polygon_area
Compute the area of a component of a polygon. Using the shoelace formula: https://stackoverflow.com/questions/24467972/calculate-area
mmdetection/mmdet/core/mask/structures.py:525
↓ 1 callersMethod_proposal2json
Convert proposal results to COCO json style.
mmdetection/mmdet/datasets/coco.py:202
↓ 1 callersMethod_rand_another
Get another random index from the same group as the given index.
mmdetection/mmdet/datasets/custom.py:168
↓ 1 callersMethod_random_jitter
Ramdom jitter positive proposals for training.
mmdetection/mmdet/models/roi_heads/grid_roi_head.py:38
↓ 1 callersMethod_random_scale
Randomly sample an img_scale according to ``ratio_range`` and ``multiscale_mode``. If ``ratio_range`` is specified, a ratio will be s
mmdetection/mmdet/datasets/pipelines/transforms.py:151
↓ 1 callersFunction_recalls
(all_ious, proposal_nums, thrs)
mmdetection/mmdet/core/evaluation/recall.py:10
↓ 1 callersMethod_resize_bboxes
Resize bounding boxes with ``results['scale_factor']``.
mmdetection/mmdet/datasets/pipelines/transforms.py:209
↓ 1 callersMethod_resize_img
Resize images with ``results['scale']``.
mmdetection/mmdet/datasets/pipelines/transforms.py:184
↓ 1 callersMethod_resize_masks
Resize masks with ``results['scale']``
mmdetection/mmdet/datasets/pipelines/transforms.py:218
↓ 1 callersMethod_resize_seg
Resize semantic segmentation map with ``results['scale']``.
mmdetection/mmdet/datasets/pipelines/transforms.py:228
↓ 1 callersMethod_sample_neg
Sample negative samples.
mmdetection/mmdet/core/bbox/samplers/base_sampler.py:30
↓ 1 callersMethod_sample_neg
Sample negative samples. Score-HLR sampler is done in the following steps: 1. Take the maximum positive score prediction of each nega
mmdetection/mmdet/core/bbox/samplers/score_hlr_sampler.py:96
↓ 1 callersMethod_sample_pos
Sample positive samples.
mmdetection/mmdet/core/bbox/samplers/base_sampler.py:25
↓ 1 callersMethod_sample_pos
Randomly sample some positive samples.
mmdetection/mmdet/core/bbox/samplers/score_hlr_sampler.py:88
↓ 1 callersMethod_segm2json
Convert instance segmentation results to COCO json style.
mmdetection/mmdet/datasets/coco.py:234
↓ 1 callersMethod_set_group_flag
Set flag according to image aspect ratio. Images with aspect ratio greater than 1 will be set as group 1, otherwise group 0.
mmdetection/mmdet/datasets/custom.py:156
↓ 1 callersMethod_test_aug
Around padding the original image without cropping. The padding mode and value are from ``test_pad_mode``. Args: results
mmdetection/mmdet/datasets/pipelines/transforms.py:1451
↓ 1 callersMethod_train_aug
Random crop and around padding the original image. Args: results (dict): Image infomations in the augment pipeline. Retu
mmdetection/mmdet/datasets/pipelines/transforms.py:1384
↓ 1 callersFunctionadd_plot_parser
(subparsers)
mmdetection/tools/analyze_logs.py:92
↓ 1 callersFunctionadd_time_parser
(subparsers)
mmdetection/tools/analyze_logs.py:120
↓ 1 callersMethodadjust_width_group
Adjusts the compatibility of widths and groups. Args: widths (list[int]): Width of each stage. bottleneck_ratio (floa
mmdetection/mmdet/models/backbones/regnet.py:266
↓ 1 callersFunctionae_loss_per_image
Associative Embedding Loss in one image. Associative Embedding Loss including two parts: pull loss and push loss. Pull loss makes embedding v
mmdetection/mmdet/models/losses/ae_loss.py:8
↓ 1 callersMethodaforward_test
(self, *, img, img_metas, **kwargs)
mmdetection/mmdet/models/detectors/base.py:105
↓ 1 callersFunctionallreduce_grads
Allreduce gradients. Args: params (list[torch.Parameters]): List of parameters of a model coalesce (bool, optional): Whether allr
mmdetection/mmdet/core/utils/dist_utils.py:32
↓ 1 callersFunctionanalyze_results
(res_file, ann_file, res_types, out_dir)
mmdetection/tools/coco_error_analysis.py:103
↓ 1 callersMethodapredict
(self, img)
mmdetection/tests/test_async.py:53
↓ 1 callersFunctionaspectaware_resize_padding
(image, width, height, interpolation=None, means=None)
util_copy/utils.py:17
↓ 1 callersMethodassign_one_hot_gt_indices
Assign only one gt index to each prior box. Gts with large gt_priority are more likely to be assigned. Args: is_bbox_in_
mmdetection/mmdet/core/bbox/assigners/center_region_assigner.py:256
↓ 1 callersMethodasync_simple_test
(self, img, img_metas, **kwargs)
mmdetection/mmdet/models/detectors/base.py:82
↓ 1 callersMethodasync_simple_test_rpn
(self, x, img_metas)
mmdetection/mmdet/models/dense_heads/rpn_test_mixin.py:14
↓ 1 callersMethodasync_test_bboxes
Asynchronized test for box head without augmentation.
mmdetection/mmdet/models/roi_heads/test_mixins.py:19
↓ 1 callersMethodasync_test_mask
Asynchronized test for mask head without augmentation.
mmdetection/mmdet/models/roi_heads/test_mixins.py:113
↓ 1 callersMethodaug_test
Test function with test time augmentation.
mmdetection/mmdet/models/detectors/base.py:90
↓ 1 callersMethodaug_test_bboxes
Test det bboxes with test time augmentation.
mmdetection/mmdet/models/roi_heads/test_mixins.py:73
↓ 1 callersMethodaug_test_mask
Test for mask head with test time augmentation.
mmdetection/mmdet/models/roi_heads/test_mixins.py:178
↓ 1 callersFunctionaverage_precision
Calculate average precision (for single or multiple scales). Args: recalls (ndarray): shape (num_scales, num_dets) or (num_dets, )
mmdetection/mmdet/core/evaluation/mean_ap.py:12
↓ 1 callersFunctionbalanced_l1_loss
Calculate balanced L1 loss. Please see the `Libra R-CNN <https://arxiv.org/pdf/1904.02701.pdf>`_ Args: pred (torch.Tensor): The pred
mmdetection/mmdet/models/losses/balanced_l1_loss.py:10
↓ 1 callersFunctionbbox2delta
Compute deltas of proposals w.r.t. gt. We usually compute the deltas of x, y, w, h of proposals w.r.t ground truth bboxes to get regression t
mmdetection/mmdet/core/bbox/coder/delta_xywh_bbox_coder.py:74
↓ 1 callersFunctionbbox2distance
Decode bounding box based on distances. Args: points (Tensor): Shape (n, 2), [x, y]. bbox (Tensor): Shape (n, 4), "xyxy" format
mmdetection/mmdet/core/bbox/transforms.py:141
↓ 1 callersMethodbbox_flip
Flip bboxes horizontally. Args: bboxes (numpy.ndarray): Bounding boxes, shape (..., 4*k) img_shape (tuple[int]): Imag
mmdetection/mmdet/datasets/pipelines/transforms.py:300
↓ 1 callersFunctionbbox_overlaps
Calculate overlap between two set of bboxes. If ``is_aligned`` is ``False``, then calculate the ious between each bbox of bboxes1 and bboxes2
mmdetection/mmdet/core/bbox/iou_calculators/iou2d_calculator.py:39
↓ 1 callersFunctionbboxes2tblr
Encode ground truth boxes to tblr coordinate. It first convert the gt coordinate to tblr format, (top, bottom, left, right), relative to pri
mmdetection/mmdet/core/bbox/coder/tblr_bbox_coder.py:67
↓ 1 callersFunctionbboxes_area
Compute the area of an array of bboxes. Args: bboxes (Tensor): The coordinates ox bboxes. Shape: (m, 4) Returns: Tensor: Are
mmdetection/mmdet/core/bbox/assigners/center_region_assigner.py:54
↓ 1 callersFunctionbounded_iou_loss
BIoULoss. This is an implementation of paper `Improving Object Localization with Fitness NMS and Bounded IoU Loss. <https://arxiv.org/abs
mmdetection/mmdet/models/losses/iou_loss.py:33
↓ 1 callersMethodbuild_roi_layers
Build RoI operator to extract feature from each level feature map. Args: layer_cfg (dict): Dictionary to construct and config RoI
mmdetection/mmdet/models/roi_heads/roi_extractors/base_roi_extractor.py:32
↓ 1 callersFunctionbuild_shared_head
Build shared head.
mmdetection/mmdet/models/builder.py:50
↓ 1 callersFunctionbuild_targets
(pred_boxes, target, anchors, num_anchors, num_classes, nH, nW, noobject_scale, object_scale,
util_copy/yolo_layer.py:6
↓ 1 callersFunctionbuild_targets
(pred_boxes, target, anchors, num_anchors, num_classes, nH, nW, noobject_scale, object_scale,
util_copy/region_loss.py:10
↓ 1 callersFunctioncalc_iou
(a, b)
efficientdet/loss.py:10
↓ 1 callersMethodcalc_sub_regions
Compute point specific representation regions. See Grid R-CNN Plus (https://arxiv.org/abs/1906.05688) for details.
mmdetection/mmdet/models/roi_heads/mask_heads/grid_head.py:189
↓ 1 callersMethodcalculate_pos_recall
Calculate positive recall with score threshold. Args: cls_scores (list[Tensor]): Classification scores at all fpn levels.
mmdetection/mmdet/models/dense_heads/fsaf_head.py:302
↓ 1 callersMethodcenterness_target
(self, anchors, bbox_targets)
mmdetection/mmdet/models/dense_heads/atss_head.py:301
↓ 1 callersMethodcenterness_target
Compute centerness targets. Args: pos_bbox_targets (Tensor): BBox targets of positive bboxes in shape (num_pos, 4
mmdetection/mmdet/models/dense_heads/fcos_head.py:543
↓ 1 callersMethodcenters_to_bboxes
Get bboxes according to center points. Only used in :class:`MaxIoUAssigner`.
mmdetection/mmdet/models/dense_heads/reppoints_head.py:335
↓ 1 callersFunctionciou_loss
r"""`Implementation of paper `Enhancing Geometric Factors into Model Learning and Inference for Object Detection and Instance Segmentation <ht
mmdetection/mmdet/models/losses/iou_loss.py:172
↓ 1 callersFunctioncoco_eval_with_return
(result_files, result_types, coco,
mmdetection/tools/test_robustness.py:24
↓ 1 callersFunctioncollect_annotations
(files, nproc=1)
mmdetection/tools/convert_datasets/cityscapes.py:28
↓ 1 callersFunctioncollect_files
(img_dir, gt_dir)
mmdetection/tools/convert_datasets/cityscapes.py:11
↓ 1 callersFunctioncollect_results
(result_part, size, tmpdir=None)
mmdetection/tools/test_robustness.py:148
↓ 1 callersFunctioncollect_results_cpu
(result_part, size, tmpdir=None)
mmdetection/mmdet/apis/test.py:117
↓ 1 callersFunctioncollect_results_gpu
(result_part, size)
mmdetection/mmdet/apis/test.py:159
↓ 1 callersFunctionconvert
Convert keys in checkpoints. There can be some breaking changes during the development of mmdetection, and this tool is used for upgrading ch
mmdetection/tools/upgrade_model_version.py:114
← previousnext →301–400 of 1,414, ranked by callers