Skip to content

Commit

Permalink
Add Copyright comment
Browse files Browse the repository at this point in the history
  • Loading branch information
nijkah committed Apr 30, 2024
1 parent 0b0e411 commit e07614d
Show file tree
Hide file tree
Showing 122 changed files with 482 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ repos:
- id: docformatter
args: ["--in-place", "--wrap-descriptions", "79"]
- repo: https://github.com/SIAnalytics/pre-commit-hooks
rev: v0.1.0 # Use the ref you want to point at
rev: v0.1.1 # Use the ref you want to point at
hooks:
- id: check-copyright
args: ["mmrotate"] # replace the dir_to_check with your expected directory to check
4 changes: 4 additions & 0 deletions mmrotate/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
# Copyright (c) SI Analytics. All rights reserved.
# Licensed under the CC BY-NC 4.0 License. See LICENSE file in the project root for full license information.
#
# Copyright (c) OpenMMLab. All rights reserved.
# Licensed under the Apache License, Version 2.0. See LICENSE file in the mmrotate repository for full license information.
import mmcv
import mmdet
import mmengine
Expand Down
4 changes: 4 additions & 0 deletions mmrotate/apis/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
# Copyright (c) SI Analytics. All rights reserved.
# Licensed under the CC BY-NC 4.0 License. See LICENSE file in the project root for full license information.
#
# Copyright (c) OpenMMLab. All rights reserved.
# Licensed under the Apache License, Version 2.0. See LICENSE file in the mmrotate repository for full license information.
from .inference import inference_detector_by_patches

__all__ = ['inference_detector_by_patches']
4 changes: 4 additions & 0 deletions mmrotate/apis/inference.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
# Copyright (c) SI Analytics. All rights reserved.
# Licensed under the CC BY-NC 4.0 License. See LICENSE file in the project root for full license information.
#
# Copyright (c) OpenMMLab. All rights reserved.
# Licensed under the Apache License, Version 2.0. See LICENSE file in the mmrotate repository for full license information.
import mmcv
import numpy as np
import torch
Expand Down
4 changes: 4 additions & 0 deletions mmrotate/datasets/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
# Copyright (c) SI Analytics. All rights reserved.
# Licensed under the CC BY-NC 4.0 License. See LICENSE file in the project root for full license information.
#
# Copyright (c) OpenMMLab. All rights reserved.
# Licensed under the Apache License, Version 2.0. See LICENSE file in the mmrotate repository for full license information.
from .dior import DIORDataset # noqa: F401, F403
from .dota import DOTAv2Dataset # noqa: F401, F403
from .dota import DOTADataset, DOTAv15Dataset
Expand Down
4 changes: 4 additions & 0 deletions mmrotate/datasets/dior.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
# Copyright (c) SI Analytics. All rights reserved.
# Licensed under the CC BY-NC 4.0 License. See LICENSE file in the project root for full license information.
#
# Copyright (c) OpenMMLab. All rights reserved.
# Licensed under the Apache License, Version 2.0. See LICENSE file in the mmrotate repository for full license information.
import mmcv
import numpy as np
import os.path as osp
Expand Down
4 changes: 4 additions & 0 deletions mmrotate/datasets/dota.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
# Copyright (c) SI Analytics. All rights reserved.
# Licensed under the CC BY-NC 4.0 License. See LICENSE file in the project root for full license information.
#
# Copyright (c) OpenMMLab. All rights reserved.
# Licensed under the Apache License, Version 2.0. See LICENSE file in the mmrotate repository for full license information.
import glob
import os.path as osp
from mmengine.dataset import BaseDataset
Expand Down
4 changes: 4 additions & 0 deletions mmrotate/datasets/hrsc.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
# Copyright (c) SI Analytics. All rights reserved.
# Licensed under the CC BY-NC 4.0 License. See LICENSE file in the project root for full license information.
#
# Copyright (c) OpenMMLab. All rights reserved.
# Licensed under the Apache License, Version 2.0. See LICENSE file in the mmrotate repository for full license information.
import mmcv
import numpy as np
import os.path as osp
Expand Down
4 changes: 4 additions & 0 deletions mmrotate/datasets/transforms/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
# Copyright (c) SI Analytics. All rights reserved.
# Licensed under the CC BY-NC 4.0 License. See LICENSE file in the project root for full license information.
#
# Copyright (c) OpenMMLab. All rights reserved.
# Licensed under the Apache License, Version 2.0. See LICENSE file in the mmrotate repository for full license information.
from .loading import LoadPatchFromNDArray
from .transforms import (ConvertBoxType, ConvertMask2BoxType,
RandomChoiceRotate, RandomRotate, Rotate)
Expand Down
4 changes: 4 additions & 0 deletions mmrotate/datasets/transforms/loading.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
# Copyright (c) SI Analytics. All rights reserved.
# Licensed under the CC BY-NC 4.0 License. See LICENSE file in the project root for full license information.
#
# Copyright (c) OpenMMLab. All rights reserved.
# Licensed under the Apache License, Version 2.0. See LICENSE file in the mmrotate repository for full license information.
import mmcv
from mmcv.transforms import BaseTransform
from typing import Sequence, Union
Expand Down
4 changes: 4 additions & 0 deletions mmrotate/datasets/transforms/transforms.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
# Copyright (c) SI Analytics. All rights reserved.
# Licensed under the CC BY-NC 4.0 License. See LICENSE file in the project root for full license information.
#
# Copyright (c) OpenMMLab. All rights reserved.
# Licensed under the Apache License, Version 2.0. See LICENSE file in the mmrotate repository for full license information.
import cv2
import mmcv
import numpy as np
Expand Down
4 changes: 4 additions & 0 deletions mmrotate/evaluation/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Copyright (c) SI Analytics. All rights reserved.
# Licensed under the CC BY-NC 4.0 License. See LICENSE file in the project root for full license information.
#
# Copyright (c) OpenMMLab. All rights reserved.
# Licensed under the Apache License, Version 2.0. See LICENSE file in the mmrotate repository for full license information.
from .functional import * # noqa: F401,F403
from .metrics import * # noqa: F401,F403
4 changes: 4 additions & 0 deletions mmrotate/evaluation/functional/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
# Copyright (c) SI Analytics. All rights reserved.
# Licensed under the CC BY-NC 4.0 License. See LICENSE file in the project root for full license information.
#
# Copyright (c) OpenMMLab. All rights reserved.
# Licensed under the Apache License, Version 2.0. See LICENSE file in the mmrotate repository for full license information.
from .mean_ap import eval_rbbox_map

