MCPcopy Index your code

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

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

↓ 1 callersFunctionparse_args
Parse arguments.
tools/data/dota/split/img_split.py:107
↓ 1 callersFunctionparse_args
Parse arguments.
tools/data/fair/img_split.py:109
↓ 1 callersFunctionparse_args
()
tools/misc/browse_dataset.py:14
↓ 1 callersFunctionparse_args
Parse arguments.
tools/misc/print_config.py:8
↓ 1 callersFunctionparse_args
()
tools/deployment/mmrotate2torchserve.py:70
↓ 1 callersFunctionparse_args
()
demo/huge_image_demo.py:21
↓ 1 callersFunctionparse_args
()
demo/image_demo.py:9
↓ 1 callersFunctionparse_line
Parse information from a line in a requirements text file.
setup.py:43
↓ 1 callersFunctionparse_version_info
Parse version information.
mmrotate/version.py:7
↓ 1 callersFunctionpick_res
(src_path, images_dir, keep_underline=False)
tools/data/fair/dota_to_fair.py:6
↓ 1 callersFunctionplot_confusion_matrix
Draw confusion matrix with matplotlib. Args: confusion_matrix (ndarray): The confusion matrix. labels (list[str]): List of class
tools/analysis_tools/confusion_matrix.py:149
↓ 1 callersMethodpoints2rotrect
Convert points to oriented bboxes.
mmrotate/models/dense_heads/sam_reppoints_head.py:200
↓ 1 callersMethodpoints2rotrect
Convert points to oriented bboxes.
mmrotate/models/dense_heads/rotated_reppoints_head.py:202
↓ 1 callersFunctionpoints_center_pts
Compute center point of Pointsets. Args: RPoints (torch.Tensor): the lists of Pointsets, shape (k, 18). y_first (bool, optional)
mmrotate/models/dense_heads/utils.py:6
↓ 1 callersFunctionpoly2hbb
Convert polygons to horizontal bboxes. Args: polys (np.array): Polygons with shape (N, 8) Returns: np.array: Horizontal bbox
tools/data/dota/split/img_split.py:186
↓ 1 callersFunctionpoly2hbb
Convert polygons to horizontal bboxes. Args: polys (np.array): Polygons with shape (N, 8) Returns: np.array: Horizontal bbox
tools/data/fair/img_split.py:188
↓ 1 callersFunctionpoly2obb_le135
Convert polygons to oriented bounding boxes. Args: polys (torch.Tensor): [x0,y0,x1,y1,x2,y2,x3,y3] Returns: obbs (torch.Tens
mmrotate/core/bbox/transforms.py:268
↓ 1 callersFunctionpoly2obb_le90
Convert polygons to oriented bounding boxes. Args: polys (torch.Tensor): [x0,y0,x1,y1,x2,y2,x3,y3] Returns: obbs (torch.Tens
mmrotate/core/bbox/transforms.py:301
↓ 1 callersFunctionpoly2obb_np_le135
Convert polygons to oriented bounding boxes. Args: polys (ndarray): [x0,y0,x1,y1,x2,y2,x3,y3] Returns: obbs (ndarray): [x_ct
mmrotate/core/bbox/transforms.py:360
↓ 1 callersFunctionpoly2obb_np_le90
Convert polygons to oriented bounding boxes. Args: polys (ndarray): [x0,y0,x1,y1,x2,y2,x3,y3] Returns: obbs (ndarray): [x_ct
mmrotate/core/bbox/transforms.py:393
↓ 1 callersFunctionpoly2obb_np_oc
Convert polygons to oriented bounding boxes. Args: polys (ndarray): [x0,y0,x1,y1,x2,y2,x3,y3] Returns: obbs (ndarray): [x_ct
mmrotate/core/bbox/transforms.py:334
↓ 1 callersFunctionpoly2obb_oc
Convert polygons to oriented bounding boxes. Args: polys (torch.Tensor): [x0,y0,x1,y1,x2,y2,x3,y3] Returns: obbs (torch.Tens
mmrotate/core/bbox/transforms.py:242
↓ 1 callersFunctionprint_map_summary
Print mAP and results of each class. A table will be printed to show the gts/dets/recall/AP of each class and the mAP. Args: mea
mmrotate/core/evaluation/eval_map.py:249
↓ 1 callersFunctionprocess_checkpoint
Only inference related parameters are retained. Args: in_file (str): Filename of input checkpoint. out_file (str): Filename of ou
tools/model_converters/publish_model.py:18
↓ 1 callersFunctionreadme
Load README.md.
setup.py:9
↓ 1 callersMethodrefine_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/gv_bbox_head.py:548
↓ 1 callersMethodregress_by_class
Regress the bbox for the predicted class. Used in Cascade R-CNN. Args: rois (torch.Tensor): shape (n, 4) or (n, 5) la
mmrotate/models/roi_heads/bbox_heads/rotated_bbox_head.py:482
↓ 1 callersFunctionrepeat_measure_inference_speed
Repeat to inference several times and take the average. Args: cfg (object): Test config object. checkpoint (str): Checkpoint file
tools/analysis_tools/benchmark.py:153
↓ 1 callersMethodreset_parameters
Reset the parameters of ORConv2d.
mmrotate/models/utils/orconv.py:59
↓ 1 callersFunctionretrieve_data_cfg
Retrieve the dataset config file. Args: config_path (str): Path of the config file. skip_type (list[str]): List of the useless pi
tools/misc/browse_dataset.py:48
↓ 1 callersMethodroi_rescale
Scale RoI coordinates by scale factor. Args: rois (torch.Tensor): RoI (Region of Interest), shape (n, 6) scale_factor
mmrotate/models/roi_heads/roi_extractors/rotate_single_level_roi_extractor.py:151
↓ 1 callersMethodrotate_arf
Build active rotating filter module.
mmrotate/models/utils/orconv.py:106
↓ 1 callersFunctionrotated_iou_loss
Rotated IoU loss. Computing the IoU loss between a set of predicted rbboxes and target rbboxes. The loss is calculated as negative log o
mmrotate/models/losses/rotated_iou_loss.py:17
↓ 1 callersFunctionsetup_logger
Setup logger. Args: log_path (str): Path of log. Returns: object: Logger.
tools/data/dota/split/img_split.py:399
↓ 1 callersFunctionsetup_logger
Setup logger. Args: log_path (str): Path of log. Returns: object: Logger.
tools/data/fair/img_split.py:401
↓ 1 callersMethodsimple_test_bboxes
Test only det bboxes without augmentation. Args: x (tuple[Tensor]): Feature maps of all scale level. img_metas (list[
mmrotate/models/roi_heads/rotate_standard_roi_head.py:269
↓ 1 callersFunctionslide_window
Slide windows in images and get window position. Args: width (int): The width of the image. height (int): The height of the image
mmrotate/core/patch/split.py:31
↓ 1 callersFunctionsmooth_focal_loss
Smooth Focal Loss proposed in Circular Smooth Label (CSL). Args: pred (torch.Tensor): The prediction. target (torch.Tensor): The
mmrotate/models/losses/smooth_focal_loss.py:9
↓ 1 callersFunctionsolve_xml
(src, tar)
tools/data/fair/fair_to_dota.py:8
↓ 1 callersFunctionspatial_border_loss
The loss is used to penalize the learning points out of the assigned ground truth boxes (polygon by default). Args: pts (torch.Tensor
mmrotate/models/losses/spatial_border_loss.py:32
↓ 1 callersFunctiontrain_detector
(model, dataset, cfg, distributed=False,
mmrotate/apis/train.py:15
↓ 1 callersFunctiontranslate
Map bboxes from window coordinate back to original coordinate. Args: bboxes (np.array): bboxes with window coordinate. x (float):
tools/data/dota/split/img_split.py:422
↓ 1 callersFunctiontranslate
Map bboxes from window coordinate back to original coordinate. Args: bboxes (np.array): bboxes with window coordinate. x (float):
tools/data/fair/img_split.py:424
↓ 1 callersFunctiontranslate_bboxes
Translate bboxes according to its shape. If the bbox shape is (n, 5), the bboxes are regarded as horizontal bboxes and in (x, y, x, y, score)
mmrotate/core/patch/merge_results.py:7
↓ 1 callersMethodupdate_pi
Updates pi to the provided value. Args: pi (torch.Tensor): (T, k, 1)
mmrotate/core/bbox/utils/gmm.py:345
↓ 1 callersFunctionweighted_spatial_border_loss
Weghted spatial border loss. Args: pts (torch.Tensor): point sets with shape (N, 9*2). gt_bboxes (torch.Tensor): gt_bboxes with p
mmrotate/models/losses/spatial_border_loss.py:75
Method__call__
Calculate IoU between 2D bboxes. Args: bboxes1 (torch.Tensor): bboxes have shape (m, 5) in <cx, cy, w, h, a> form
mmrotate/core/bbox/iou_calculators/rotate_iou2d_calculator.py:11
Method__call__
Call function of PolyRandomRotate.
mmrotate/datasets/pipelines/transforms.py:202
Method__call__
Call functions to add image meta information. Args: results (dict): Result dict with image in ``results['img']``. Return
mmrotate/datasets/pipelines/loading.py:17
Method__init__
(self, n_components, n_features=2, mu_init=None,
mmrotate/core/bbox/utils/gmm.py:21
Method__init__
(self, num, pos_fraction, neg_pos_ub=-1, a
mmrotate/core/bbox/samplers/rotate_random_sampler.py:22
Method__init__
(self, topk, angle_version='oc', iou_calculator=dict(type='
mmrotate/core/bbox/assigners/atss_obb_assigner.py:26
Method__init__
(self, scale=4, pos_num=3)
mmrotate/core/bbox/assigners/convex_assigner.py:24
Method__init__
(self, topk)
mmrotate/core/bbox/assigners/sas_assigner.py:86
Method__init__
(self, pos_iou_thr, neg_iou_thr, min_pos_iou=.0,
mmrotate/core/bbox/assigners/max_convex_iou_assigner.py:37
Method__init__
(self, topk, use_reassign=False)
mmrotate/core/bbox/assigners/atss_kld_assigner.py:27
Method__init__
(self, target_means=(0., 0., 0., 0., 0.), target_stds=(1., 1., 1., 1., 1.),
mmrotate/core/bbox/coder/delta_xywha_rbbox_coder.py:36
Method__init__
(self, target_means=(0., 0., 0., 0., 0.), target_stds=(1., 1., 1., 1., 1.),
mmrotate/core/bbox/coder/delta_xywha_hbbox_coder.py:37
Method__init__
(self, angle_version, omega=1, window='gaussian', radius=6)
mmrotate/core/bbox/coder/angle_coder.py:27
Method__init__
(self, angle_range='oc', **kwargs)
mmrotate/core/bbox/coder/gliding_vertex_coder.py:112
Method__init__
(self, clip_border=True, angle_version='oc')
mmrotate/core/bbox/coder/distance_angle_point_coder.py:21
Method__init__
(self, target_means=(0., 0., 0., 0., 0., 0.), target_stds=(1., 1., 1., 1., 1
mmrotate/core/bbox/coder/delta_midpointoffset_rbbox_coder.py:26
Method__init__
(self, strides)
mmrotate/core/anchor/anchor_generator.py:59
Method__init__
(self, ann_file, pipeline, img_subdir='JPEGImages/trainval'
mmrotate/datasets/dior.py:51
Method__init__
(self, ann_file, pipeline, version='oc', d
mmrotate/datasets/fair.py:71
Method__init__
(self, ann_file, pipeline, version='oc', d
mmrotate/datasets/dota.py:42
Method__init__
(self, ann_file, pipeline, version='oc', d
mmrotate/datasets/dota_1_5.py:42
Method__init__
(self, ann_file, pipeline, img_subdir='JPEGImages',
mmrotate/datasets/hrsc.py:57
Method__init__
(self, flip_ratio=None, direction='horizontal', version='oc')
mmrotate/datasets/pipelines/transforms.py:63
Method__init__
(self, rotate_ratio=0.5, mode='range', angles_range=180,
mmrotate/datasets/pipelines/transforms.py:127
Method__init__
(self, crop_size, crop_type='absolute', allow_negative_crop
mmrotate/datasets/pipelines/transforms.py:314
Method__init__
(self, img_scale=(640, 640), center_ratio_range=(0.5, 1.5),
mmrotate/datasets/pipelines/transforms.py:441
Method__init__
(self, in_channels, out_channels, num_outs,
mmrotate/models/necks/o_fpn.py:61
Method__init__
(self, in_channels, out_channels, kernel_size,
mmrotate/models/necks/re_fpn.py:41
Method__init__
(self, dim, k1, k2)
mmrotate/models/backbones/stripnet.py:35
Method__init__
(self, d_model,k1,k2)
mmrotate/models/backbones/stripnet.py:53
Method__init__
(self, dim, mlp_ratio=4., k1=1, k2=19, drop=0.,drop_path=0., act_layer=nn.GELU, norm_cfg=None)
mmrotate/models/backbones/stripnet.py:72
Method__init__
(self, img_size=224, patch_size=7, stride=4, in_chans=3, embed_dim=768, norm_cfg=None)
mmrotate/models/backbones/stripnet.py:100
Method__init__
(self, img_size=224, in_chans=3, embed_dims=[64, 128, 256, 512], mlp_ratios=[8, 8, 4, 4], k1s=
mmrotate/models/backbones/stripnet.py:119
Method__init__
(self, dim=768)
mmrotate/models/backbones/stripnet.py:213
Method__init__
(self, in_channels, out_channels, expansion=1,
mmrotate/models/backbones/re_resnet.py:41
Method__init__
(self, in_channels, out_channels, expansion=4,
mmrotate/models/backbones/re_resnet.py:162
Method__init__
(self, depth, in_channels=3, stem_channels=64,
mmrotate/models/backbones/re_resnet.py:454
Method__init__
(self)
mmrotate/models/backbones/pkinet.py:18
Method__init__
( self, in_channels: int, out_channels: Optional[int] = None,
mmrotate/models/backbones/pkinet.py:58
Method__init__
( self, in_channels: int, out_channels: int, expansion: float
mmrotate/models/backbones/pkinet.py:98
Method__init__
( self, in_channels: int, out_channels: Optional[int] = None,
mmrotate/models/backbones/pkinet.py:123
Method__init__
( self, in_channels: int, out_channels: Optional[int] = None,
mmrotate/models/backbones/pkinet.py:143
Method__init__
( self, in_channels: int, out_channels: Optional[int] = None,
mmrotate/models/backbones/pkinet.py:213
Method__init__
( self, in_channels: int, out_channels: int, num_blocks: int,
mmrotate/models/backbones/pkinet.py:277
Method__init__
( self, arch: str = 'S', out_indices: Sequence[int] = (2, 3, 4),
mmrotate/models/backbones/pkinet.py:365
Method__init__
Bottleneck block for ResNet. If style is "pytorch", the stride-two layer is the 3x3 conv layer, if it is "caffe", the stride-two laye
mmrotate/models/backbones/resnet.py:101
Method__init__
(self, num_classes, in_channels, stacked_convs=4,
mmrotate/models/dense_heads/rotated_retina_head.py:31
Method__init__
(self, num_classes, in_channels, stacked_convs=4,
mmrotate/models/dense_heads/rotated_retina_refine_head.py:27
Method__init__
(self, separate_angle=True, scale_angle=False, angle_coder=
mmrotate/models/dense_heads/csl_rotated_fcos_head.py:32
Method__init__
(self, num_classes, in_channels, stacked_convs=2,
mmrotate/models/dense_heads/odm_refine_head.py:30
Method__init__
(self, num_classes, in_channels, stacked_convs=2,
mmrotate/models/dense_heads/kfiou_odm_refine_head.py:38
Method__init__
(self, num_classes, in_channels, feat_channels=256,
mmrotate/models/dense_heads/rotated_anchor_free_head.py:37
Method__init__
(self, num_classes, in_channels, regress_ranges=((-1, 64),
mmrotate/models/dense_heads/rotated_fcos_head.py:62
Method__init__
(self, num_classes, in_channels, feat_channels,
mmrotate/models/dense_heads/sam_reppoints_head.py:52
← previousnext →301–400 of 746, ranked by callers