Shortcuts

densenet121

torchvision.models.densenet121(pretrained: bool = False, progress: bool = True, **kwargs: Any)torchvision.models.densenet.DenseNet[source]

Densenet-121 model from “Densely Connected Convolutional Networks”. The required minimum input size of the model is 29x29.

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

  • progress (bool) – If True, displays a progress bar of the download to stderr

  • memory_efficient (bool) – but slower. Default: False. See “paper”.

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