r"""ResNet-50 model from `"Deep Residual Learning for Image Recognition" `_. Args: pretrained (bool): If True, returns a model pre-trained on ImageNet progress (bool): If True, displays a progress bar of the download to stderr
(pretrained: bool = False, progress: bool = True, **kwargs: Any)
| 290 | |
| 291 | |
| 292 | def resnet50(pretrained: bool = False, progress: bool = True, **kwargs: Any) -> ResNet: |
| 293 | r"""ResNet-50 model from |
| 294 | `"Deep Residual Learning for Image Recognition" <https://arxiv.org/pdf/1512.03385.pdf>`_. |
| 295 | |
| 296 | Args: |
| 297 | pretrained (bool): If True, returns a model pre-trained on ImageNet |
| 298 | progress (bool): If True, displays a progress bar of the download to stderr |
| 299 | """ |
| 300 | return _resnet('resnet50', Bottleneck, [3, 4, 6, 3], pretrained, progress, |
| 301 | **kwargs) |
| 302 | |
| 303 | |
| 304 | def resnet101(pretrained: bool = False, progress: bool = True, **kwargs: Any) -> ResNet: |