MCPcopy Create free account
hub / github.com/HobbitLong/PyContrast / resnet152

Function resnet152

pycontrast/networks/resnet.py:279–287  ·  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=False, progress=True, **kwargs)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

_resnetFunction · 0.85

Tested by

no test coverage detected