vgg.rst 723 B

123456789101112131415161718192021222324252627282930
  1. VGG
  2. ===
  3. .. currentmodule:: torchvision.models
  4. The VGG model is based on the `Very Deep Convolutional Networks for Large-Scale
  5. Image Recognition <https://arxiv.org/abs/1409.1556>`_ paper.
  6. Model builders
  7. --------------
  8. The following model builders can be used to instantiate a VGG model, with or
  9. without pre-trained weights. All the model builders internally rely on the
  10. ``torchvision.models.vgg.VGG`` base class. Please refer to the `source code
  11. <https://github.com/pytorch/vision/blob/main/torchvision/models/vgg.py>`_ for
  12. more details about this class.
  13. .. autosummary::
  14. :toctree: generated/
  15. :template: function.rst
  16. vgg11
  17. vgg11_bn
  18. vgg13
  19. vgg13_bn
  20. vgg16
  21. vgg16_bn
  22. vgg19
  23. vgg19_bn