wide_resnet50_2

paddle.vision.models. wide_resnet50_2 ( pretrained=False, **kwargs ) [源代码]

50层的wide_resnet模型,来自论文 "Wide Residual Networks"

参数

  • pretrained (bool,可选) - 是否加载在imagenet数据集上的预训练权重。默认值:False。

返回

wide_resnet50_2模型,Layer的实例。

代码示例

import paddle
from paddle.vision.models import wide_resnet50_2

# build model
model = wide_resnet50_2()

# build model and load imagenet pretrained weight
# model = wide_resnet50_2(pretrained=True)

x = paddle.rand([1, 3, 224, 224])
out = model(x)

print(out.shape)