Table of Contents
Shortcuts

# VGG

The VGG model is based on the Very Deep Convolutional Networks for Large-Scale Image Recognition paper.

## Model builders

The following model builders can be used to instantiate a VGG model, with or without pre-trained weights. All the model builders internally rely on the `torchvision.models.vgg.VGG` base class. Please refer to the source code for more details about this class.

`vgg11`(*[, weights, progress]) | VGG-11 from Very Deep Convolutional Networks for Large-Scale Image Recognition.
`vgg11_bn`(*[, weights, progress]) | VGG-11-BN from Very Deep Convolutional Networks for Large-Scale Image Recognition.
`vgg13`(*[, weights, progress]) | VGG-13 from Very Deep Convolutional Networks for Large-Scale Image Recognition.
`vgg13_bn`(*[, weights, progress]) | VGG-13-BN from Very Deep Convolutional Networks for Large-Scale Image Recognition.
`vgg16`(*[, weights, progress]) | VGG-16 from Very Deep Convolutional Networks for Large-Scale Image Recognition.
`vgg16_bn`(*[, weights, progress]) | VGG-16-BN from Very Deep Convolutional Networks for Large-Scale Image Recognition.
`vgg19`(*[, weights, progress]) | VGG-19 from Very Deep Convolutional Networks for Large-Scale Image Recognition.
`vgg19_bn`(*[, weights, progress]) | VGG-19_BN from Very Deep Convolutional Networks for Large-Scale Image Recognition.

## Docs

Access comprehensive developer documentation for PyTorch

View Docs

## Tutorials

Get in-depth tutorials for beginners and advanced developers

View Tutorials

## Resources

Find development resources and get your questions answered

View Resources

To analyze traffic and optimize your experience, we serve cookies on this site. By clicking or navigating, you agree to allow our usage of cookies. As the current maintainers of this site, Facebook’s Cookies Policy applies. Learn more, including about available controls: Cookies Policy.