densenet161

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

DenseNet 161-layer model

Parameters

pretrained (bool) – If True, returns a model pre-trained on ImageNet

Examples

from paddle.vision.models import densenet161

# build model
model = densenet161()

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