MCPcopy Create free account
hub / github.com/OpenDriveLab/TCP / resnet50

Function resnet50

TCP/resnet.py:292–301  ·  view source on GitHub ↗

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)

Source from the content-addressed store, hash-verified

290
291
292def 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
304def resnet101(pretrained: bool = False, progress: bool = True, **kwargs: Any) -> ResNet:

Callers

nothing calls this directly

Calls 1

_resnetFunction · 0.85

Tested by

no test coverage detected