MCPcopy Create free account

hub / github.com/ChenhongyiYang/PGD / functions

Functions2,117 in github.com/ChenhongyiYang/PGD

↓ 1 callersMethod_mask_point_forward_train
Run forward function and calculate loss for point head in training.
mmdet/models/roi_heads/point_rend_roi_head.py:46
↓ 1 callersMethod_mask_point_onnx_export
Export mask refining process with point head to onnx. Args: x (tuple[Tensor]): Feature maps of all scale level. rois
mmdet/models/roi_heads/point_rend_roi_head.py:285
↓ 1 callersMethod_onnx_get_fine_grained_point_feats
Export the process of sampling fine grained feats to onnx. Args: x (tuple[Tensor]): Feature maps of all scale level.
mmdet/models/roi_heads/point_rend_roi_head.py:251
↓ 1 callersFunction_overlap
(det_boxes, basement, others)
crowd_code/utils/nms_utils.py:6
↓ 1 callersMethod_pad_img
Pad images according to ``self.size``.
mmdet/datasets/pipelines/transforms.py:587
↓ 1 callersMethod_pad_masks
Pad masks according to ``results['pad_shape']``.
mmdet/datasets/pipelines/transforms.py:601
↓ 1 callersMethod_pad_seg
Pad semantic segmentation map according to ``results['pad_shape']``.
mmdet/datasets/pipelines/transforms.py:607
↓ 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
mmdet/datasets/crowdhuman.py:107
↓ 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
mmdet/datasets/coco.py:120
↓ 1 callersMethod_parse_anns
(self, results, anns, img)
mmdet/datasets/pipelines/instaboost.py:58
↓ 1 callersFunction_poly2mask
(mask_ann, img_h, img_w)
tests/test_data/test_pipelines/test_transform/test_translate.py:89
↓ 1 callersMethod_poly2mask
Private function to convert masks represented with polygon to bitmaps. Args: mask_ann (list | dict): Polygon mask annotat
mmdet/datasets/pipelines/loading.py:263
↓ 1 callersMethod_polygon_area
Compute the area of a component of a polygon. Using the shoelace formula: https://stackoverflow.com/questions/24467972/calculate-area
mmdet/core/mask/structures.py:868
↓ 1 callersFunction_process_polygons
(polygons)
tests/test_data/test_pipelines/test_transform/test_translate.py:105
↓ 1 callersMethod_proposal2json
Convert proposal results to COCO json style.
mmdet/datasets/crowdhuman.py:186
↓ 1 callersMethod_proposal2json
Convert proposal results to COCO json style.
mmdet/datasets/coco.py:199
↓ 1 callersMethod_rand_another
Get another random index from the same group as the given index.
mmdet/datasets/custom.py:175
↓ 1 callersMethod_random_jitter
Ramdom jitter positive proposals for training.
mmdet/models/roi_heads/grid_roi_head.py:27
↓ 1 callersFunction_recalls
(all_ious, proposal_nums, thrs)
mmdet/core/evaluation/recall.py:10
↓ 1 callersMethod_resize_bboxes
Resize bounding boxes with ``results['scale_factor']``.
mmdet/datasets/pipelines/transforms.py:234
↓ 1 callersMethod_resize_img
Resize images with ``results['scale']``.
mmdet/datasets/pipelines/transforms.py:203
↓ 1 callersMethod_resize_masks
Resize masks with ``results['scale']``
mmdet/datasets/pipelines/transforms.py:244
↓ 1 callersMethod_resize_seg
Resize semantic segmentation map with ``results['scale']``.
mmdet/datasets/pipelines/transforms.py:254
↓ 1 callersMethod_rotate_bboxes
Rotate the bboxes.
mmdet/datasets/pipelines/auto_augment.py:424
↓ 1 callersMethod_rotate_img
Rotate the image. Args: results (dict): Result dict from loading pipeline. angle (float): Rotation angle in degrees,
mmdet/datasets/pipelines/auto_augment.py:406
↓ 1 callersMethod_rotate_masks
Rotate the masks.
mmdet/datasets/pipelines/auto_augment.py:459
↓ 1 callersMethod_rotate_seg
Rotate the segmentation map.
mmdet/datasets/pipelines/auto_augment.py:471
↓ 1 callersMethod_sample_neg
Sample negative samples.
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
mmdet/core/bbox/samplers/score_hlr_sampler.py:99
↓ 1 callersMethod_sample_pos
Sample positive samples.
mmdet/core/bbox/samplers/base_sampler.py:25
↓ 1 callersMethod_sample_pos
Randomly sample some positive samples.
mmdet/core/bbox/samplers/score_hlr_sampler.py:91
↓ 1 callersMethod_segm2json
Convert instance segmentation results to COCO json style.
mmdet/datasets/crowdhuman.py:218
↓ 1 callersMethod_segm2json
Convert instance segmentation results to COCO json style.
mmdet/datasets/coco.py:231
↓ 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.
mmdet/datasets/custom.py:163
↓ 1 callersMethod_shear_bboxes
Shear the bboxes.
mmdet/datasets/pipelines/auto_augment.py:203
↓ 1 callersMethod_shear_img
Shear the image. Args: results (dict): Result dict from loading pipeline. magnitude (int | float): The magnitude used
mmdet/datasets/pipelines/auto_augment.py:179
↓ 1 callersMethod_shear_masks
Shear the masks.
mmdet/datasets/pipelines/auto_augment.py:233
↓ 1 callersMethod_shear_seg
Shear the segmentation maps.
mmdet/datasets/pipelines/auto_augment.py:249
↓ 1 callersMethod_slice_pos_feats
Get features from pos rois.
mmdet/models/roi_heads/scnet_roi_head.py:80
↓ 1 callersFunction_test
()
crowd_code/utils/nms_utils.py:80
↓ 1 callersMethod_test_aug
Around padding the original image without cropping. The padding mode and value are from ``test_pad_mode``. Args: results
mmdet/datasets/pipelines/transforms.py:1774
↓ 1 callersMethod_train_aug
Random crop and around padding the original image. Args: results (dict): Image infomations in the augment pipeline. Retu
mmdet/datasets/pipelines/transforms.py:1706
↓ 1 callersFunction_translate_bbox
(bboxes, offset, direction, max_h, max_w)
tests/test_data/test_pipelines/test_transform/test_translate.py:215
↓ 1 callersMethod_translate_bboxes
Shift bboxes horizontally or vertically, according to offset.
mmdet/datasets/pipelines/auto_augment.py:624
↓ 1 callersMethod_translate_img
Translate the image. Args: results (dict): Result dict from loading pipeline. offset (int | float): The offset for tr
mmdet/datasets/pipelines/auto_augment.py:610
↓ 1 callersMethod_translate_masks
Translate masks horizontally or vertically.
mmdet/datasets/pipelines/auto_augment.py:642
↓ 1 callersMethod_translate_seg
Translate segmentation maps horizontally or vertically.
mmdet/datasets/pipelines/auto_augment.py:653
↓ 1 callersFunctionaddBlossom
(base, k)
crowd_code/evaluate/JIToolkits/matching.py:272
↓ 1 callersFunctionadd_plot_parser
(subparsers)
tools/analysis_tools/analyze_logs.py:92
↓ 1 callersFunctionadd_time_parser
(subparsers)
tools/analysis_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
mmdet/models/backbones/regnet.py:296
↓ 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
mmdet/models/losses/ae_loss.py:10
↓ 1 callersMethodaforward_test
(self, *, img, img_metas, **kwargs)
mmdet/models/detectors/base.py:93
↓ 1 callersFunctionanalyze_results
(res_file, ann_file, res_types, out_dir,
tools/analysis_tools/coco_error_analysis.py:234
↓ 1 callersMethodapredict
(self, img)
tests/test_runtime/test_async.py:53
↓ 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_
mmdet/core/bbox/assigners/center_region_assigner.py:256
↓ 1 callersMethodasync_simple_test
(self, img, img_metas, **kwargs)
mmdet/models/detectors/base.py:81
↓ 1 callersMethodasync_simple_test_rpn
(self, x, img_metas)
mmdet/models/dense_heads/dense_test_mixins.py:163
↓ 1 callersMethodasync_test_bboxes
Asynchronized test for box head without augmentation.
mmdet/models/roi_heads/test_mixins.py:19
↓ 1 callersMethodasync_test_mask
Asynchronized test for mask head without augmentation.
mmdet/models/roi_heads/test_mixins.py:155
↓ 1 callersMethodattention_pool
Extract direction-specific features fx and fy with attention methanism.
mmdet/models/roi_heads/bbox_heads/sabl_head.py:224
↓ 1 callersMethodaug_test
Test function with test time augmentation.
mmdet/models/detectors/base.py:89
↓ 1 callersMethodaug_test_bboxes
Test det bboxes with test time augmentation.
mmdet/models/roi_heads/test_mixins.py:116
↓ 1 callersMethodaug_test_mask
Test for mask head with test time augmentation.
mmdet/models/roi_heads/test_mixins.py:253
↓ 1 callersFunctionaugmentMatching
(k)
crowd_code/evaluate/JIToolkits/matching.py:496
↓ 1 callersFunctionaverage_precision
Calculate average precision (for single or multiple scales). Args: recalls (ndarray): shape (num_scales, num_dets) or (num_dets, )
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
mmdet/models/losses/balanced_l1_loss.py:12
↓ 1 callersMethodbase_parameters
(self)
mmdet/distillation/distillers/distill_base.py:73
↓ 1 callersFunctionbbox2bucket
Generate buckets estimation and fine regression targets. Args: proposals (Tensor): Shape (n, 4) gt (Tensor): Shape (n, 4)
mmdet/core/bbox/coder/bucketing_bbox_coder.py:144
↓ 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
mmdet/core/bbox/coder/delta_xywh_bbox_coder.py:98
↓ 1 callersMethodbbox_flip
Flip bboxes horizontally. Args: bboxes (numpy.ndarray): Bounding boxes, shape (..., 4*k) img_shape (tuple[int]): Imag
mmdet/datasets/pipelines/transforms.py:382
↓ 1 callersMethodbbox_onnx_export
Export bbox branch to onnx which supports batch inference. Args: x (tuple[Tensor]): Feature maps of all scale level.
mmdet/models/roi_heads/standard_roi_head.py:327
↓ 1 callersFunctionbboxes2tblr
Encode ground truth boxes to tblr coordinate. It first convert the gt coordinate to tblr format, (top, bottom, left, right), relative to prio
mmdet/core/bbox/coder/tblr_center_coder.py:68
↓ 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
mmdet/core/bbox/coder/tblr_bbox_coder.py:76
↓ 1 callersFunctionbboxes_area
Compute the area of an array of bboxes. Args: bboxes (Tensor): The coordinates ox bboxes. Shape: (m, 4) Returns: Tensor: Are
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
mmdet/models/losses/iou_loss.py:41
↓ 1 callersFunctionbucket2bbox
Apply bucketing estimation (cls preds) and fine regression (offset preds) to generate det bboxes. Args: proposals (Tensor): Boxes to
mmdet/core/bbox/coder/bucketing_bbox_coder.py:268
↓ 1 callersMethodbucket_target
(self, pos_proposals_list, neg_proposals_list,
mmdet/models/roi_heads/bbox_heads/sabl_head.py:338
↓ 1 callersFunctionbuild
Build a module. Args: cfg (dict, list[dict]): The config of modules, is is either a dict or a list of configs. registr
mmdet/models/dense_heads/pgd_heads/utils/builder.py:8
↓ 1 callersFunctionbuild_distill_loss
Build distill loss.
mmdet/distillation/builder.py:29
↓ 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
mmdet/models/roi_heads/roi_extractors/base_roi_extractor.py:36
↓ 1 callersFunctionbuild_shared_head
Build shared head.
mmdet/models/builder.py:32
↓ 1 callersMethodcalc_sub_regions
Compute point specific representation regions. See Grid R-CNN Plus (https://arxiv.org/abs/1906.05688) for details.
mmdet/models/roi_heads/mask_heads/grid_head.py:192
↓ 1 callersMethodcalculate_pos_recall
Calculate positive recall with score threshold. Args: cls_scores (list[Tensor]): Classification scores at all fpn levels.
mmdet/models/dense_heads/fsaf_head.py:316
↓ 1 callersMethodcenterness_target
(self, anchors, bbox_targets)
mmdet/models/dense_heads/atss_head.py:293
↓ 1 callersMethodcenterness_target
Compute centerness targets. Args: pos_bbox_targets (Tensor): BBox targets of positive bboxes in shape (num_pos, 4
mmdet/models/dense_heads/fcos_head.py:654
↓ 1 callersMethodcenters_to_bboxes
Get bboxes according to center points. Only used in :class:`MaxIoUAssigner`.
mmdet/models/dense_heads/reppoints_head.py:326
↓ 1 callersFunctioncheckDelta2
()
crowd_code/evaluate/JIToolkits/matching.py:580
↓ 1 callersFunctioncheckDelta3
()
crowd_code/evaluate/JIToolkits/matching.py:598
↓ 1 callersFunctionciou_loss
r"""`Implementation of paper `Enhancing Geometric Factors into Model Learning and Inference for Object Detection and Instance Segmentation <ht
mmdet/models/losses/iou_loss.py:162
↓ 1 callersMethodclip_all_boader
(self)
crowd_code/evaluate/APMRToolkits/image.py:182
↓ 1 callersMethodcls_forward
(self, cls_x)
mmdet/models/roi_heads/bbox_heads/sabl_head.py:217
↓ 1 callersFunctioncoco_eval_with_return
(result_files, result_types, coco,
tools/analysis_tools/test_robustness.py:23
↓ 1 callersFunctioncollect_annotations
(files, nproc=1)
tools/dataset_converters/cityscapes.py:28
↓ 1 callersFunctioncollect_files
(img_dir, gt_dir)
tools/dataset_converters/cityscapes.py:11
↓ 1 callersFunctioncollect_results_cpu
(result_part, size, tmpdir=None)
mmdet/apis/test.py:117
↓ 1 callersFunctioncollect_results_gpu
(result_part, size)
mmdet/apis/test.py:160
↓ 1 callersMethodcompare_caltech
:meth: match the detection results with the groundtruth by Caltech matching strategy :param thres: iou threshold :type thres:
crowd_code/evaluate/APMRToolkits/image.py:54
↓ 1 callersMethodcompare_voc
:meth: match the detection results with the groundtruth by VOC matching strategy :param thres: iou threshold :type thres: flo
crowd_code/evaluate/APMRToolkits/image.py:257
↓ 1 callersFunctioncompute_APMR
(dt_path, gt_path, target_key=None, mode=0)
crowd_code/evaluate/compute_APMR.py:5
← previousnext →501–600 of 2,117, ranked by callers