MCPcopy Create free account

hub / github.com/ChenhongyiYang/PGD / functions

Functions2,117 in github.com/ChenhongyiYang/PGD

↓ 1 callersFunctiongiou_loss
r"""`Generalized Intersection over Union: A Metric and A Loss for Bounding Box Regression <https://arxiv.org/abs/1902.09630>`_. Args:
mmdet/models/losses/iou_loss.py:87
↓ 1 callersMethodgmm_separation_scheme
A general separation scheme for gmm model. It separates a GMM distribution of candidate samples into three parts, 0 1 and uncertain a
mmdet/models/dense_heads/paa_head.py:366
↓ 1 callersFunctionimshow_gt_det_bboxes
General visualization GT and result function. Args: img (str or ndarray): The image to be displayed.) annotation (dict): Ground truth
mmdet/core/visualization/image.py:189
↓ 1 callersMethodinit
(self)
tests/test_runtime/test_async.py:45
↓ 1 callersMethodinit_assigner_sampler
Initialize assigner and sampler.
mmdet/models/roi_heads/base_roi_head.py:62
↓ 1 callersMethodinit_bbox_head
Initialize ``bbox_head``
mmdet/models/roi_heads/base_roi_head.py:52
↓ 1 callersMethodinit_layers
Initialize layers of the DeformableDetrTransformer.
mmdet/models/utils/transformer.py:376
↓ 1 callersMethodinit_mask_head
Initialize ``mask_head``
mmdet/models/roi_heads/base_roi_head.py:57
↓ 1 callersMethodinit_point_head
Initialize ``point_head``
mmdet/models/roi_heads/point_rend_roi_head.py:27
↓ 1 callersMethodinit_weights
(self)
mmdet/models/backbones/detectors_resnet.py:295
↓ 1 callersMethodinit_weights
(self)
mmdet/models/utils/normed_predictor.py:27
↓ 1 callersMethodinit_weights_teacher
Load the pretrained model in teacher detector. Args: pretrained (str, optional): Path to pre-trained weights. Defa
mmdet/distillation/distillers/distill_base.py:100
↓ 1 callersFunctioniou_loss
IoU loss. Computing the IoU loss between a set of predicted bboxes and target bboxes. The loss is calculated as negative log of IoU. Arg
mmdet/models/losses/iou_loss.py:14
↓ 1 callersFunctionis_head
(key)
tools/model_converters/upgrade_model_version.py:10
↓ 1 callersFunctionknowledge_distillation_kl_div_loss
r"""Loss function for knowledge distilling using KL divergence. Args: pred (Tensor): Predicted logits with shape (N, n + 1). soft
mmdet/models/losses/kd_loss.py:11
↓ 1 callersFunctionl1_loss
L1 loss. Args: pred (torch.Tensor): The prediction. target (torch.Tensor): The learning target of the prediction. Returns:
mmdet/models/losses/smooth_l1_loss.py:33
↓ 1 callersFunctionlegacy_bbox2delta
Compute deltas of proposals w.r.t. gt in the MMDet V1.x manner. We usually compute the deltas of x, y, w, h of proposals w.r.t ground truth b
mmdet/core/bbox/coder/legacy_delta_xywh_bbox_coder.py:84
↓ 1 callersFunctionlegacy_delta2bbox
Apply deltas to shift/scale base boxes in the MMDet V1.x manner. Typically the rois are anchor or proposed bounding boxes and the deltas are
mmdet/core/bbox/coder/legacy_delta_xywh_bbox_coder.py:133
↓ 1 callersMethodload_annotations
Load annotation from annotation file.
mmdet/datasets/custom.py:111
↓ 1 callersMethodload_annotations
Load annotation from COCO style annotation file. Args: ann_file (str): Path of annotation file. Returns: lis
mmdet/datasets/coco.py:37
↓ 1 callersMethodload_cats
(self, ids)
mmdet/datasets/api_wrappers/coco_api.py:38
↓ 1 callersFunctionload_func
(fpath)
crowd_code/create_crowd_anno.py:19
↓ 1 callersMethodload_gt_boxes
(self, dict_input, key_name, class_names)
crowd_code/evaluate/APMRToolkits/image.py:204
↓ 1 callersFunctionload_json_logs
(json_logs)
tools/analysis_tools/analyze_logs.py:146
↓ 1 callersMethodload_proposals
Load proposal from proposal file.
mmdet/datasets/custom.py:115
↓ 1 callersMethodloss
Compute losses of the head.
mmdet/models/dense_heads/base_dense_head.py:13
↓ 1 callersMethodloss
loss() is implemented in StageCascadeRPNHead.
mmdet/models/dense_heads/cascade_rpn_head.py:705
↓ 1 callersMethodloss
Loss function. Only outputs from the last feature level are used for computing losses by default. Args: all_cls_
mmdet/models/dense_heads/detr_head.py:267
↓ 1 callersMethodloss
(self, mask_iou_pred, mask_iou_targets)
mmdet/models/roi_heads/mask_heads/maskiou_head.py:87
↓ 1 callersMethodloss_loc_single
(self, loc_pred, loc_target, loc_weight, loc_avg_factor)
mmdet/models/dense_heads/guided_anchor_head.py:629
↓ 1 callersMethodloss_shape_single
(self, shape_pred, bbox_anchors, bbox_gts, anchor_weights, anchor_total_num)
mmdet/models/dense_heads/guided_anchor_head.py:605
↓ 1 callersMethodloss_single
Compute loss of a single scale level. Args: anchors (Tensor): Box reference for each scale level with shape (N, n
mmdet/models/dense_heads/ld_head.py:38
↓ 1 callersFunctionmain
()
tools/train.py:88
↓ 1 callersFunctionmain
()
tools/test.py:108
↓ 1 callersFunctionmain
()
tools/model_converters/upgrade_model_version.py:195
↓ 1 callersFunctionmain
()
tools/model_converters/upgrade_ssd_version.py:47
↓ 1 callersFunctionmain
()
tools/model_converters/detectron2pytorch.py:72
↓ 1 callersFunctionmain
()
tools/model_converters/regnet2mmdet.py:80
↓ 1 callersFunctionmain
()
tools/model_converters/publish_model.py:36
↓ 1 callersFunctionmain
()
tools/model_converters/selfsup2mmdet.py:27
↓ 1 callersFunctionmain
()
tools/analysis_tools/test_robustness.py:180
↓ 1 callersFunctionmain
()
tools/analysis_tools/benchmark.py:125
↓ 1 callersFunctionmain
()
tools/analysis_tools/analyze_results.py:176
↓ 1 callersFunctionmain
()
tools/analysis_tools/robustness_eval.py:197
↓ 1 callersFunctionmain
()
tools/analysis_tools/coco_error_analysis.py:307
↓ 1 callersFunctionmain
()
tools/analysis_tools/analyze_logs.py:166
↓ 1 callersFunctionmain
()
tools/analysis_tools/get_flops.py:37
↓ 1 callersFunctionmain
()
tools/analysis_tools/eval_metric.py:46
↓ 1 callersFunctionmain
()
tools/misc/browse_dataset.py:63
↓ 1 callersFunctionmain
()
tools/misc/print_config.py:40
↓ 1 callersFunctionmain
()
tools/dataset_converters/pascal_voc.py:196
↓ 1 callersFunctionmain
()
tools/dataset_converters/cityscapes.py:126
↓ 1 callersFunctionmain
()
tools/deployment/test.py:64
↓ 1 callersFunctionmain
Benchmark between async and synchronous inference interfaces. Sample runs for 20 demo images on K80 GPU, model - mask_rcnn_r50_fpn_1x: async
tests/test_runtime/async_benchmark.py:15
↓ 1 callersMethodmake_conv_res_block
In Darknet backbone, ConvLayer is usually followed by ResBlock. This function will make that. The Conv layers always have 3x3 filters with
mmdet/models/backbones/darknet.py:179
↓ 1 callersFunctionmake_gt_area_group_numbers_plot
(cocoEval, outDir, verbose=True)
tools/analysis_tools/coco_error_analysis.py:122
↓ 1 callersFunctionmake_gt_area_histogram_plot
(cocoEval, outDir)
tools/analysis_tools/coco_error_analysis.py:151
↓ 1 callersMethodmake_layer
Stack InvertedResidual blocks to build a layer for MobileNetV2. Args: out_channels (int): out_channels of block. num_
mmdet/models/backbones/mobilenet_v2.py:138
↓ 1 callersMethodmake_res_layer
Pack all blocks in a stage into a ``ResLayer`` for DetectoRS.
mmdet/models/backbones/detectors_resnet.py:324
↓ 1 callersFunctionmake_trident_res_layer
Build Trident Res Layers.
mmdet/models/backbones/trident_resnet.py:181
↓ 1 callersMethodmap_roi_levels
Map rois to corresponding feature levels by scales. - scale < finest_scale * 2: level 0 - finest_scale * 2 <= scale < finest_scale *
mmdet/models/roi_heads/roi_extractors/single_level_roi_extractor.py:35
↓ 1 callersMethodmask_onnx_export
Export mask 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:285
↓ 1 callersFunctionmask_target
Compute mask target for positive proposals in multiple images. Args: pos_proposals_list (list[Tensor]): Positive proposals in multiple
mmdet/core/mask/mask_target.py:6
↓ 1 callersFunctionmasked_mean
(matrix, dim, masked_value=-INF)
mmdet/core/bbox/assigners/center_cost_topk_assigner.py:11
↓ 1 callersFunctionmasked_std
(matrix, dim, mean, masked_value=-INF)
mmdet/core/bbox/assigners/center_cost_topk_assigner.py:20
↓ 1 callersFunctionmeasure_inferense_speed
(cfg, checkpoint, max_iter, log_interval, is_fuse_conv_bn)
tools/analysis_tools/benchmark.py:51
↓ 1 callersMethodmerge_aug_bboxes
Merge augmented detection bboxes and scores. Args: aug_bboxes (list[Tensor]): shape (n, 4*#class) aug_scores (list[Te
mmdet/models/dense_heads/dense_test_mixins.py:173
↓ 1 callersFunctionmerge_aug_proposals
Merge augmented proposals (multiscale, flip, etc.) Args: aug_proposals (list[Tensor]): proposals from different testing schem
mmdet/core/post_processing/merge_augs.py:12
↓ 1 callersMethodmerge_aug_results
Merge augmented detection bboxes and score. Args: aug_results (list[list[Tensor]]): Det_bboxes and det_labels of each
mmdet/models/detectors/centernet.py:27
↓ 1 callersMethodmerge_aug_results
Merge augmented detection bboxes and score. Args: aug_results (list[list[Tensor]]): Det_bboxes and det_labels of each
mmdet/models/detectors/cornernet.py:27
↓ 1 callersMethodmerge_trident_bboxes
Merge bbox predictions of each branch.
mmdet/models/roi_heads/trident_roi_head.py:26
↓ 1 callersFunctionmmdet2torchserve
Converts MMDetection model (config + checkpoint) to TorchServe `.mar`. Args: config_file: In MMDetection config format.
tools/deployment/mmdet2torchserve.py:14
↓ 1 callersFunctionmoco_convert
Convert keys in pycls pretrained moco models to mmdet style.
tools/model_converters/selfsup2mmdet.py:7
↓ 1 callersFunctionmse_loss
Warpper of mse loss.
mmdet/models/losses/mse_loss.py:9
↓ 1 callersMethodnegative_bag_loss
Compute negative bag loss. :math:`FL((1 - P_{a_{j} \in A_{+}}) * (1 - P_{j}^{bg}))`. :math:`P_{a_{j} \in A_{+}}`: Box_probability of
mmdet/models/dense_heads/free_anchor_retina_head.py:246
↓ 1 callersMethodnorm0
nn.Module: the normalization layer named "norm0"
mmdet/models/backbones/resnest.py:115
↓ 1 callersMethodnorm1
nn.Module: the normalization layer named "norm1"
mmdet/models/backbones/resnest.py:120
↓ 1 callersMethodnorm1
nn.Module: normalization layer after the first convolution layer
mmdet/models/backbones/resnet.py:57
↓ 1 callersMethodnorm1
nn.Module: the normalization layer named "norm1"
mmdet/models/backbones/resnet.py:560
↓ 1 callersMethodnorm1
nn.Module: normalization layer after the first convolution layer
mmdet/models/utils/res_layer.py:161
↓ 1 callersMethodnorm2
nn.Module: normalization layer after the second convolution layer
mmdet/models/backbones/resnet.py:62
↓ 1 callersMethodnorm2
nn.Module: normalization layer after the second convolution layer
mmdet/models/utils/res_layer.py:166
↓ 1 callersFunctiononnx2tensorrt
(onnx_file, trt_file, input_config, verify=False,
tools/deployment/onnx2tensorrt.py:23
↓ 1 callersMethodonnx_export
Transform network output for a batch into bbox predictions. Args: rois (Tensor): Boxes to be transformed. Has sha
mmdet/models/roi_heads/bbox_heads/bbox_head.py:484
↓ 1 callersMethodonnx_export
(self, img, img_metas)
mmdet/models/detectors/base.py:347
↓ 1 callersFunctionparse_args
()
tools/train.py:23
↓ 1 callersFunctionparse_args
()
tools/test.py:23
↓ 1 callersFunctionparse_args
()
tools/model_converters/publish_model.py:7
↓ 1 callersFunctionparse_args
()
tools/analysis_tools/test_robustness.py:92
↓ 1 callersFunctionparse_args
()
tools/analysis_tools/benchmark.py:16
↓ 1 callersFunctionparse_args
()
tools/analysis_tools/analyze_results.py:137
↓ 1 callersFunctionparse_args
()
tools/analysis_tools/analyze_logs.py:136
↓ 1 callersFunctionparse_args
()
tools/analysis_tools/get_flops.py:14
↓ 1 callersFunctionparse_args
()
tools/analysis_tools/eval_metric.py:9
↓ 1 callersFunctionparse_args
()
tools/misc/browse_dataset.py:13
↓ 1 callersFunctionparse_args
()
tools/misc/print_config.py:7
↓ 1 callersFunctionparse_args
()
tools/dataset_converters/pascal_voc.py:182
↓ 1 callersFunctionparse_args
()
tools/dataset_converters/cityscapes.py:113
↓ 1 callersFunctionparse_args
()
tools/deployment/onnx2tensorrt.py:118
↓ 1 callersFunctionparse_args
()
tools/deployment/test.py:12
← previousnext →701–800 of 2,117, ranked by callers