Skip to content

Commit

Permalink
Upgrade URL
Browse files Browse the repository at this point in the history
  • Loading branch information
jbwang1997 committed Mar 11, 2022
1 parent 077ae5d commit 88f7474
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions configs/roi_trans/roi_trans_swin_tiny_fpn_1x_dota_le90.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
_base_ = ['./roi_trans_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 88f7474

Please sign in to comment.