-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🚀 feat : Release evaluation code and weights for Pascal Context dataset.
# |<---- Using a Maximum Of 50 Characters ---->| # Explain why this change is being made # |<---- Try To Limit Each Line to a Maximum Of 72 Characters ---->| # Provide links or keys to any relevant tickets, articles or other resources # Example: Github issue #23 # --- COMMIT END --- # Type can be # 🔬 exp (new experiment) # 🚀 feat (new feature) # 🧐 fix (bug fix) # 🏗️ refactor (refactoring production code) # 🍻 style (formatting, missing semi colons, etc; no code change) # 📝 docs (changes to documentation) # ✅ test (adding or refactoring tests; no production code change) # 💚 chore (updating grunt tasks etc; no production code change) # --------------------
- Loading branch information
Showing
8 changed files
with
130 additions
and
91 deletions.
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
60 changes: 0 additions & 60 deletions
60
eval/configs/_base_/datasets/mmseg/pascal_context_59_512x512.py
This file was deleted.
Oops, something went wrong.
22 changes: 22 additions & 0 deletions
22
eval/configs/baseline/deeplabv3plus/deeplabv3plus_m-v2-d8_480x480_80k_pascal_context_59.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,22 @@ | ||
_base_ = [ | ||
'../../_base_/models/deeplabv3plus_r50-d8.py', | ||
'../../_base_/datasets/mmseg/pascal_context_59.py', | ||
'../../_base_/mmseg_runtime.py', | ||
'../../_base_/schedules/mmseg/schedule_80k.py', | ||
] | ||
|
||
model = dict( | ||
pretrained='mmcls://mobilenet_v2', | ||
backbone=dict( | ||
_delete_=True, | ||
type='MobileNetV2', | ||
widen_factor=1., | ||
strides=(1, 2, 2, 1, 1, 1, 1), | ||
dilations=(1, 1, 1, 2, 2, 4, 4), | ||
out_indices=(1, 2, 4, 6)), | ||
decode_head=dict(in_channels=320, c1_in_channels=24,num_classes=59, channels=512), | ||
auxiliary_head=dict(in_channels=96, num_classes=59,channels=256) | ||
) | ||
|
||
optimizer = dict(type='SGD', lr=0.004, momentum=0.9, weight_decay=1e-4) | ||
optimizer_config = dict() |
21 changes: 21 additions & 0 deletions
21
eval/configs/baseline/hrnet/fcn_hr18s_480x480_80k_pascal_context_59.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,21 @@ | ||
_base_ = [ | ||
'../../_base_/models/fcn_hr18.py', | ||
'../../_base_/datasets/mmseg/pascal_context_59.py', | ||
'../../_base_/mmseg_runtime.py', | ||
'../../_base_/schedules/mmseg/schedule_80k.py', | ||
] | ||
|
||
model = dict( | ||
pretrained='open-mmlab://msra/hrnetv2_w18_small', | ||
decode_head=dict(num_classes=59), | ||
backbone=dict( | ||
extra=dict( | ||
stage1=dict(num_blocks=(2,)), | ||
stage2=dict(num_blocks=(2, 2)), | ||
stage3=dict(num_modules=3, num_blocks=(2, 2, 2)), | ||
stage4=dict(num_modules=2, num_blocks=(2, 2, 2, 2)))), | ||
test_cfg=dict(mode='slide', crop_size=(512, 512), stride=(320, 320)) | ||
) | ||
|
||
optimizer = dict(type='SGD', lr=0.004, momentum=0.9, weight_decay=1e-4) | ||
optimizer_config = dict() |
19 changes: 19 additions & 0 deletions
19
eval/configs/baseline/isanet/isanet_r101-d8_512x512_80k_context.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,19 @@ | ||
_base_ = [ | ||
'../../_base_/models/isanet_r50-d8.py', | ||
'../../_base_/datasets/mmseg/pascal_context_59_512x512.py', | ||
'../../_base_/mmseg_runtime.py', | ||
'../../_base_/schedules/mmseg/schedule_80k.py', | ||
] | ||
|
||
model = dict( | ||
pretrained='open-mmlab://resnet101_v1c', | ||
backbone=dict(depth=101), | ||
decode_head=dict( | ||
num_classes=59, | ||
), | ||
auxiliary_head=dict( | ||
num_classes=59, | ||
) | ||
) | ||
|
||
optimizer = dict(type='SGD', lr=0.004, momentum=0.9, weight_decay=0.0001) |
14 changes: 14 additions & 0 deletions
14
eval/configs/baseline/isanet/isanet_r18-d8_480x480_80k_context.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,14 @@ | ||
_base_ = [ | ||
'../../_base_/models/isanet_r50-d8.py', | ||
'../../_base_/datasets/mmseg/pascal_context_59.py', | ||
'../../_base_/mmseg_runtime.py', | ||
'../../_base_/schedules/mmseg/schedule_40k.py', | ||
] | ||
|
||
model = dict( | ||
pretrained='open-mmlab://resnet18_v1c', | ||
backbone=dict(depth=18), | ||
decode_head=dict(in_channels=512, isa_channels=256, channels=128, num_classes=59), | ||
auxiliary_head=dict(in_channels=256, channels=64, num_classes=59)) | ||
|
||
optimizer = dict(type='SGD', lr=0.004, momentum=0.9, weight_decay=0.0001) |
19 changes: 19 additions & 0 deletions
19
eval/configs/baseline/pspnet/pspnet_r18-d8_480x480_80k_pascal_context_59.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,19 @@ | ||
_base_ = [ | ||
'../../_base_/models/pspnet_r50-d8.py', | ||
'../../_base_/datasets/mmseg/pascal_context_59.py', | ||
'../../_base_/mmseg_runtime.py', | ||
'../../_base_/schedules/mmseg/schedule_80k.py', | ||
] | ||
model = dict( | ||
pretrained='open-mmlab://resnet18_v1c', | ||
backbone=dict(depth=18), | ||
decode_head=dict( | ||
num_classes=59, | ||
in_channels=512, | ||
channels=128, | ||
), | ||
auxiliary_head=dict(num_classes=59,in_channels=256, channels=64), | ||
# change the test time crop size here | ||
test_cfg=dict(mode='slide', crop_size=(480, 480), stride=(320, 320))) | ||
|
||
optimizer = dict(type='SGD', lr=0.004, momentum=0.9, weight_decay=0.0001) |
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