Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,4 @@
window='gaussian',
radius=3),
loss_angle=dict(
type='mmdet.SmoothFocalLoss',
gamma=2.0,
alpha=0.25,
loss_weight=0.8)))
type='SmoothFocalLoss', gamma=2.0, alpha=0.25, loss_weight=0.8)))
2 changes: 1 addition & 1 deletion configs/rotated_atss/rotated_atss_r50_fpn_1x_dota_le90.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
std=[58.395, 57.12, 57.375],
bgr_to_rgb=True,
pad_size_divisor=32,
boxlist2tensor=False),
boxtype2tensor=False),
backbone=dict(
type='mmdet.ResNet',
depth=50,
Expand Down
2 changes: 2 additions & 0 deletions mmrotate/apis/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# Copyright (c) OpenMMLab. All rights reserved.
from patch import * # noqa: F401, F403

from .inference import inference_detector_by_patches

__all__ = ['inference_detector_by_patches']
2 changes: 1 addition & 1 deletion mmrotate/apis/inference.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from mmdet.datasets import replace_ImageToTensor
from mmdet.datasets.pipelines import Compose

from mmrotate.core import get_multiscale_patch, merge_results, slide_window
from mmrotate.apis import get_multiscale_patch, merge_results, slide_window


def inference_detector_by_patches(model,
Expand Down
File renamed without changes.
File renamed without changes.
7 changes: 0 additions & 7 deletions mmrotate/core/__init__.py

This file was deleted.

31 changes: 0 additions & 31 deletions mmrotate/core/anchor/utils.py

This file was deleted.

26 changes: 0 additions & 26 deletions mmrotate/core/bbox/__init__.py

This file was deleted.

10 changes: 0 additions & 10 deletions mmrotate/core/bbox/iou_calculators/__init__.py

This file was deleted.

4 changes: 0 additions & 4 deletions mmrotate/core/bbox/samplers/__init__.py

This file was deleted.

140 changes: 0 additions & 140 deletions mmrotate/core/bbox/samplers/rotate_random_sampler.py

This file was deleted.

Loading