wide_resnet50_2

paddle.vision.models. wide_resnet50_2 ( pretrained=False, **kwargs ) [source]

Wide ResNet-50-2 model from “Wide Residual Networks”.

Parameters

pretrained (bool, optional) – If True, returns a model pre-trained on ImageNet. Default: False.

Examples

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)
# [1, 1000]