-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Benchmark] Add BiSeNetV1 COCO-Stuff 164k benchmark (#1019)
* bisenetv1 on cocostuff164k * change config_names & delete redundant keys * pretrain should before lr. * remove redundancy in bisenetv1_r50-d32
- Loading branch information
1 parent
97f9670
commit e38eae3
Showing
8 changed files
with
189 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 6 additions & 0 deletions
6
configs/bisenetv1/bisenetv1_r101-d32_in1k-pre_lr5e-3_4x4_512x512_160k_coco-stuff164k.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
_base_ = './bisenetv1_r101-d32_lr5e-3_4x4_512x512_160k_coco-stuff164k.py' | ||
model = dict( | ||
backbone=dict( | ||
backbone_cfg=dict( | ||
init_cfg=dict( | ||
type='Pretrained', checkpoint='open-mmlab://resnet101_v1c')))) |
18 changes: 18 additions & 0 deletions
18
configs/bisenetv1/bisenetv1_r101-d32_lr5e-3_4x4_512x512_160k_coco-stuff164k.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
_base_ = [ | ||
'../_base_/models/bisenetv1_r18-d32.py', | ||
'../_base_/datasets/coco-stuff164k.py', '../_base_/default_runtime.py', | ||
'../_base_/schedules/schedule_160k.py' | ||
] | ||
model = dict( | ||
backbone=dict( | ||
context_channels=(512, 1024, 2048), | ||
spatial_channels=(256, 256, 256, 512), | ||
out_channels=1024, | ||
backbone_cfg=dict(type='ResNet', depth=101)), | ||
decode_head=dict(in_channels=1024, channels=1024, num_classes=171), | ||
auxiliary_head=[ | ||
dict(in_channels=512, channels=256, num_classes=171), | ||
dict(in_channels=512, channels=256, num_classes=171), | ||
]) | ||
lr_config = dict(warmup='linear', warmup_iters=1000) | ||
optimizer = dict(lr=0.005) |
6 changes: 6 additions & 0 deletions
6
configs/bisenetv1/bisenetv1_r18-d32_in1k-pre_lr5e-3_4x4_512x512_160k_coco-stuff164k.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
_base_ = './bisenetv1_r18-d32_lr5e-3_4x4_512x512_160k_coco-stuff164k.py' | ||
model = dict( | ||
backbone=dict( | ||
backbone_cfg=dict( | ||
init_cfg=dict( | ||
type='Pretrained', checkpoint='open-mmlab://resnet18_v1c'))), ) |
13 changes: 13 additions & 0 deletions
13
configs/bisenetv1/bisenetv1_r18-d32_lr5e-3_4x4_512x512_160k_coco-stuff164k.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
_base_ = [ | ||
'../_base_/models/bisenetv1_r18-d32.py', | ||
'../_base_/datasets/coco-stuff164k.py', '../_base_/default_runtime.py', | ||
'../_base_/schedules/schedule_160k.py' | ||
] | ||
model = dict( | ||
decode_head=dict(num_classes=171), | ||
auxiliary_head=[ | ||
dict(num_classes=171), | ||
dict(num_classes=171), | ||
]) | ||
lr_config = dict(warmup='linear', warmup_iters=1000) | ||
optimizer = dict(lr=0.005) |
7 changes: 7 additions & 0 deletions
7
configs/bisenetv1/bisenetv1_r50-d32_in1k-pre_lr5e-3_4x4_512x512_160k_coco-stuff164k.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
_base_ = './bisenetv1_r50-d32_lr5e-3_4x4_512x512_160k_coco-stuff164k.py' | ||
|
||
model = dict( | ||
backbone=dict( | ||
backbone_cfg=dict( | ||
init_cfg=dict( | ||
type='Pretrained', checkpoint='open-mmlab://resnet50_v1c')))) |
18 changes: 18 additions & 0 deletions
18
configs/bisenetv1/bisenetv1_r50-d32_lr5e-3_4x4_512x512_160k_coco-stuff164k.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
_base_ = [ | ||
'../_base_/models/bisenetv1_r18-d32.py', | ||
'../_base_/datasets/coco-stuff164k.py', '../_base_/default_runtime.py', | ||
'../_base_/schedules/schedule_160k.py' | ||
] | ||
model = dict( | ||
backbone=dict( | ||
context_channels=(512, 1024, 2048), | ||
spatial_channels=(256, 256, 256, 512), | ||
out_channels=1024, | ||
backbone_cfg=dict(type='ResNet', depth=50)), | ||
decode_head=dict(in_channels=1024, channels=1024, num_classes=171), | ||
auxiliary_head=[ | ||
dict(in_channels=512, channels=256, num_classes=171), | ||
dict(in_channels=512, channels=256, num_classes=171), | ||
]) | ||
lr_config = dict(warmup='linear', warmup_iters=1000) | ||
optimizer = dict(lr=0.005) |