__all__ = ['eval_rbbox_map']
4 changes: 4 additions & 0 deletions mmrotate/evaluation/functional/mean_ap.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
# Copyright (c) SI Analytics. All rights reserved.
# Licensed under the CC BY-NC 4.0 License. See LICENSE file in the project root for full license information.
#
# Copyright (c) OpenMMLab. All rights reserved.
# Licensed under the Apache License, Version 2.0. See LICENSE file in the mmrotate repository for full license information.
import numpy as np
import torch
from mmcv.ops import box_iou_quadri, box_iou_rotated
Expand Down
4 changes: 4 additions & 0 deletions mmrotate/evaluation/metrics/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
# Copyright (c) SI Analytics. All rights reserved.
# Licensed under the CC BY-NC 4.0 License. See LICENSE file in the project root for full license information.
#
# Copyright (c) OpenMMLab. All rights reserved.
# Licensed under the Apache License, Version 2.0. See LICENSE file in the mmrotate repository for full license information.
from .dota_metric import DOTAMetric
from .rotated_coco_metric import RotatedCocoMetric

Expand Down
4 changes: 4 additions & 0 deletions mmrotate/evaluation/metrics/dota_metric.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
# Copyright (c) SI Analytics. All rights reserved.
# Licensed under the CC BY-NC 4.0 License. See LICENSE file in the project root for full license information.
#
# Copyright (c) OpenMMLab. All rights reserved.
# Licensed under the Apache License, Version 2.0. See LICENSE file in the mmrotate repository for full license information.
import copy
import numpy as np
import os
Expand Down
4 changes: 4 additions & 0 deletions mmrotate/evaluation/metrics/rotated_coco_metric.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
# Copyright (c) SI Analytics. All rights reserved.
# Licensed under the CC BY-NC 4.0 License. See LICENSE file in the project root for full license information.
#
# Copyright (c) OpenMMLab. All rights reserved.
# Licensed under the Apache License, Version 2.0. See LICENSE file in the mmrotate repository for full license information.
import cv2
import datetime
import itertools
Expand Down
4 changes: 4 additions & 0 deletions mmrotate/models/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
# Copyright (c) SI Analytics. All rights reserved.
# Licensed under the CC BY-NC 4.0 License. See LICENSE file in the project root for full license information.
#
# Copyright (c) OpenMMLab. All rights reserved.
# Licensed under the Apache License, Version 2.0. See LICENSE file in the mmrotate repository for full license information.
from .backbones import * # noqa: F401, F403
from .dense_heads import * # noqa: F401, F403
from .detectors import * # noqa: F401, F403
Expand Down
4 changes: 4 additions & 0 deletions mmrotate/models/backbones/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
# Copyright (c) SI Analytics. All rights reserved.
# Licensed under the CC BY-NC 4.0 License. See LICENSE file in the project root for full license information.
#
# Copyright (c) OpenMMLab. All rights reserved.
# Licensed under the Apache License, Version 2.0. See LICENSE file in the mmrotate repository for full license information.
from .re_resnet import ReResNet

