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