Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/YXB-NKU/Strip-R-CNN
/ functions
Functions
746 in github.com/YXB-NKU/Strip-R-CNN
⨍
Functions
746
◇
Types & classes
119
Method
forward_dummy
Used for computing network flops. See `mmdetection/tools/analysis_tools/get_flops.py`
mmrotate/models/detectors/two_stage.py:72
Method
forward_dummy
Used for computing network flops. See `mmedetection/tools/get_flops.py`
mmrotate/models/detectors/r3det.py:59
Method
forward_dummy
Used for computing network flops. See `mmdetection/tools/analysis_tools/get_flops.py`
mmrotate/models/detectors/single_stage.py:46
Method
forward_dummy
Used for computing network flops. See `mmedetection/tools/get_flops.py`
mmrotate/models/detectors/s2anet.py:60
Method
forward_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
Method
forward_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
Method
forward_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
Method
forward_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
Method
forward_single
Forward feature map of a single FPN level.
mmrotate/models/dense_heads/sam_reppoints_head.py:218
Method
forward_single
Forward feature map of a single FPN level.
mmrotate/models/dense_heads/rotated_reppoints_head.py:220
Method
forward_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
Method
forward_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
Method
forward_single
Forward feature map of a single scale level.
mmrotate/models/dense_heads/rotated_rpn_head.py:43
Method
forward_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
Method
forward_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
Method
forward_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
Method
forward_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
Method
forward_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
Method
forward_train
Forward function.
mmrotate/models/detectors/r3det.py:75
Method
forward_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
Method
forward_train
Forward function of S2ANet.
mmrotate/models/detectors/s2anet.py:74
Method
freeze_patch_emb
(self)
mmrotate/models/backbones/stripnet.py:177
Function
gaussian2bbox
Convert Gaussian distribution to polygons by SVD. Args: gmm (dict[str, torch.Tensor]): Dict of Gaussian distribution. Returns:
mmrotate/core/bbox/transforms.py:883
Method
get_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
Method
get_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
Method
get_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
Method
get_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
Method
get_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
Method
get_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
Method
get_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
Method
get_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
Method
get_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
Method
get_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
Method
get_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
Method
get_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
Method
get_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
Method
get_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
Function
get_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
Method
get_classifier
(self)
mmrotate/models/backbones/stripnet.py:184
Method
get_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
Method
get_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
Method
get_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
Function
get_version
()
docs/zh_cn/conf.py:28
Function
get_version
()
docs/en/conf.py:28
Function
gwd_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
Function
gwd_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
Method
inference
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
Method
init_loss_single
Single initial stage loss function.
mmrotate/models/dense_heads/oriented_reppoints_head.py:621
Method
init_weights
(self)
mmrotate/models/backbones/stripnet.py:160
Method
init_weights
(self)
mmrotate/models/backbones/pkinet.py:416
Method
init_weights
Initialize weights of the head.
mmrotate/models/detectors/utils.py:36
Method
init_weights
Initialize weights of feature refine module.
mmrotate/models/detectors/utils.py:179
Method
initialize
Load the model.pt file and initialize the MMRotate model object. Args: context (context): JSON Object containing information
tools/deployment/mmrotate_handler.py:18
Method
is_rotate
Randomly decide whether to rotate.
mmrotate/datasets/pipelines/transforms.py:153
Function
jd_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
Function
kld_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
Function
kld_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
Function
kld_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
Method
load_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
Method
load_annotations
Args: ann_folder: folder that contains DOTA v1 annotations txt files
mmrotate/datasets/fair.py:86
Method
load_annotations
Args: ann_folder: folder that contains DOTA v1 annotations txt files
mmrotate/datasets/dota.py:57
Method
load_annotations
Args: ann_folder: folder that contains DOTA v1 annotations txt files
mmrotate/datasets/dota_1_5.py:57
Method
load_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
Method
loss
Loss function of RotatedRetinaRefineHead.
mmrotate/models/dense_heads/rotated_retina_refine_head.py:135
Method
loss
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
Method
loss
Loss function of KFIoUODMRefineHead.
mmrotate/models/dense_heads/kfiou_odm_refine_head.py:164
Method
loss
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
Method
loss
Loss function of SAM RepPoints head.
mmrotate/models/dense_heads/sam_reppoints_head.py:582
Method
loss
Loss function of CFA head.
mmrotate/models/dense_heads/rotated_reppoints_head.py:603
Method
loss
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
Method
loss
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
Method
loss
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
Method
loss
Loss function of KFIoURRetinaRefineHead.
mmrotate/models/dense_heads/kfiou_rotate_retina_refine_head.py:136
Method
loss
Loss function of OrientedRepPoints head.
mmrotate/models/dense_heads/oriented_reppoints_head.py:844
Method
loss
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
Method
loss
Loss function.
mmrotate/models/roi_heads/bbox_heads/convfc_rbbox_head.py:243
Method
loss_single
Single loss function.
mmrotate/models/dense_heads/sam_reppoints_head.py:533
Method
loss_single
Single loss function.
mmrotate/models/dense_heads/rotated_reppoints_head.py:546
Method
loss_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
Method
loss_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
Method
loss_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
Method
loss_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
Method
loss_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
Method
no_weight_decay
(self)
mmrotate/models/backbones/stripnet.py:181
Method
num_base_anchors
list[int]: total number of base anchors in a feature grid
mmrotate/core/anchor/anchor_generator.py:63
Function
plot_curve
Plot curve.
tools/analysis_tools/analyze_logs.py:39
Method
pointsets_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
Method
postprocess
Convert the output from the inference and converts into a Torchserve supported response output. Args: data (list[Tensor])
tools/deployment/mmrotate_handler.py:73
Method
reassign
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
Method
refine_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
Method
refine_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
Method
refine_bboxes
This function will be used in S2ANet, whose num_anchors=1.
mmrotate/models/dense_heads/csl_rotated_fcos_head.py:302
Method
refine_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
Method
refine_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
Method
reset_classifier
(self, num_classes, global_pool='')
mmrotate/models/backbones/stripnet.py:187
Method
show_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
Method
simple_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
Method
simple_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
Method
simple_test
Test without augmentation.
mmrotate/models/detectors/two_stage.py:173
Method
simple_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
← previous
next →
601–700 of 746, ranked by callers