__all__ = ['ReResNet']
4 changes: 4 additions & 0 deletions mmrotate/models/backbones/re_resnet.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
# Copyright (c) SI Analytics. All rights reserved.
# Licensed under the CC BY-NC 4.0 License. See LICENSE file in the project root for full license information.
#
# Copyright (c) OpenMMLab. All rights reserved.
# Licensed under the Apache License, Version 2.0. See LICENSE file in the mmrotate repository for full license information.
# Modified from csuhan: https://github.com/csuhan/ReDet
import e2cnn.nn as enn
import torch.nn as nn
Expand Down
4 changes: 4 additions & 0 deletions mmrotate/models/dense_heads/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
# Copyright (c) SI Analytics. All rights reserved.
# Licensed under the CC BY-NC 4.0 License. See LICENSE file in the project root for full license information.
#
# Copyright (c) OpenMMLab. All rights reserved.
# Licensed under the Apache License, Version 2.0. See LICENSE file in the mmrotate repository for full license information.
from .angle_branch_retina_head import AngleBranchRetinaHead
from .cfa_head import CFAHead
from .h2rbox_head import H2RBoxHead
Expand Down
4 changes: 4 additions & 0 deletions mmrotate/models/dense_heads/angle_branch_retina_head.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
# Copyright (c) SI Analytics. All rights reserved.
# Licensed under the CC BY-NC 4.0 License. See LICENSE file in the project root for full license information.
#
# Copyright (c) OpenMMLab. All rights reserved.
# Licensed under the Apache License, Version 2.0. See LICENSE file in the mmrotate repository for full license information.
import copy
import torch
import torch.nn as nn
Expand Down
4 changes: 4 additions & 0 deletions mmrotate/models/dense_heads/cfa_head.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
# Copyright (c) SI Analytics. All rights reserved.
# Licensed under the CC BY-NC 4.0 License. See LICENSE file in the project root for full license information.
#
# Copyright (c) OpenMMLab. All rights reserved.
# Licensed under the Apache License, Version 2.0. See LICENSE file in the mmrotate repository for full license information.
import numpy as np
import torch
from mmdet.models.utils import multi_apply
Expand Down
4 changes: 4 additions & 0 deletions mmrotate/models/dense_heads/h2rbox_head.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
# Copyright (c) SI Analytics. All rights reserved.
# Licensed under the CC BY-NC 4.0 License. See LICENSE file in the project root for full license information.
#
# Copyright (c) OpenMMLab. All rights reserved.
# Licensed under the Apache License, Version 2.0. See LICENSE file in the mmrotate repository for full license information.
import copy
import math
import torch
Expand Down
4 changes: 4 additions & 0 deletions mmrotate/models/dense_heads/oriented_reppoints_head.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
# Copyright (c) SI Analytics. All rights reserved.
# Licensed under the CC BY-NC 4.0 License. See LICENSE file in the project root for full license information.
#
# Copyright (c) OpenMMLab. All rights reserved.
# Licensed under the Apache License, Version 2.0. See LICENSE file in the mmrotate repository for full license information.
import math
import numpy as np
import torch
Expand Down
4 changes: 4 additions & 0 deletions mmrotate/models/dense_heads/oriented_rpn_head.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
# Copyright (c) SI Analytics. All rights reserved.
# Licensed under the CC BY-NC 4.0 License. See LICENSE file in the project root for full license information.
#
# Copyright (c) OpenMMLab. All rights reserved.
# Licensed under the Apache License, Version 2.0. See LICENSE file in the mmrotate repository for full license information.
import torch
from mmcv.ops import batched_nms
from mmdet.models.dense_heads import RPNHead
Expand Down
4 changes: 4 additions & 0 deletions mmrotate/models/dense_heads/r3_head.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
# Copyright (c) SI Analytics. All rights reserved.
# Licensed under the CC BY-NC 4.0 License. See LICENSE file in the project root for full license information.
#
# Copyright (c) OpenMMLab. All rights reserved.
# Licensed under the Apache License, Version 2.0. See LICENSE file in the mmrotate repository for full license information.
import torch
from mmdet.models.utils import select_single_mlvl
from mmdet.utils import InstanceList, OptInstanceList
Expand Down
4 changes: 4 additions & 0 deletions mmrotate/models/dense_heads/rhino_align_head.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
# Copyright (c) SI Analytics. All rights reserved.
# Licensed under the CC BY-NC 4.0 License. See LICENSE file in the project root for full license information.
#
# Copyright (c) OpenMMLab. All rights reserved.
# Licensed under the Apache License, Version 2.0. See LICENSE file in the mmrotate repository for full license information.
import torch
from mmdet.models.utils import multi_apply
from mmdet.utils import InstanceList, OptInstanceList, reduce_mean
Expand Down
4 changes: 4 additions & 0 deletions mmrotate/models/dense_heads/rhino_head.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
# Copyright (c) SI Analytics. All rights reserved.
# Licensed under the CC BY-NC 4.0 License. See LICENSE file in the project root for full license information.
#
# Copyright (c) OpenMMLab. All rights reserved.
# Licensed under the Apache License, Version 2.0. See LICENSE file in the mmrotate repository for full license information.
import torch
from mmdet.models.dense_heads import DINOHead
from mmdet.models.layers import inverse_sigmoid
Expand Down
4 changes: 4 additions & 0 deletions mmrotate/models/dense_heads/rhino_ph_head.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
# Copyright (c) SI Analytics. All rights reserved.
# Licensed under the CC BY-NC 4.0 License. See LICENSE file in the project root for full license information.
#
# Copyright (c) OpenMMLab. All rights reserved.
# Licensed under the Apache License, Version 2.0. See LICENSE file in the mmrotate repository for full license information.
import torch
from mmdet.models.dense_heads import DeformableDETRHead
from mmdet.models.utils import multi_apply
Expand Down
4 changes: 4 additions & 0 deletions mmrotate/models/dense_heads/rhino_phc_head.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
# Copyright (c) SI Analytics. All rights reserved.
# Licensed under the CC BY-NC 4.0 License. See LICENSE file in the project root for full license information.
#
# Copyright (c) OpenMMLab. All rights reserved.
# Licensed under the Apache License, Version 2.0. See LICENSE file in the mmrotate repository for full license information.
import torch
from mmdet.models.utils import multi_apply
from mmdet.utils import InstanceList, reduce_mean
Expand Down
4 changes: 4 additions & 0 deletions mmrotate/models/dense_heads/rotated_atss_head.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
# Copyright (c) SI Analytics. All rights reserved.
# Licensed under the CC BY-NC 4.0 License. See LICENSE file in the project root for full license information.
#
# Copyright (c) OpenMMLab. All rights reserved.
# Licensed under the Apache License, Version 2.0. See LICENSE file in the mmrotate repository for full license information.
import torch
import torch.nn as nn
from mmcv.cnn import ConvModule, Scale
Expand Down
4 changes: 4 additions & 0 deletions mmrotate/models/dense_heads/rotated_conditional_detr_head.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
# Copyright (c) SI Analytics. All rights reserved.
# Licensed under the CC BY-NC 4.0 License. See LICENSE file in the project root for full license information.
#
# Copyright (c) OpenMMLab. All rights reserved.
# Licensed under the Apache License, Version 2.0. See LICENSE file in the mmrotate repository for full license information.
from mmdet.models.dense_heads import ConditionalDETRHead

