MCPcopy Create free account
hub / github.com/AtlasAnalyticsLab/AdaFisher / resnet34

Function resnet34

Image_Classification/src/models/resnet.py:251–260  ·  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=False, progress=True, **kwargs)

Source from the content-addressed store, hash-verified

249
250
251def resnet34(pretrained=False, progress=True, **kwargs):
252 r"""ResNet-34 model from
253 `"Deep Residual Learning for Image Recognition" <https://arxiv.org/pdf/1512.03385.pdf>`_
254
255 Args:
256 pretrained (bool): If True, returns a model pre-trained on ImageNet
257 progress (bool): If True, displays a progress bar of the download to stderr
258 """
259 return _resnet('resnet34', BasicBlock, [3, 4, 6, 3], pretrained, progress,
260 **kwargs)
261
262
263def resnet50(**kwargs):

Callers 1

get_networkFunction · 0.90

Calls 1

_resnetFunction · 0.85

Tested by

no test coverage detected