forked from PaddlePaddle/PaddleSeg
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'release/v2.0.0-rc' into develop
- Loading branch information
Showing
43 changed files
with
1,953 additions
and
269 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
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
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
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_/pascal_voc12aug.yml' | ||
|
||
model: | ||
type: DANet | ||
backbone: | ||
type: ResNet50_vd | ||
output_stride: 8 | ||
pretrained: https://bj.bcebos.com/paddleseg/dygraph/resnet50_vd_ssld_v2.tar.gz | ||
num_classes: 19 | ||
backbone_indices: [2, 3] | ||
|
||
loss: | ||
types: | ||
- type: CrossEntropyLoss | ||
- type: CrossEntropyLoss | ||
- type: CrossEntropyLoss | ||
- type: CrossEntropyLoss | ||
coef: [1, 1, 1, 0.4] |
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,23 @@ | ||
# Disentangled Non-Local Neural Networks | ||
|
||
## Reference | ||
|
||
> Minghao Yin, Zhuliang Yao, Yue Cao, Xiu Li, Zheng Zhang, Stephen Lin, Han Hu: | ||
Disentangled Non-local Neural Networks. ECCV (15) 2020: 191-207. | ||
|
||
## Performance | ||
|
||
### Cityscapes | ||
|
||
| Model | Backbone | Resolution | Training Iters | mIoU | mIoU (flip) | mIoU (ms+flip) |Links | | ||
|-|-|-|-|-|-|-|-| | ||
|DNLNet|ResNet50_OS8|1024x512|80000|79.95%|80.43%|-|[model](https://paddleseg.bj.bcebos.com/dygraph/cityscapes/dnlnet_resnet50_os8_cityscapes_1024x512_80k/model.pdparams) \| [log](https://paddleseg.bj.bcebos.com/dygraph/cityscapes/dnlnet_resnet50_os8_cityscapes_1024x512_80k/train.log) \| [vdl](https://paddlepaddle.org.cn/paddle/visualdl/service/app?id=922cf0682c5e684507ab54a14ef12847)| | ||
|DNLNet|ResNet101_OS8|1024x512|80000|81.03%|81.38%|-|[model](https://paddleseg.bj.bcebos.com/dygraph/cityscapes/dnlnet_resnet101_os8_cityscapes_1024x512_80k/model.pdparams) \| [log](https://paddleseg.bj.bcebos.com/dygraph/cityscapes/dnlnet_resnet101_os8_cityscapes_1024x512_80k/train.log) \| [vdl](https://paddlepaddle.org.cn/paddle/visualdl/service/app?id=3e0d13c4d9dbf4115bbba2abdc88122c)| | ||
|
||
### Pascal VOC 2012 + Aug | ||
|
||
| Model | Backbone | Resolution | Training Iters | mIoU | mIoU (flip) | mIoU (ms+flip) | Links | | ||
|-|-|-|-|-|-|-|-| | ||
|DNLNet|ResNet50_OS8|512x512|40000|80.89%|81.31%|81.56%|[model](https://paddleseg.bj.bcebos.com/dygraph/pascal_voc12/dnlnet_resnet50_os8_voc12aug_512x512_40k/model.pdparams) \| [log](https://paddleseg.bj.bcebos.com/dygraph/pascal_voc12/dnlnet_resnet50_os8_voc12aug_512x512_40k/train.log) \| [vdl](https://paddlepaddle.org.cn/paddle/visualdl/service/app?id=8877c77bef8b227af22c5eb3017138ce)| | ||
|DNLNet|ResNet101_OS8|512x512|40000|80.49%|80.83%| 81.33%|[model](https://paddleseg.bj.bcebos.com/dygraph/pascal_voc12/dnlnet_resnet101_os8_voc12aug_512x512_40k/model.pdparams) \| [log](https://paddleseg.bj.bcebos.com/dygraph/pascal_voc12/dnlnet_resnet101_os8_voc12aug_512x512_40k/train.log) \| [vdl](https://paddlepaddle.org.cn/paddle/visualdl/service/app?id=1d42c22da1c465d9a38e4204bebeeb54)| | ||
|
31 changes: 31 additions & 0 deletions
31
configs/dnlnet/dnlnet_resnet101_os8_cityscape_1024x512_80k.yml
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,31 @@ | ||
_base_: '../_base_/cityscapes.yml' | ||
|
||
batch_size: 2 | ||
iters: 80000 | ||
|
||
model: | ||
type: DNLNet | ||
backbone: | ||
type: ResNet101_vd | ||
output_stride: 8 | ||
pretrained: https://bj.bcebos.com/paddleseg/dygraph/resnet101_vd_ssld.tar.gz | ||
num_classes: 19 | ||
|
||
optimizer: | ||
type: sgd | ||
momentum: 0.9 | ||
weight_decay: 0.00004 | ||
|
||
learning_rate: | ||
value: 0.01 | ||
decay: | ||
type: poly | ||
power: 0.9 | ||
|
||
|
||
loss: | ||
types: | ||
- type: CrossEntropyLoss | ||
- type: CrossEntropyLoss | ||
coef: [1, 0.4] | ||
|
25 changes: 25 additions & 0 deletions
25
configs/dnlnet/dnlnet_resnet101_os8_voc12aug_512x512_40k.yml
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,25 @@ | ||
_base_: '../_base_/pascal_voc12aug.yml' | ||
|
||
model: | ||
type: DNLNet | ||
backbone: | ||
type: ResNet101_vd | ||
output_stride: 8 | ||
pretrained: https://bj.bcebos.com/paddleseg/dygraph/resnet101_vd_ssld.tar.gz | ||
|
||
optimizer: | ||
type: sgd | ||
momentum: 0.9 | ||
weight_decay: 4.0e-05 | ||
|
||
learning_rate: | ||
value: 0.01 | ||
decay: | ||
type: poly | ||
power: 0.9 | ||
|
||
loss: | ||
types: | ||
- type: CrossEntropyLoss | ||
- type: CrossEntropyLoss | ||
coef: [1, 0.4] |
30 changes: 30 additions & 0 deletions
30
configs/dnlnet/dnlnet_resnet50_os8_cityscape_1024x512_80k.yml
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,30 @@ | ||
_base_: '../_base_/cityscapes.yml' | ||
|
||
batch_size: 2 | ||
iters: 80000 | ||
|
||
model: | ||
type: DNLNet | ||
backbone: | ||
type: ResNet50_vd | ||
output_stride: 8 | ||
pretrained: https://bj.bcebos.com/paddleseg/dygraph/resnet50_vd_ssld_v2.tar.gz | ||
num_classes: 19 | ||
|
||
optimizer: | ||
type: sgd | ||
momentum: 0.9 | ||
weight_decay: 0.00004 | ||
|
||
learning_rate: | ||
value: 0.01 | ||
decay: | ||
type: poly | ||
power: 0.9 | ||
|
||
|
||
loss: | ||
types: | ||
- type: CrossEntropyLoss | ||
- type: CrossEntropyLoss | ||
coef: [1, 0.4] |
25 changes: 25 additions & 0 deletions
25
configs/dnlnet/dnlnet_resnet50_os8_voc12aug_512x512_40k.yml
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,25 @@ | ||
_base_: '../_base_/pascal_voc12aug.yml' | ||
|
||
model: | ||
type: DNLNet | ||
backbone: | ||
type: ResNet50_vd | ||
output_stride: 8 | ||
pretrained: https://bj.bcebos.com/paddleseg/dygraph/resnet50_vd_ssld_v2.tar.gz | ||
|
||
optimizer: | ||
type: sgd | ||
momentum: 0.9 | ||
weight_decay: 4.0e-05 | ||
|
||
learning_rate: | ||
value: 0.01 | ||
decay: | ||
type: poly | ||
power: 0.9 | ||
|
||
loss: | ||
types: | ||
- type: CrossEntropyLoss | ||
- type: CrossEntropyLoss | ||
coef: [1, 0.4] |
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 @@ | ||
# Expectation-Maximization Attention Networks for Semantic Segmentation | ||
|
||
## Reference | ||
|
||
> Xia Li, Zhisheng Zhong, Jianlong Wu, Yibo Yang, Zhouchen Lin, Hong Liu: | ||
Expectation-Maximization Attention Networks for Semantic Segmentation. ICCV 2019: 9166-9175. | ||
|
||
## Performance | ||
|
||
### Cityscapes | ||
|
||
| Model | Backbone | Resolution | Training Iters | mIoU | mIoU (flip) | mIoU (ms+flip) |Links | | ||
|-|-|-|-|-|-|-|-| | ||
|EMANet|ResNet50_OS8|1024x512|80000|77.64%|77.98%|78.23%|[model](https://bj.bcebos.com/paddleseg/dygraph/cityscapes/emanet_resnet50_os8_cityscapes_1024x512_80k/model.pdparams) \| [log](https://bj.bcebos.com/paddleseg/dygraph/cityscapes/emanet_resnet50_os8_cityscapes_1024x512_80k/train.log) \| [vdl](https://paddlepaddle.org.cn/paddle/visualdl/service/app?id=3e053a214d60822d6e65445b8614d052)| | ||
|EMANet|ResNet101_OS8|1024x512|80000|79.41%|79.83%|80.33%|[model](https://bj.bcebos.com/paddleseg/dygraph/cityscapes/emanet_resnet101_os8_cityscapes_1024x512_80k/model.pdparams) \| [log](https://bj.bcebos.com/paddleseg/dygraph/cityscapes/emanet_resnet101_os8_cityscapes_1024x512_80k/train.log) \| [vdl](https://paddlepaddle.org.cn/paddle/visualdl/service/app?id=87be6389cdada711f5c6ada21d9ef6cd)| | ||
|
||
### Pascal VOC 2012 + Aug | ||
|
||
| Model | Backbone | Resolution | Training Iters | mIoU | mIoU (flip) | mIoU (ms+flip) | Links | | ||
|-|-|-|-|-|-|-|-| | ||
|EMANet|ResNet50_OS8|512x512|40000|78.79%|78.90%|79.17%|[model](https://bj.bcebos.com/paddleseg/dygraph/pascal_voc12/emanet_resnet50_os8_voc12aug_512x512_40k/model.pdparams) \| [log](https://bj.bcebos.com/paddleseg/dygraph/pascal_voc12/emanet_resnet50_os8_voc12aug_512x512_40k/train.log) \| [vdl](https://paddlepaddle.org.cn/paddle/visualdl/service/app?id=3e60b80b984a71f3d2b83b8a746a819c)| | ||
|EMANet|ResNet101_OS8|512x512|40000|79.73%|79.97%| 80.67%|[model](https://bj.bcebos.com/paddleseg/dygraph/pascal_voc12/emanet_resnet101_os8_voc12aug_512x512_40k/model.pdparams) \| [log](https://bj.bcebos.com/paddleseg/dygraph/pascal_voc12/emanet_resnet101_os8_voc12aug_512x512_40k/train.log) \| [vdl](https://paddlepaddle.org.cn/paddle/visualdl/service/app?id=f33479772409766dbc40b5f031cbdb1a)| |
31 changes: 31 additions & 0 deletions
31
configs/emanet/emanet_resnet101_os8_cityscapes_1024x512_80k.yml
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,31 @@ | ||
_base_: '../_base_/cityscapes.yml' | ||
|
||
batch_size: 2 | ||
iters: 80000 | ||
|
||
model: | ||
type: EMANet | ||
backbone: | ||
type: ResNet101_vd | ||
output_stride: 8 | ||
pretrained: https://bj.bcebos.com/paddleseg/dygraph/resnet101_vd_ssld.tar.gz | ||
num_classes: 19 | ||
ema_channels: 512 | ||
gc_channels: 256 | ||
num_bases: 64 | ||
stage_num: 3 | ||
momentum: 0.1 | ||
concat_input: True | ||
enable_auxiliary_loss: True | ||
align_corners: False | ||
|
||
optimizer: | ||
type: sgd | ||
momentum: 0.9 | ||
weight_decay: 0.0005 | ||
|
||
loss: | ||
types: | ||
- type: CrossEntropyLoss | ||
- type: CrossEntropyLoss | ||
coef: [1, 0.4] |
28 changes: 28 additions & 0 deletions
28
configs/emanet/emanet_resnet101_os8_voc12aug_512x512_40k.yml
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,28 @@ | ||
_base_: '../_base_/pascal_voc12aug.yml' | ||
|
||
model: | ||
type: EMANet | ||
backbone: | ||
type: ResNet101_vd | ||
output_stride: 8 | ||
pretrained: https://bj.bcebos.com/paddleseg/dygraph/resnet101_vd_ssld.tar.gz | ||
ema_channels: 512 | ||
gc_channels: 256 | ||
num_bases: 64 | ||
stage_num: 3 | ||
momentum: 0.1 | ||
concat_input: True | ||
enable_auxiliary_loss: True | ||
align_corners: True | ||
|
||
optimizer: | ||
type: sgd | ||
momentum: 0.9 | ||
weight_decay: 0.0005 | ||
|
||
|
||
loss: | ||
types: | ||
- type: CrossEntropyLoss | ||
- type: CrossEntropyLoss | ||
coef: [1, 0.4] |
32 changes: 32 additions & 0 deletions
32
configs/emanet/emanet_resnet50_os8_cityscapes_1024x512_80k.yml
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,32 @@ | ||
_base_: '../_base_/cityscapes.yml' | ||
|
||
batch_size: 2 | ||
iters: 80000 | ||
|
||
model: | ||
type: EMANet | ||
backbone: | ||
type: ResNet50_vd | ||
output_stride: 8 | ||
pretrained: https://bj.bcebos.com/paddleseg/dygraph/resnet50_vd_ssld_v2.tar.gz | ||
num_classes: 19 | ||
ema_channels: 512 | ||
gc_channels: 256 | ||
num_bases: 64 | ||
stage_num: 3 | ||
momentum: 0.1 | ||
concat_input: True | ||
enable_auxiliary_loss: True | ||
align_corners: False | ||
|
||
optimizer: | ||
type: sgd | ||
momentum: 0.9 | ||
weight_decay: 0.0005 | ||
|
||
|
||
loss: | ||
types: | ||
- type: CrossEntropyLoss | ||
- type: CrossEntropyLoss | ||
coef: [1, 0.4] |
Oops, something went wrong.