MCPcopy Create free account

hub / github.com/FenHua/DetDak / functions

Functions1,414 in github.com/FenHua/DetDak

Methodloss
Compute losses of the head. Args: cls_scores (list[Tensor]): Box scores for each scale level Has shape (N, num_an
mmdetection/mmdet/models/dense_heads/pisa_ssd_head.py:13
Methodloss
Compute losses of the head. Args: cls_scores (list[Tensor]): Box scores for each scale level Has shape (N, num_an
mmdetection/mmdet/models/dense_heads/anchor_head.py:430
Methodloss
Compute loss of the head. Args: cls_scores (list[Tensor]): Box scores for each scale level, each is a 4D-tensor,
mmdetection/mmdet/models/dense_heads/anchor_free_head.py:231
Methodloss
(self, cls_scores, bbox_preds, gt_bbox_list, gt_label_list
mmdetection/mmdet/models/dense_heads/fovea_head.py:127
Methodloss
Compute losses of the head. Args: cls_scores (list[Tensor]): Box scores for each scale level Has shape (N, num_an
mmdetection/mmdet/models/dense_heads/free_anchor_retina_head.py:51
Methodloss
(self, cls_scores, bbox_preds, shape_preds, loc_preds,
mmdetection/mmdet/models/dense_heads/ga_rpn_head.py:40
Methodloss
Compute losses of the head. Args: cls_scores (list[Tensor]): Box scores for each scale level Has shape (N, num_an
mmdetection/mmdet/models/dense_heads/atss_head.py:227
Methodloss
Compute losses of the head. Args: cls_scores (list[Tensor]): Cls and quality scores for each scale level has shap
mmdetection/mmdet/models/dense_heads/gfl_head.py:306
Methodloss
Compute losses of the head. Args: cls_scores (list[Tensor]): Box scores for each scale level Has shape (N, num_an
mmdetection/mmdet/models/dense_heads/rpn_head.py:46
Methodloss
Compute loss of the head. Args: cls_scores (list[Tensor]): Box scores for each scale level, each is a 4D-tensor,
mmdetection/mmdet/models/dense_heads/fcos_head.py:156
Methodloss
Compute losses of the head. Args: cls_scores (list[Tensor]): Box scores for each scale level Has shape (N, num_an
mmdetection/mmdet/models/dense_heads/pisa_retinanet_head.py:21
Methodloss
Compute losses of the head. Args: tl_heats (list[Tensor]): Top-left corner heatmaps for each level with shape (N,
mmdetection/mmdet/models/dense_heads/corner_head.py:486
Methodloss
Calculate loss for MaskPointHead. Args: point_pred (Tensor): Point predication result, shape (num_rois, num_class
mmdetection/mmdet/models/roi_heads/mask_heads/mask_point_head.py:164
Methodloss
(self, mask_pred, mask_targets, labels)
mmdetection/mmdet/models/roi_heads/mask_heads/fcn_mask_head.py:138
Methodloss
(self, mask_pred, labels)
mmdetection/mmdet/models/roi_heads/mask_heads/fused_semantic_head.py:103
Methodloss
(self, cls_score, bbox_pred, rois, labels, la
mmdetection/mmdet/models/roi_heads/bbox_heads/bbox_head.py:141
Methodloss_single
(self, cls_score, pts_pred_init, pts_pred_refine, labels, label_weights, bbox_gt_init, bbo
mmdetection/mmdet/models/dense_heads/reppoints_head.py:528
Methodloss_single
Compute loss of a single image. Args: cls_score (Tensor): Box scores for eachimage Has shape (num_total_anchors,
mmdetection/mmdet/models/dense_heads/ssd_head.py:128
Methodloss_single
Compute loss of a single scale level. Args: cls_score (Tensor): Box scores for each scale level Has shape (N, num
mmdetection/mmdet/models/dense_heads/anchor_head.py:382
Methodloss_single
Compute loss of a single scale level. Args: cls_score (Tensor): Box scores for each scale level Has shape (N, num
mmdetection/mmdet/models/dense_heads/atss_head.py:151
Methodloss_single
Compute loss of a single scale level. Args: anchors (Tensor): Box reference for each scale level with shape (N, n
mmdetection/mmdet/models/dense_heads/gfl_head.py:217
Methodloss_single
Compute losses for single level. Args: tl_hmp (Tensor): Top-left corner heatmap for current level with shape (N,
mmdetection/mmdet/models/dense_heads/corner_head.py:548
Functionmake_cuda_ext
(name, module, sources, sources_cuda=[])
mmdetection/setup.py:89
Methodmake_res_layer
Pack all blocks in a stage into a ``ResLayer``
mmdetection/mmdet/models/backbones/resnext.py:126
Methodmake_res_layer
(self, **kwargs)
mmdetection/mmdet/models/backbones/res2net.py:310
Methodmake_res_layer
(self, **kwargs)
mmdetection/mmdet/models/backbones/detectors_resnext.py:117
Functionmask_cross_entropy
Calculate the CrossEntropy loss for masks. Args: pred (torch.Tensor): The prediction with shape (N, C), C is the number of cl
mmdetection/mmdet/models/losses/cross_entropy_loss.py:94
Functionmask_target_single
Compute mask target for each positive proposal in the image. Args: pos_proposals (Tensor): Positive proposals. pos_assigned_gt_in
mmdetection/mmdet/core/mask/mask_target.py:31
Functionmerge_aug_scores
Merge augmented bbox scores.
mmdetection/mmdet/core/post_processing/merge_augs.py:79
Functionnew_forward
(*args, **kwargs)
mmdetection/mmdet/core/fp16/hooks.py:151
Functionnew_func
(*args, **kwargs)
mmdetection/mmdet/core/fp16/decorators.py:44
Functionnms
(dets, thresh)
efficientdet/model.py:10
Methodnum_base_anchors
list[int]: total number of base anchors in a feature grid
mmdetection/mmdet/core/anchor/anchor_generator.py:113
Methodnum_inputs
int: Number of input feature maps.
mmdetection/mmdet/models/roi_heads/roi_extractors/base_roi_extractor.py:25
Methodnum_levels
int: number of feature levels that the generator will be applied
mmdetection/mmdet/core/anchor/anchor_generator.py:118
Methodnum_preds
int: the number of predictions in this assignment
mmdetection/mmdet/core/bbox/assigners/assign_result.py:51
Methodpad
Pad masks to the given size of (h, w). Args: out_shape (tuple[int]): Target (h, w) of padded mask. pad_val (int): The
mmdetection/mmdet/core/mask/structures.py:53
Functionparse_xml
(args)
mmdetection/tools/convert_datasets/pascal_voc.py:13
Functionplot_boxes
(img, boxes, savename=None, class_names=None)
util_copy/utils.py:454
Functionplot_boxes_cv2
(img, boxes, savename=None, class_names=None, color=None)
util_copy/utils.py:410
Functionplot_curve
(log_dicts, args)
mmdetection/tools/analyze_logs.py:33
Functionplot_iou_recall
Plot IoU-Recalls curve. Args: recalls(ndarray or list): shape (k,) iou_thrs(ndarray or list): same shape as `recalls`
mmdetection/mmdet/core/evaluation/recall.py:167
Functionplot_num_recall
Plot Proposal_num-Recalls curve. Args: recalls(ndarray or list): shape (k,) proposal_nums(ndarray or list): same shape as `recall
mmdetection/mmdet/core/evaluation/recall.py:142
Functionpostprocess
Postprocess for the output of YOLO model perform box transformation, specify the class for each detection, and perform class-wise non-max
util_copy/utils_coco.py:56
Functionpreprocess
(*image_path, max_size=512, mean=(0.406, 0.456, 0.485), std=(0.225, 0.224, 0.229))
util_copy/utils.py:50
Functionpreprocess
Image preprocess for yolo input Pad the shorter side of the image and resize to (imgsize, imgsize) Args: img (numpy.ndarray): inp
util_copy/utils_coco.py:232
Methodprint_network
(self)
tool/darknet2pytorch.py:190
Functionpy_sigmoid_focal_loss
PyTorch version of `Focal Loss <https://arxiv.org/abs/1708.02002>`_. Args: pred (torch.Tensor): The prediction with shape (N, C), C is th
mmdetection/mmdet/models/losses/focal_loss.py:10
Methodrandom
Args: rng (None | int | numpy.random.RandomState): seed or state. kwargs (keyword arguments): - num_p
mmdetection/mmdet/core/bbox/samplers/sampling_result.py:93
Functionrandom_distort
perform random distortion in the HSV color space. Args: img (numpy.ndarray): input image whose shape is :math:`(H, W, C)`.
util_copy/utils_coco.py:304
Functionread_truths
(lab_path)
util_copy/utils.py:495
Methodrescale
Rescale masks as large as possible while keeping the aspect ratio. For details can refer to `mmcv.imrescale`. Args: scale
mmdetection/mmdet/core/mask/structures.py:14
Methodresize
Resize masks to the given out_shape. Args: out_shape: Target (h, w) of resized mask. interpolation (str): See :func:`
mmdetection/mmdet/core/mask/structures.py:28
Methodreweight_loss_single
Reweight loss values at each level. Reassign loss values at each level by masking those where the pre-calculated loss is too large. T
mmdetection/mmdet/models/dense_heads/fsaf_head.py:367
Methodrfp_forward
Forward function for RFP.
mmdetection/mmdet/models/backbones/detectors_resnet.py:288
Functionroi2bbox
Convert rois to bounding box format. Args: rois (torch.Tensor): RoIs with the shape (n, 5) where the first column indicates b
mmdetection/mmdet/core/bbox/transforms.py:76
Methodsample
Directly returns the positive and negative indices of samples. Args: assign_result (:obj:`AssignResult`): Assigned results
mmdetection/mmdet/core/bbox/samplers/pseudo_sampler.py:23
Functionsave_conv
(fp, conv_model)
tool/cfg.py:198
Functionsave_conv_bn
(fp, conv_model, bn_model)
tool/cfg.py:223
Functionsave_fc
(fp, fc_model)
tool/cfg.py:248
Methodset_epoch
(self, epoch)
mmdetection/mmdet/datasets/samplers/group_sampler.py:139
Methodset_swish
Sets swish function as memory efficient (for training) or standard (for export)
efficientnet/model.py:172
Methodsetup_class
(cls)
mmdetection/tests/test_data/test_loading.py:13
Methodshow_result
Draw `result` over `img`. Args: img (str or Tensor): The image to be displayed. result (Tensor or tuple): The results
mmdetection/mmdet/models/detectors/base.py:261
Methodshow_result
Show prediction results of the detector.
mmdetection/mmdet/models/detectors/cascade_rcnn.py:27
Methodsimple_test
Test without augmentation.
mmdetection/mmdet/models/roi_heads/grid_roi_head.py:127
Methodsimple_test
Test without augmentation.
mmdetection/mmdet/models/roi_heads/standard_roi_head.py:243
Methodsimple_test
Test without augmentation.
mmdetection/mmdet/models/roi_heads/base_roi_head.py:90
Methodsimple_test
Test without augmentation.
mmdetection/mmdet/models/roi_heads/htc_roi_head.py:338
Methodsimple_test
Test without augmentation.
mmdetection/mmdet/models/roi_heads/cascade_roi_head.py:294
Methodsimple_test
Test without augmentation.
mmdetection/mmdet/models/detectors/two_stage.py:187
Methodsimple_test
Test function without test time augmentation. Args: imgs (list[torch.Tensor]): List of multiple images img_metas (lis
mmdetection/mmdet/models/detectors/single_stage.py:96
Methodsimple_test_mask
Obtain mask prediction without augmentation.
mmdetection/mmdet/models/roi_heads/point_rend_roi_head.py:134
Methodsimple_test_mask
Obtain mask prediction without augmentation.
mmdetection/mmdet/models/roi_heads/mask_scoring_roi_head.py:58
Functionsplit_combined_polys
Split the combined 1-D polys into masks. A mask is represented as a list of polys, and a poly is represented as a 1-D array. In dataset, all
mmdetection/mmdet/core/mask/utils.py:6
Functiontest_accuracy
()
mmdetection/tests/test_models/test_losses.py:34
Functiontest_albu_transform
()
mmdetection/tests/test_data/test_transform.py:286
Functiontest_anchor_generator_with_tuples
()
mmdetection/tests/test_anchor.py:113
Functiontest_anchor_head_loss
Tests anchor head loss when truth is empty and non-empty.
mmdetection/tests/test_models/test_heads.py:70
Functiontest_approx_iou_assigner
()
mmdetection/tests/test_assigner.py:196
Functiontest_approx_iou_assigner_with_empty_boxes
Test corner case where an network might predict no boxes.
mmdetection/tests/test_assigner.py:244
Functiontest_approx_iou_assigner_with_empty_boxes_and_gt
Test corner case where an network might predict no boxes and no gt.
mmdetection/tests/test_assigner.py:263
Functiontest_approx_iou_assigner_with_empty_gt
Test corner case where an image might have no true detections.
mmdetection/tests/test_assigner.py:221
Functiontest_aug_test_size
()
mmdetection/tests/test_data/test_models_aug_test.py:43
Functiontest_auto_fp16
()
mmdetection/tests/test_fp16.py:52
Functiontest_bbox_head_loss
Tests bbox head loss when truth is empty and non-empty.
mmdetection/tests/test_models/test_heads.py:298
Functiontest_bitmap_mask_area
()
mmdetection/tests/test_masks.py:239
Functiontest_bitmap_mask_crop
()
mmdetection/tests/test_masks.py:170
Functiontest_bitmap_mask_crop_and_resize
()
mmdetection/tests/test_masks.py:196
Functiontest_bitmap_mask_expand
()
mmdetection/tests/test_masks.py:219
Functiontest_bitmap_mask_flip
()
mmdetection/tests/test_masks.py:121
Functiontest_bitmap_mask_index
()
mmdetection/tests/test_masks.py:287
Functiontest_bitmap_mask_init
()
mmdetection/tests/test_masks.py:42
Functiontest_bitmap_mask_iter
()
mmdetection/tests/test_masks.py:294
Functiontest_bitmap_mask_pad
()
mmdetection/tests/test_masks.py:151
Functiontest_bitmap_mask_rescale
()
mmdetection/tests/test_masks.py:77
Functiontest_bitmap_mask_resize
()
mmdetection/tests/test_masks.py:98
Functiontest_bitmap_mask_to_ndarray
()
mmdetection/tests/test_masks.py:253
Functiontest_bitmap_mask_to_tensor
()
mmdetection/tests/test_masks.py:270
Functiontest_cascade_rcnn_aug_test
()
mmdetection/tests/test_data/test_models_aug_test.py:68
← previousnext →1,201–1,300 of 1,414, ranked by callers