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

Function resnet34

TCP/resnet.py:280–289  ·  view source on GitHub ↗

r"""ResNet-34 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

278
279
280def resnet34(pretrained: bool = False, progress: bool = True, **kwargs: Any) -> ResNet:
281 r"""ResNet-34 model from
282 `"Deep Residual Learning for Image Recognition" <https://arxiv.org/pdf/1512.03385.pdf>`_.
283
284 Args:
285 pretrained (bool): If True, returns a model pre-trained on ImageNet
286 progress (bool): If True, displays a progress bar of the download to stderr
287 """
288 return _resnet('resnet34', BasicBlock, [3, 4, 6, 3], pretrained, progress,
289 **kwargs)
290
291
292def resnet50(pretrained: bool = False, progress: bool = True, **kwargs: Any) -> ResNet:

Callers 1

__init__Method · 0.85

Calls 1

_resnetFunction · 0.85

Tested by

no test coverage detected