(num_classes=1000, pretrained='imagenet')
return model
VGG 19-layer model (configuration "E")
VGG 19-layer model (configuration "E")
VGG 19 - layer model ( configuration E )
def vgg19(num_classes=1000, pretrained='imagenet'):
    """VGG 19-layer model (configuration "E")
    """
    model = models.vgg19(pretrained=False)
    if pretrained is not None:
        settings = pretrained_settings['vgg19'][pretrained]
        model = load_pretrained(model, num_classes, settings)
    model = modify_vggs(model)
    return model
def vgg19 ( num_classes = 1000 , pretrained = 'imagenet' ) : model = models . vgg19 ( pretrained = False ) if pretrained is not None : settings = pretrained_settings [ 'vgg19' ] [ pretrained ] model = load_pretrained ( model , num_classes , settings ) model = modify_vggs ( model ) return model