from mmrotate.registry import MODELS
Expand Down
4 changes: 4 additions & 0 deletions mmrotate/models/dense_heads/rotated_dab_detr_head.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
# Copyright (c) SI Analytics. All rights reserved.
# Licensed under the CC BY-NC 4.0 License. See LICENSE file in the project root for full license information.
#
# Copyright (c) OpenMMLab. All rights reserved.
# Licensed under the Apache License, Version 2.0. See LICENSE file in the mmrotate repository for full license information.
from mmcv.cnn import Linear
from mmdet.models.dense_heads import DABDETRHead
from mmdet.models.layers import MLP
Expand Down
4 changes: 4 additions & 0 deletions mmrotate/models/dense_heads/rotated_deformable_detr_head.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
# Copyright (c) SI Analytics. All rights reserved.
# Licensed under the CC BY-NC 4.0 License. See LICENSE file in the project root for full license information.
#
# Copyright (c) OpenMMLab. All rights reserved.
# Licensed under the Apache License, Version 2.0. See LICENSE file in the mmrotate repository for full license information.
import copy
import torch
import torch.nn as nn
Expand Down
4 changes: 4 additions & 0 deletions mmrotate/models/dense_heads/rotated_detr_head.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
# Copyright (c) SI Analytics. All rights reserved.
# Licensed under the CC BY-NC 4.0 License. See LICENSE file in the project root for full license information.
#
# Copyright (c) OpenMMLab. All rights reserved.
# Licensed under the Apache License, Version 2.0. See LICENSE file in the mmrotate repository for full license information.
import math
import numpy as np
import torch
Expand Down
4 changes: 4 additions & 0 deletions mmrotate/models/dense_heads/rotated_fcos_head.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
# Copyright (c) SI Analytics. All rights reserved.
# Licensed under the CC BY-NC 4.0 License. See LICENSE file in the project root for full license information.
#
# Copyright (c) OpenMMLab. All rights reserved.
# Licensed under the Apache License, Version 2.0. See LICENSE file in the mmrotate repository for full license information.
import copy
import torch
import torch.nn as nn
Expand Down
4 changes: 4 additions & 0 deletions mmrotate/models/dense_heads/rotated_reppoints_head.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
# Copyright (c) SI Analytics. All rights reserved.
# Licensed under the CC BY-NC 4.0 License. See LICENSE file in the project root for full license information.
#
# Copyright (c) OpenMMLab. All rights reserved.
# Licensed under the Apache License, Version 2.0. See LICENSE file in the mmrotate repository for full license information.
import torch
from mmcv.ops import min_area_polygons
from mmdet.models.dense_heads.reppoints_head import RepPointsHead
Expand Down
4 changes: 4 additions & 0 deletions mmrotate/models/dense_heads/rotated_retina_head.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
# Copyright (c) SI Analytics. All rights reserved.
# Licensed under the CC BY-NC 4.0 License. See LICENSE file in the project root for full license information.
#
# Copyright (c) OpenMMLab. All rights reserved.
# Licensed under the Apache License, Version 2.0. See LICENSE file in the mmrotate repository for full license information.
from mmdet.models.dense_heads import RetinaHead
from mmdet.structures.bbox import get_box_tensor
from torch import Tensor
Expand Down
4 changes: 4 additions & 0 deletions mmrotate/models/dense_heads/rotated_rtmdet_head.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
# Copyright (c) SI Analytics. All rights reserved.
# Licensed under the CC BY-NC 4.0 License. See LICENSE file in the project root for full license information.
#
# Copyright (c) OpenMMLab. All rights reserved.
# Licensed under the Apache License, Version 2.0. See LICENSE file in the mmrotate repository for full license information.
import copy
import torch
from mmcv.cnn import ConvModule, Scale, is_norm
Expand Down
4 changes: 4 additions & 0 deletions mmrotate/models/dense_heads/s2a_head.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
# Copyright (c) SI Analytics. All rights reserved.
# Licensed under the CC BY-NC 4.0 License. See LICENSE file in the project root for full license information.
#
# Copyright (c) OpenMMLab. All rights reserved.
# Licensed under the Apache License, Version 2.0. See LICENSE file in the mmrotate repository for full license information.
import torch
import torch.nn as nn
from mmcv.cnn import ConvModule
Expand Down
4 changes: 4 additions & 0 deletions mmrotate/models/dense_heads/sam_reppoints_head.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
# Copyright (c) SI Analytics. All rights reserved.
# Licensed under the CC BY-NC 4.0 License. See LICENSE file in the project root for full license information.
#
# Copyright (c) OpenMMLab. All rights reserved.
# Licensed under the Apache License, Version 2.0. See LICENSE file in the mmrotate repository for full license information.
import torch
from mmdet.models.utils import images_to_levels, multi_apply, unmap
from mmdet.utils import InstanceList, OptInstanceList
Expand Down
4 changes: 4 additions & 0 deletions mmrotate/models/detectors/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
# Copyright (c) SI Analytics. All rights reserved.
# Licensed under the CC BY-NC 4.0 License. See LICENSE file in the project root for full license information.
#
# Copyright (c) OpenMMLab. All rights reserved.
# Licensed under the Apache License, Version 2.0. See LICENSE file in the mmrotate repository for full license information.
from .h2rbox import H2RBoxDetector
from .refine_single_stage import RefineSingleStageDetector
from .rhino import RHINO
Expand Down
4 changes: 4 additions & 0 deletions mmrotate/models/detectors/h2rbox.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
# Copyright (c) SI Analytics. All rights reserved.
# Licensed under the CC BY-NC 4.0 License. See LICENSE file in the project root for full license information.
#
# Copyright (c) OpenMMLab. All rights reserved.
# Licensed under the Apache License, Version 2.0. See LICENSE file in the mmrotate repository for full license information.
import math
import torch
from mmdet.models.detectors.single_stage import SingleStageDetector
Expand Down
Loading

0 comments on commit e07614d

Please sign in to comment.