Skip to content

Commit

Permalink
Update URL
Browse files Browse the repository at this point in the history
  • Loading branch information
jbwang1997 committed Mar 12, 2022
1 parent 88f7474 commit ecfe17b
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 12 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
_base_ = ['./r3det_kfiou_ln_r50_fpn_1x_dota_oc.py']

pretrained = 'https://github.com/SwinTransformer/storage/releases/download/v1.0.0/swin_tiny_patch4_window7_224.pth' # noqa

data_root = '../datasets/split_ms_dota1_0/'
angle_version = 'le90'
model = dict(
Expand All @@ -20,10 +22,7 @@
out_indices=(0, 1, 2, 3),
with_cp=False,
convert_weights=True,
init_cfg=dict(
type='Pretrained',
checkpoint='torch/hub/checkpoints/'
'swin_tiny_patch4_window7_224.pth')),
init_cfg=dict(type='Pretrained', checkpoint=pretrained)),
neck=dict(
_delete_=True,
type='FPN',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
_base_ = ['./roi_trans_kfiou_ln_r50_fpn_1x_dota_le90.py']

pretrained = 'https://github.com/SwinTransformer/storage/releases/download/v1.0.0/swin_tiny_patch4_window7_224.pth' # noqa

model = dict(
backbone=dict(
_delete_=True,
Expand All @@ -18,10 +20,7 @@
out_indices=(0, 1, 2, 3),
with_cp=False,
convert_weights=True,
init_cfg=dict(
type='Pretrained',
checkpoint='torch/hub/checkpoints/'
'swin_tiny_patch4_window7_224.pth')),
init_cfg=dict(type='Pretrained', checkpoint=pretrained)),
neck=dict(
_delete_=True,
type='FPN',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
_base_ = ['./oriented_rcnn_r50_fpn_1x_dota_le90.py']

pretrained = 'https://github.com/SwinTransformer/storage/releases/download/v1.0.0/swin_tiny_patch4_window7_224.pth' # noqa

model = dict(
backbone=dict(
_delete_=True,
Expand All @@ -18,10 +20,7 @@
out_indices=(0, 1, 2, 3),
with_cp=False,
convert_weights=True,
init_cfg=dict(
type='Pretrained',
checkpoint='torch/hub/checkpoints/'
'swin_tiny_patch4_window7_224.pth')),
init_cfg=dict(type='Pretrained', checkpoint=pretrained)),
neck=dict(
_delete_=True,
type='FPN',
Expand Down

0 comments on commit ecfe17b

Please sign in to comment.