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

Function resnet152

TCP/resnet.py:316–325  ·  view source on GitHub ↗

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

314
315
316def resnet152(pretrained: bool = False, progress: bool = True, **kwargs: Any) -> ResNet:
317 r"""ResNet-152 model from
318 `"Deep Residual Learning for Image Recognition" <https://arxiv.org/pdf/1512.03385.pdf>`_.
319
320 Args:
321 pretrained (bool): If True, returns a model pre-trained on ImageNet
322 progress (bool): If True, displays a progress bar of the download to stderr
323 """
324 return _resnet('resnet152', Bottleneck, [3, 8, 36, 3], pretrained, progress,
325 **kwargs)
326
327
328def resnext50_32x4d(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