Skip to content

Commit

Permalink
fix : segformer checkpoint url (#1785)
Browse files Browse the repository at this point in the history
fix  : segformer checkpoint url
  • Loading branch information
AkideLiu authored Jul 18, 2022
1 parent 336435b commit 13d4c39
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion configs/segformer/segformer_mit-b5_512x512_160k_ade20k.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
_base_ = ['./segformer_mit-b0_512x512_160k_ade20k.py']

checkpoint = 'https://download.openmmlab.com/mmsegmentation/v0.5/pretrain/segformer/mit_b5_20220624-658746d9.pthh' # noqa
checkpoint = 'https://download.openmmlab.com/mmsegmentation/v0.5/pretrain/segformer/mit_b5_20220624-658746d9.pth' # noqa

# model settings
model = dict(
Expand Down
2 changes: 1 addition & 1 deletion configs/segformer/segformer_mit-b5_640x640_160k_ade20k.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
test=dict(pipeline=test_pipeline))

# model settings
checkpoint = 'https://download.openmmlab.com/mmsegmentation/v0.5/pretrain/segformer/mit_b5_20220624-658746d9.pthh' # noqa
checkpoint = 'https://download.openmmlab.com/mmsegmentation/v0.5/pretrain/segformer/mit_b5_20220624-658746d9.pth' # noqa
model = dict(
pretrained=checkpoint,
backbone=dict(
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
_base_ = ['./segformer_mit-b0_8x1_1024x1024_160k_cityscapes.py']

checkpoint = 'https://download.openmmlab.com/mmsegmentation/v0.5/pretrain/segformer/mit_b5_20220624-658746d9.pthh' # noqa
checkpoint = 'https://download.openmmlab.com/mmsegmentation/v0.5/pretrain/segformer/mit_b5_20220624-658746d9.pth' # noqa
model = dict(
backbone=dict(
init_cfg=dict(type='Pretrained', checkpoint=checkpoint),
Expand Down

0 comments on commit 13d4c39

Please sign in to comment.