MCPcopy Create free account

hub / github.com/FenHua/DetDak / functions

Functions1,414 in github.com/FenHua/DetDak

↓ 1 callersFunctionconvert
Convert keys in detectron pretrained ResNet models to pytorch style.
mmdetection/tools/detectron2pytorch.py:34
↓ 1 callersFunctionconvert
Convert keys in pycls pretrained RegNet models to mmdet style.
mmdetection/tools/regnet2mmdet.py:54
↓ 1 callersFunctionconvert2cpu_long
(gpu_matrix)
util_copy/utils.py:237
↓ 1 callersFunctionconvert_head
(model_key, model_weight, state_dict, converted_names)
mmdetection/tools/regnet2mmdet.py:15
↓ 1 callersFunctionconvert_reslayer
(model_key, model_weight, state_dict, converted_names)
mmdetection/tools/regnet2mmdet.py:22
↓ 1 callersFunctionconvert_stem
(model_key, model_weight, state_dict, converted_names)
mmdetection/tools/regnet2mmdet.py:7
↓ 1 callersMethodcopy_grads_to_fp32
Copy gradients from fp16 model to fp32 weight copy.
mmdetection/mmdet/core/fp16/hooks.py:51
↓ 1 callersMethodcopy_params_to_fp16
Copy updated params from fp32 weight copy to fp16 model.
mmdetection/mmdet/core/fp16/hooks.py:59
↓ 1 callersMethodcreate_network
(self, blocks)
tool/darknet2pytorch.py:193
↓ 1 callersFunctioncvt_annotations
(image_infos, out_json_name)
mmdetection/tools/convert_datasets/cityscapes.py:84
↓ 1 callersMethoddecode
Decodes a list of string notations to specify blocks inside the network. :param string_list: a list of strings, each string is a not
efficientnet/utils.py:204
↓ 1 callersMethoddecode_heatmap
Transform outputs for a single batch item into raw bbox predictions. Args: tl_heat (Tensor): Top-left corner heatmap for current
mmdetection/mmdet/models/dense_heads/corner_head.py:835
↓ 1 callersFunctiondelta2bbox
Apply deltas to shift/scale base boxes. Typically the rois are anchor or proposed bounding boxes and the deltas are network outputs used to s
mmdetection/mmdet/core/bbox/coder/delta_xywh_bbox_coder.py:119
↓ 1 callersFunctiondetect
(img)
mmdetection/tests/async_benchmark.py:65
↓ 1 callersFunctiondiou_loss
r"""`Implementation of Distance-IoU Loss: Faster and Better Learning for Bounding Box Regression, https://arxiv.org/abs/1911.08287`_. Code is
mmdetection/mmdet/models/losses/iou_loss.py:118
↓ 1 callersFunctiondistribution_focal_loss
r"""Distribution Focal Loss (DFL) is from `Generalized Focal Loss: Learning Qualified and Distributed Bounding Boxes for Dense Object Detection
mmdetection/mmdet/models/losses/gfocal_loss.py:53
↓ 1 callersFunctiondo_detect
(model, img, conf_thresh, nms_thresh, use_cuda=1)
util_copy/utils.py:516
↓ 1 callersFunctiondrop_connect
Drop connect.
efficientnet/utils.py:85
↓ 1 callersFunctionefficientnet
Creates a efficientnet model.
efficientnet/utils.py:231
↓ 1 callersMethodevaluate
Evaluation in COCO protocol. Args: results (list[list | tuple]): Testing results of the dataset. metric (str | list[s
mmdetection/mmdet/datasets/coco.py:364
↓ 1 callersMethodexpand
TODO: Add expand for polygon
mmdetection/mmdet/core/mask/structures.py:461
↓ 1 callersFunctionexport_onnx_model
Trace and export a model to onnx format. Modified from https://github.com/facebookresearch/detectron2/ Args: model (nn.Module):
mmdetection/tools/pytorch2onnx.py:15
↓ 1 callersMethodextract_feat
Extract features from images.
mmdetection/mmdet/models/detectors/base.py:50
↓ 1 callersMethodextract_features
Returns output of the final convolution layer
efficientnet/model.py:179
↓ 1 callersMethodformat_results
Format the results to txt (standard format for Cityscapes evaluation). Args: results (list): Testing results of the datas
mmdetection/mmdet/datasets/cityscapes.py:160
↓ 1 callersMethodforward
(self, feats)
mmdetection/mmdet/models/dense_heads/guided_anchor_head.py:242
↓ 1 callersMethodforward_test
Args: imgs (List[Tensor]): the outer list indicates test-time augmentations and inner Tensor should have a shape
mmdetection/mmdet/models/detectors/base.py:123
↓ 1 callersMethodforward_train
Args: img (list[Tensor]): List of tensors of shape (1, C, H, W). Typically these should be mean centered and std
mmdetection/mmdet/models/detectors/base.py:68
↓ 1 callersMethodfrom_name
(cls, model_name, override_params=None)
efficientnet/model.py:210
↓ 1 callersMethodfrom_pretrained
(cls, model_name, load_weights=True, advprop=False, num_classes=1000, in_channels=3)
efficientnet/model.py:216
↓ 1 callersFunctionfuse_conv_bn
During inference, the functionary of batch norm layers is turned off but only the mean and var alone channels are used, which exposes the chance t
mmdetection/tools/fuse_conv_bn.py:10
↓ 1 callersMethodga_loc_targets
Compute location targets for guided anchoring. Each feature map is divided into positive, negative and ignore regions. - positive reg
mmdetection/mmdet/models/dense_heads/guided_anchor_head.py:380
↓ 1 callersMethodga_shape_targets
Compute guided anchoring targets. Args: approx_list (list[list]): Multi level approxs of each image. inside_flag_list
mmdetection/mmdet/models/dense_heads/guided_anchor_head.py:545
↓ 1 callersFunctiongaussian2D
Generate 2D gaussian kernel. Args: radius (int): Radius of gaussian kernel. sigma (int): Sigma of gaussian function. Default: 1.
mmdetection/mmdet/models/utils/gaussian_target.py:6
↓ 1 callersFunctiongaussian_focal_loss
`Focal Loss <https://arxiv.org/abs/1708.02002>`_ for targets in gaussian distribution. Args: pred (torch.Tensor): The prediction.
mmdetection/mmdet/models/losses/gaussian_focal_loss.py:8
↓ 1 callersFunctiongaussian_radius
r"""Generate 2D gaussian radius. This function is modified from the `official github repo <https://github.com/princeton-vl/CornerNet-Lite/blo
mmdetection/mmdet/models/utils/gaussian_target.py:66
↓ 1 callersFunctiongen_attack
(model, img, conf_thresh, norm_ord, max_iter, epsilon, mask)
attack_utils/attackloss_yolo.py:63
↓ 1 callersMethodgen_base_anchors
Generate base anchors. Returns: list(torch.Tensor): Base anchors of a feature grid in multiple \ feature levels.
mmdetection/mmdet/core/anchor/anchor_generator.py:432
↓ 1 callersFunctiongen_packages_items
()
mmdetection/setup.py:174
↓ 1 callersMethodgenerate_regnet
Generates per block width from RegNet parameters. Args: initial_width ([int]): Initial width of the backbone width_sl
mmdetection/mmdet/models/backbones/regnet.py:221
↓ 1 callersMethodget_bboxes
Transform network output for a batch into bbox predictions.
mmdetection/mmdet/models/dense_heads/base_dense_head.py:18
↓ 1 callersMethodget_classes
Get class names of current dataset. Args: classes (Sequence[str] | str | None): If classes is None, use default C
mmdetection/mmdet/datasets/custom.py:231
↓ 1 callersFunctionget_cls_results
Get det results and gt information of a certain class. Args: det_results (list[list]): Same as `eval_map()`. annotations (list[di
mmdetection/mmdet/core/evaluation/mean_ap.py:240
↓ 1 callersFunctionget_coco_style_results
(filename, task='bbox', metric=None,
mmdetection/tools/robustness_eval.py:34
↓ 1 callersFunctionget_distortions_from_results
(eval_output)
mmdetection/tools/robustness_eval.py:190
↓ 1 callersFunctionget_git_hash
()
mmdetection/setup.py:21
↓ 1 callersMethodget_gt_priorities
Get gt priorities according to their areas. Smaller gt has higher priority. Args: gt_bboxes (Tensor): Ground truth boxes
mmdetection/mmdet/core/bbox/assigners/center_region_assigner.py:107
↓ 1 callersFunctionget_hash
()
mmdetection/setup.py:47
↓ 1 callersMethodget_mask_scores
Get the mask scores. mask_score = bbox_score * mask_iou
mmdetection/mmdet/models/roi_heads/mask_heads/maskiou_head.py:178
↓ 1 callersFunctionget_model_params
Get the block args and global params for a given model
efficientnet/utils.py:260
↓ 1 callersMethodget_num_level_anchors_inside
(self, num_level_anchors, inside_flags)
mmdetection/mmdet/models/dense_heads/atss_head.py:634
↓ 1 callersMethodget_num_level_anchors_inside
(self, num_level_anchors, inside_flags)
mmdetection/mmdet/models/dense_heads/gfl_head.py:626
↓ 1 callersFunctionget_region_boxes
(output, conf_thresh, num_classes, anchors, num_anchors, only_objectness=1, validation=False)
util_copy/utils.py:241
↓ 1 callersFunctionget_region_boxes1
(output, conf_thresh, num_classes, anchors, num_anchors, only_objectness=1, validation=False)
util_copy/utils.py:327
↓ 1 callersMethodget_roi_rel_points_test
Get ``num_points`` most uncertain points during test. Args: mask_pred (Tensor): A tensor of shape (num_rois, num_classes,
mmdetection/mmdet/models/roi_heads/mask_heads/mask_point_head.py:267
↓ 1 callersMethodget_roi_rel_points_train
Get ``num_points`` most uncertain points with random points during train. Sample points in [0, 1] x [0, 1] coordinate space based on
mmdetection/mmdet/models/roi_heads/mask_heads/mask_point_head.py:212
↓ 1 callersMethodget_sampled_approxs
Get sampled approxs and inside flags according to feature map sizes. Args: featmap_sizes (list[tuple]): Multi-level feature map s
mmdetection/mmdet/models/dense_heads/guided_anchor_head.py:245
↓ 1 callersMethodget_stages_from_blocks
Gets widths/stage_blocks of network at each stage. Args: widths (list[int]): Width in each stage. Returns: t
mmdetection/mmdet/models/backbones/regnet.py:291
↓ 1 callersMethodget_subset_by_classes
(self)
mmdetection/mmdet/datasets/custom.py:256
↓ 1 callersMethodget_targets
Compute regression and classification targets for anchors in multiple images. Args: anchor_list (list[list[Tensor]]): Mul
mmdetection/mmdet/models/dense_heads/anchor_head.py:280
↓ 1 callersMethodget_targets
(self, gt_bbox_list, gt_label_list, featmap_sizes, points)
mmdetection/mmdet/models/dense_heads/fovea_head.py:178
↓ 1 callersMethodget_targets
Get targets for ATSS head. This method is almost the same as `AnchorHead.get_targets()`. Besides returning the targets as the parent
mmdetection/mmdet/models/dense_heads/atss_head.py:466
↓ 1 callersMethodget_targets
Compute regression, classification and centerss targets for points in multiple images. Args: points (list[Tensor]): Point
mmdetection/mmdet/models/dense_heads/fcos_head.py:398
↓ 1 callersMethodget_targets
Generate corner targets. Including corner heatmap, corner offset. Optional: corner embedding, corner guiding shift, centripetal shif
mmdetection/mmdet/models/dense_heads/corner_head.py:298
↓ 1 callersMethodget_targets
Compute target of mask IoU. Mask IoU target is the IoU of the predicted mask (inside a bbox) and the gt mask of corresponding gt mask
mmdetection/mmdet/models/roi_heads/mask_heads/maskiou_head.py:102
↓ 1 callersFunctionget_version
()
mmdetection/setup.py:83
↓ 1 callersFunctionget_voc_style_results
(filename, prints='mPC', aggregate='benchmark')
mmdetection/tools/robustness_eval.py:111
↓ 1 callersFunctiongiou_loss
r"""`Generalized Intersection over Union: A Metric and A Loss for Bounding Box Regression <https://arxiv.org/abs/1902.09630>`_. Args:
mmdetection/mmdet/models/losses/iou_loss.py:78
↓ 1 callersMethodinit
(self)
mmdetection/tests/test_async.py:45
↓ 1 callersMethodinit_assigner_sampler
Initialize assigner and sampler.
mmdetection/mmdet/models/roi_heads/base_roi_head.py:69
↓ 1 callersMethodinit_bbox_head
Initialize ``bbox_head``
mmdetection/mmdet/models/roi_heads/base_roi_head.py:59
↓ 1 callersMethodinit_mask_head
Initialize ``mask_head``
mmdetection/mmdet/models/roi_heads/base_roi_head.py:64
↓ 1 callersMethodinit_point_head
Initialize ``point_head``
mmdetection/mmdet/models/roi_heads/point_rend_roi_head.py:22
↓ 1 callersMethodinit_weights
(self)
mmdetection/mmdet/models/necks/rfp.py:42
↓ 1 callersMethodinit_weights
Initialize the weights.
mmdetection/mmdet/models/backbones/detectors_resnet.py:61
↓ 1 callersMethodinit_weights
(self)
mmdetection/mmdet/models/dense_heads/guided_anchor_head.py:45
↓ 1 callersMethodinit_weights
Initialize the weights in detector. Args: pretrained (str, optional): Path to pre-trained weights. Defaults to No
mmdetection/mmdet/models/detectors/two_stage.py:60
↓ 1 callersMethodinit_weights
Initialize the weights in detector. Args: pretrained (str, optional): Path to pre-trained weights. Defaults to No
mmdetection/mmdet/models/detectors/rpn.py:30
↓ 1 callersMethodinit_weights
Initialize the weights in detector. Args: pretrained (str, optional): Path to pre-trained weights. Defaults to No
mmdetection/mmdet/models/detectors/single_stage.py:34
↓ 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
mmdetection/mmdet/models/losses/iou_loss.py:12
↓ 1 callersFunctionis_head
(key)
mmdetection/tools/upgrade_model_version.py:10
↓ 1 callersFunctionl1_loss
L1 loss. Args: pred (torch.Tensor): The prediction. target (torch.Tensor): The learning target of the prediction. Returns:
mmdetection/mmdet/models/losses/smooth_l1_loss.py:30
↓ 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
mmdetection/mmdet/core/bbox/coder/legacy_delta_xywh_bbox_coder.py:82
↓ 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
mmdetection/mmdet/core/bbox/coder/legacy_delta_xywh_bbox_coder.py:130
↓ 1 callersMethodload_annotations
(self, image_index)
efficientdet/dataset.py:57
↓ 1 callersMethodload_annotations
Load annotation from annotation file.
mmdetection/mmdet/datasets/custom.py:107
↓ 1 callersMethodload_annotations
Load annotation from COCO style annotation file. Args: ann_file (str): Path of annotation file. Returns: lis
mmdetection/mmdet/datasets/coco.py:36
↓ 1 callersMethodload_classes
(self)
efficientdet/dataset.py:22
↓ 1 callersFunctionload_conv
(buf, start, conv_model)
tool/cfg.py:188
↓ 1 callersFunctionload_conv_bn
(buf, start, conv_model, bn_model)
tool/cfg.py:207
↓ 1 callersMethodload_image
(self, image_index)
efficientdet/dataset.py:49
↓ 1 callersFunctionload_json_logs
(json_logs)
mmdetection/tools/analyze_logs.py:146
↓ 1 callersFunctionload_pretrained_weights
Loads pretrained weights, and downloads if loading for the first time.
efficientnet/utils.py:299
↓ 1 callersMethodload_proposals
Load proposal from proposal file.
mmdetection/mmdet/datasets/custom.py:111
↓ 1 callersMethodloss
Compute losses of the head.
mmdetection/mmdet/models/dense_heads/base_dense_head.py:13
↓ 1 callersMethodloss
(self, mask_iou_pred, mask_iou_targets)
mmdetection/mmdet/models/roi_heads/mask_heads/maskiou_head.py:92
↓ 1 callersMethodloss_loc_single
(self, loc_pred, loc_target, loc_weight, loc_avg_factor)
mmdetection/mmdet/models/dense_heads/guided_anchor_head.py:635
↓ 1 callersMethodloss_shape_single
(self, shape_pred, bbox_anchors, bbox_gts, anchor_weights, anchor_total_num)
mmdetection/mmdet/models/dense_heads/guided_anchor_head.py:611
↓ 1 callersFunctionmain
()
mmdetection/tools/train.py:61
↓ 1 callersFunctionmain
()
mmdetection/tools/test.py:70
← previousnext →401–500 of 1,414, ranked by callers