MCPcopy Index your code

hub / github.com/YXB-NKU/Strip-R-CNN / functions

Functions746 in github.com/YXB-NKU/Strip-R-CNN

Methodforward_dummy
Used for computing network flops. See `mmdetection/tools/analysis_tools/get_flops.py`
mmrotate/models/detectors/two_stage.py:72
Methodforward_dummy
Used for computing network flops. See `mmedetection/tools/get_flops.py`
mmrotate/models/detectors/r3det.py:59
Methodforward_dummy
Used for computing network flops. See `mmdetection/tools/analysis_tools/get_flops.py`
mmrotate/models/detectors/single_stage.py:46
Methodforward_dummy
Used for computing network flops. See `mmedetection/tools/get_flops.py`
mmrotate/models/detectors/s2anet.py:60
Methodforward_single
Forward feature of a single scale level. Args: x (torch.Tensor): Features of a single scale level. Returns:
mmrotate/models/dense_heads/rotated_retina_head.py:97
Methodforward_single
Forward feature of a single scale level. Args: x (torch.Tensor): Features of a single scale level. Returns:
mmrotate/models/dense_heads/odm_refine_head.py:101
Methodforward_single
Forward feature of a single scale level. Args: x (torch.Tensor): Features of a single scale level. Returns:
mmrotate/models/dense_heads/kfiou_odm_refine_head.py:109
Methodforward_single
Forward features of a single scale level. Args: x (Tensor): FPN feature maps of the specified stride. scale (:obj: `m
mmrotate/models/dense_heads/rotated_fcos_head.py:148
Methodforward_single
Forward feature map of a single FPN level.
mmrotate/models/dense_heads/sam_reppoints_head.py:218
Methodforward_single
Forward feature map of a single FPN level.
mmrotate/models/dense_heads/rotated_reppoints_head.py:220
Methodforward_single
Forward feature of a single scale level. Args: x (torch.Tensor): Features of a single scale level. Returns:
mmrotate/models/dense_heads/csl_rotated_retina_head.py:74
Methodforward_single
Forward feature of a single scale level. Args: x (torch.Tensor): Features of a single scale level. Returns:
mmrotate/models/dense_heads/rotated_anchor_head.py:113
Methodforward_single
Forward feature map of a single scale level.
mmrotate/models/dense_heads/rotated_rpn_head.py:43
Methodforward_single
Forward feature map of a single FPN level. Args: x (torch.tensor): single-level feature map sizes. Returns: c
mmrotate/models/dense_heads/oriented_reppoints_head.py:247
Methodforward_train
Args: x (list[Tensor]): list of multi-level img features. img_metas (list[dict]): list of image info dict where each
mmrotate/models/roi_heads/rotate_standard_roi_head.py:92
Methodforward_train
Args: x (list[Tensor]): list of multi-level img features. img_metas (list[dict]): list of image info dict where each
mmrotate/models/roi_heads/oriented_standard_roi_head.py:31
Methodforward_train
Args: x (list[Tensor]): list of multi-level img features. img_metas (list[dict]): list of image info dict where each
mmrotate/models/roi_heads/roi_trans_roi_head.py:169
Methodforward_train
Args: img (Tensor): of shape (N, C, H, W) encoding input images. Typically these should be mean centered and std
mmrotate/models/detectors/two_stage.py:90
Methodforward_train
Forward function.
mmrotate/models/detectors/r3det.py:75
Methodforward_train
Args: img (Tensor): Input images of shape (N, C, H, W). Typically these should be mean centered and std scaled.
mmrotate/models/detectors/single_stage.py:55
Methodforward_train
Forward function of S2ANet.
mmrotate/models/detectors/s2anet.py:74
Methodfreeze_patch_emb
(self)
mmrotate/models/backbones/stripnet.py:177
Functiongaussian2bbox
Convert Gaussian distribution to polygons by SVD. Args: gmm (dict[str, torch.Tensor]): Dict of Gaussian distribution. Returns:
mmrotate/core/bbox/transforms.py:883
Methodget_adaptive_points_feature
Get the points features from the locations of predicted points. Args: features (torch.tensor): base feature with shape (B,C,W,H)
mmrotate/models/dense_heads/oriented_reppoints_head.py:369
Methodget_anchors
Get anchors according to feature map sizes. Args: featmap_sizes (list[tuple]): Multi-level feature map sizes. img_met
mmrotate/models/dense_heads/rotated_retina_refine_head.py:105
Methodget_anchors
Get anchors according to feature map sizes. Args: featmap_sizes (list[tuple]): Multi-level feature map sizes. img_met
mmrotate/models/dense_heads/kfiou_odm_refine_head.py:134
Methodget_anchors
Get anchors according to feature map sizes. Args: featmap_sizes (list[tuple]): Multi-level feature map sizes. img_met
mmrotate/models/dense_heads/kfiou_rotate_retina_refine_head.py:106
Methodget_bboxes
Transform network output for a batch into labeled boxes. Args: cls_scores (list[Tensor]): Box scores for each scale level
mmrotate/models/dense_heads/rotated_retina_refine_head.py:155
Methodget_bboxes
Transform network output for a batch into labeled boxes. Args: cls_scores (list[Tensor]): Box scores for each scale level
mmrotate/models/dense_heads/kfiou_odm_refine_head.py:185
Methodget_bboxes
Transform network output for a batch into bbox predictions. Args: cls_scores (list[Tensor]): Box scores for each scale level
mmrotate/models/dense_heads/rotated_fcos_head.py:484
Methodget_bboxes
Transform network outputs of a batch into bbox results. Args: cls_scores (list[Tensor]): Classification scores for all
mmrotate/models/dense_heads/sam_reppoints_head.py:680
Methodget_bboxes
Transform network outputs of a batch into bbox results. Args: cls_scores (list[Tensor]): Classification scores for all
mmrotate/models/dense_heads/rotated_reppoints_head.py:1012
Methodget_bboxes
Transform network output for a batch into bbox predictions. Args: cls_scores (list[Tensor]): Box scores for each scale level
mmrotate/models/dense_heads/csl_rotated_retina_head.py:491
Methodget_bboxes
Transform network output for a batch into bbox predictions. Args: cls_scores (list[Tensor]): Box scores for each scale level
mmrotate/models/dense_heads/rotated_rpn_head.py:374
Methodget_bboxes
Transform network output for a batch into labeled boxes. Args: cls_scores (list[Tensor]): Box scores for each scale level
mmrotate/models/dense_heads/kfiou_rotate_retina_refine_head.py:156
Methodget_bboxes
Transform network outputs of a batch into bbox results. Args: cls_scores (list[Tensor]): Classification scores for all
mmrotate/models/dense_heads/oriented_reppoints_head.py:1028
Methodget_bboxes
Transform network output for a batch into bbox predictions. Args: rois (torch.Tensor): Boxes to be transformed. Has shape
mmrotate/models/roi_heads/bbox_heads/rotated_bbox_head.py:373
Functionget_best_begin_point_single
Get the best begin point of the single polygon. Args: coordinate (List): [x1, y1, x2, y2, x3, y3, x4, y4, score] Returns: re
mmrotate/core/bbox/transforms.py:801
Methodget_classifier
(self)
mmrotate/models/backbones/stripnet.py:184
Methodget_pos_loss
Calculate loss of all potential positive samples obtained from first match process. Args: cls_score (Tensor): Box scores
mmrotate/models/dense_heads/rotated_reppoints_head.py:802
Methodget_targets
Compute regression and classification targets for anchors in multiple images. Args: anchor_list (list[list[Tensor]]): Mul
mmrotate/models/dense_heads/rotated_atss_head.py:134
Methodget_targets
Calculate the ground truth for all samples in a batch according to the sampling_results. Almost the same as the implementation in bbo
mmrotate/models/roi_heads/bbox_heads/rotated_bbox_head.py:207
Functionget_version
()
docs/zh_cn/conf.py:28
Functionget_version
()
docs/en/conf.py:28
Functiongwd_loss
Gaussian Wasserstein distance loss. Args: pred (torch.Tensor): Predicted bboxes. target (torch.Tensor): Corresponding gt bboxes.
mmrotate/models/losses/gaussian_dist_loss_v1.py:38
Functiongwd_loss
Gaussian Wasserstein distance loss. Derivation and simplification: Given any positive-definite symmetrical 2*2 matrix Z: :math
mmrotate/models/losses/gaussian_dist_loss.py:92
Methodinference
Predict the results given input request. Args: data (list[ndarray]): The list of a ndarray which are ready to pro
tools/deployment/mmrotate_handler.py:60
Methodinit_loss_single
Single initial stage loss function.
mmrotate/models/dense_heads/oriented_reppoints_head.py:621
Methodinit_weights
(self)
mmrotate/models/backbones/stripnet.py:160
Methodinit_weights
(self)
mmrotate/models/backbones/pkinet.py:416
Methodinit_weights
Initialize weights of the head.
mmrotate/models/detectors/utils.py:36
Methodinit_weights
Initialize weights of feature refine module.
mmrotate/models/detectors/utils.py:179
Methodinitialize
Load the model.pt file and initialize the MMRotate model object. Args: context (context): JSON Object containing information
tools/deployment/mmrotate_handler.py:18
Methodis_rotate
Randomly decide whether to rotate.
mmrotate/datasets/pipelines/transforms.py:153
Functionjd_loss
Symmetrical Kullback-Leibler Divergence loss. Args: pred (torch.Tensor): Predicted bboxes. target (torch.Tensor): Corresponding g
mmrotate/models/losses/gaussian_dist_loss.py:206
Functionkld_loss
Kullback-Leibler Divergence loss. Args: pred (torch.Tensor): Predicted bboxes. target (torch.Tensor): Corresponding gt bboxes.
mmrotate/models/losses/gaussian_dist_loss_v1.py:116
Functionkld_symmax_loss
Symmetrical Max Kullback-Leibler Divergence loss. Args: pred (torch.Tensor): Predicted bboxes. target (torch.Tensor): Correspondi
mmrotate/models/losses/gaussian_dist_loss.py:243
Functionkld_symmin_loss
Symmetrical Min Kullback-Leibler Divergence loss. Args: pred (torch.Tensor): Predicted bboxes. target (torch.Tensor): Correspondi
mmrotate/models/losses/gaussian_dist_loss.py:278
Methodload_annotations
Load annotation from XML style ann_file. Args: ann_file (str): Path of Imageset file. Returns: list[dict]: A
mmrotate/datasets/dior.py:67
Methodload_annotations
Args: ann_folder: folder that contains DOTA v1 annotations txt files
mmrotate/datasets/fair.py:86
Methodload_annotations
Args: ann_folder: folder that contains DOTA v1 annotations txt files
mmrotate/datasets/dota.py:57
Methodload_annotations
Args: ann_folder: folder that contains DOTA v1 annotations txt files
mmrotate/datasets/dota_1_5.py:57
Methodload_annotations
Load annotation from XML style ann_file. Args: ann_file (str): Path of Imageset file. Returns: list[dict]: A
mmrotate/datasets/hrsc.py:81
Methodloss
Loss function of RotatedRetinaRefineHead.
mmrotate/models/dense_heads/rotated_retina_refine_head.py:135
Methodloss
Compute loss of the head. Args: cls_scores (list[Tensor]): Box scores for each scale level, each is a 4D-tensor, t
mmrotate/models/dense_heads/csl_rotated_fcos_head.py:59
Methodloss
Loss function of KFIoUODMRefineHead.
mmrotate/models/dense_heads/kfiou_odm_refine_head.py:164
Methodloss
Compute loss of the head. Args: cls_scores (list[Tensor]): Box scores for each scale level, each is a 4D-tensor, t
mmrotate/models/dense_heads/rotated_fcos_head.py:186
Methodloss
Loss function of SAM RepPoints head.
mmrotate/models/dense_heads/sam_reppoints_head.py:582
Methodloss
Loss function of CFA head.
mmrotate/models/dense_heads/rotated_reppoints_head.py:603
Methodloss
Compute losses of the head. Args: cls_scores (list[Tensor]): Box scores for each scale level Has shape (N, num_an
mmrotate/models/dense_heads/csl_rotated_retina_head.py:174
Methodloss
Compute losses of the head. Args: cls_scores (list[Tensor]): Box scores for each scale level Has shape (N, num_an
mmrotate/models/dense_heads/rotated_anchor_head.py:445
Methodloss
Compute losses of the head. Args: cls_scores (list[Tensor]): Box scores for each scale level Has shape (N, num_an
mmrotate/models/dense_heads/rotated_rpn_head.py:305
Methodloss
Loss function of KFIoURRetinaRefineHead.
mmrotate/models/dense_heads/kfiou_rotate_retina_refine_head.py:136
Methodloss
Loss function of OrientedRepPoints head.
mmrotate/models/dense_heads/oriented_reppoints_head.py:844
Methodloss
Loss function. Args: cls_score (torch.Tensor): Box scores, has shape (num_boxes, num_classes + 1). bb
mmrotate/models/roi_heads/bbox_heads/rotated_bbox_head.py:275
Methodloss
Loss function.
mmrotate/models/roi_heads/bbox_heads/convfc_rbbox_head.py:243
Methodloss_single
Single loss function.
mmrotate/models/dense_heads/sam_reppoints_head.py:533
Methodloss_single
Single loss function.
mmrotate/models/dense_heads/rotated_reppoints_head.py:546
Methodloss_single
Compute loss of a single scale level. Args: cls_score (torch.Tensor): Box scores for each scale level Has shape (
mmrotate/models/dense_heads/csl_rotated_retina_head.py:101
Methodloss_single
Compute loss of a single scale level. Args: cls_score (torch.Tensor): Box scores for each scale level Has shape (
mmrotate/models/dense_heads/rotated_anchor_head.py:393
Methodloss_single
Compute loss of a single scale level. Args: cls_score (torch.Tensor): Box scores for each scale level Has shape (
mmrotate/models/dense_heads/rotated_rpn_head.py:254
Methodloss_single
Compute loss of a single scale level. Args: cls_score (torch.Tensor): Box scores for each scale level Has shape (
mmrotate/models/dense_heads/oriented_rpn_head.py:136
Methodloss_single
Compute loss of a single scale level. Args: cls_score (torch.Tensor): Box scores for each scale level Has shape (
mmrotate/models/dense_heads/kfiou_rotate_retina_head.py:58
Methodno_weight_decay
(self)
mmrotate/models/backbones/stripnet.py:181
Methodnum_base_anchors
list[int]: total number of base anchors in a feature grid
mmrotate/core/anchor/anchor_generator.py:63
Functionplot_curve
Plot curve.
tools/analysis_tools/analyze_logs.py:39
Methodpointsets_quality_assessment
Assess the quality of each point set from the classification, localization, orientation, and point-wise correlation based on the assig
mmrotate/models/dense_heads/oriented_reppoints_head.py:432
Methodpostprocess
Convert the output from the inference and converts into a Torchserve supported response output. Args: data (list[Tensor])
tools/deployment/mmrotate_handler.py:73
Methodreassign
CFA reassign process. Args: pos_losses (Tensor): Losses of all positive samples in single image. labe
mmrotate/models/dense_heads/rotated_reppoints_head.py:850
Methodrefine_bboxes
This function will be used in S2ANet, whose num_anchors=1. Args: cls_scores (list[Tensor]): Box scores for each scale level
mmrotate/models/dense_heads/rotated_retina_head.py:186
Methodrefine_bboxes
Refine predicted bounding boxes at each position of the feature maps. This method will be used in R3Det in refinement stages. Args:
mmrotate/models/dense_heads/rotated_retina_refine_head.py:64
Methodrefine_bboxes
This function will be used in S2ANet, whose num_anchors=1.
mmrotate/models/dense_heads/csl_rotated_fcos_head.py:302
Methodrefine_bboxes
Refine predicted bounding boxes at each position of the feature maps. This method will be used in R3Det in refinement stages. Args:
mmrotate/models/dense_heads/kfiou_rotate_retina_refine_head.py:66
Methodrefine_bboxes
Refine bboxes during training. Args: rois (torch.Tensor): Shape (n*bs, 5), where n is image number per GPU, and b
mmrotate/models/roi_heads/bbox_heads/rotated_bbox_head.py:438
Methodreset_classifier
(self, num_classes, global_pool='')
mmrotate/models/backbones/stripnet.py:187
Methodshow_result
Draw `result` over `img`. Args: img (str or Tensor): The image to be displayed. result (Tensor or tuple): The results
mmrotate/models/detectors/base.py:19
Methodsimple_test
Test without augmentation. Args: x (list[Tensor]): list of multi-level img features. proposal_list (list[Tensors]): l
mmrotate/models/roi_heads/rotate_standard_roi_head.py:237
Methodsimple_test
Test without augmentation. Args: x (list[Tensor]): list of multi-level img features. proposal_list (list[Tensors]): l
mmrotate/models/roi_heads/roi_trans_roi_head.py:266
Methodsimple_test
Test without augmentation.
mmrotate/models/detectors/two_stage.py:173
Methodsimple_test
Test function without test time augmentation. Args: imgs (list[torch.Tensor]): List of multiple images img_metas (lis
mmrotate/models/detectors/r3det.py:112
← previousnext →601–700 of 746, ranked by callers