diff --git a/dygraph/configs/deeplabv3p/deeplabv3p_mobilenetv3_large_cityscapes_769x769_160k.yml b/dygraph/configs/deeplabv3p/deeplabv3p_mobilenetv3_large_cityscapes_769x769_160k.yml index 82a0649a0e0785e0654026b52d745175c7cb019f..9ae6093a2c9f918e41f53ae29569a962d7bd3750 100644 --- a/dygraph/configs/deeplabv3p/deeplabv3p_mobilenetv3_large_cityscapes_769x769_160k.yml +++ b/dygraph/configs/deeplabv3p/deeplabv3p_mobilenetv3_large_cityscapes_769x769_160k.yml @@ -1,5 +1,7 @@ _base_: '../_base_/cityscapes.yml' +iters: 160000 + model: type: DeepLabV3 backbone: diff --git a/dygraph/configs/deeplabv3p/deeplabv3p_xception65_cityscapes_769x769_160k.yml b/dygraph/configs/deeplabv3p/deeplabv3p_xception65_cityscapes_769x769_160k.yml index c604ee7e7cd7ffd495dfb46578d0e1d4eb3fbeb2..17d854d0a71de043412f153a40de6cda1ed10a47 100644 --- a/dygraph/configs/deeplabv3p/deeplabv3p_xception65_cityscapes_769x769_160k.yml +++ b/dygraph/configs/deeplabv3p/deeplabv3p_xception65_cityscapes_769x769_160k.yml @@ -1,5 +1,7 @@ _base_: '../_base_/cityscapes.yml' +iters: 160000 + model: type: DeepLabV3 backbone: diff --git a/dygraph/paddleseg/models/backbones/mobilenetv3.py b/dygraph/paddleseg/models/backbones/mobilenetv3.py index 14baf3e9115148ea82cd5d4829a5ac346b07f780..8bbd0c5e5963b6bd068d2340951aa7ebdaccc817 100644 --- a/dygraph/paddleseg/models/backbones/mobilenetv3.py +++ b/dygraph/paddleseg/models/backbones/mobilenetv3.py @@ -25,7 +25,8 @@ import paddle.nn as nn import paddle.nn.functional as F from paddle.nn import Conv2d, AdaptiveAvgPool2d from paddle.nn import SyncBatchNorm as BatchNorm -from paddle.regularizer import L2Decay +# from paddle.regularizer import L2Decay +from paddle.fluid.regularizer import L2Decay from paddle import ParamAttr from paddleseg.models.common import layer_libs, activation