resnet34¶
- torchvision.models.resnet34(*, weights: Optional[ResNet34_Weights] = None, progress: bool = True, **kwargs: Any) ResNet[source]¶
ResNet-34 from Deep Residual Learning for Image Recognition.
- Parameters:
weights (
ResNet34_Weights, optional) – The pretrained weights to use. SeeResNet34_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.resnet.ResNetbase class. Please refer to the source code for more details about this class.