densenet161¶
- torchvision.models.densenet161(*, weights: Optional[DenseNet161_Weights] = None, progress: bool = True, **kwargs: Any) DenseNet[source]¶
Densenet-161 model from Densely Connected Convolutional Networks.
- Parameters:
weights (
DenseNet161_Weights, optional) – The pretrained weights to use. SeeDenseNet161_Weightsbelow for more details, and possible values. By default, no pre-trained weights are used.progress (bool, optional) – If True, displays a progress bar of the download to stderr. Default is True.
**kwargs – parameters passed to the
torchvision.models.densenet.DenseNetbase class. Please refer to the source code for more details about this class.