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

Function wide_resnet101_2

Image_Classification/src/models/resnet.py:318–328  ·  view source on GitHub ↗

r"""Wide ResNet-101-2 model from `"Wide Residual Networks" `_ The model is the same as ResNet except for the bottleneck number of channels which is twice larger in every block. The number of channels in outer 1x1 convolutions is the same, e.g. l

(**kwargs)

Source from the content-addressed store, hash-verified

316
317
318def wide_resnet101_2(**kwargs):
319 r"""Wide ResNet-101-2 model from
320 `"Wide Residual Networks" <https://arxiv.org/pdf/1605.07146.pdf>`_
321
322 The model is the same as ResNet except for the bottleneck number of channels
323 which is twice larger in every block. The number of channels in outer 1x1
324 convolutions is the same, e.g. last block in ResNet-50 has 2048-512-2048
325 channels, and in Wide ResNet-50-2 has 2048-1024-2048.
326 """
327 kwargs['width_per_group'] = 64 * 2
328 return _resnet('wide_resnet101_2', Bottleneck, [3, 4, 23, 3], **kwargs)

Callers

nothing calls this directly

Calls 1

_resnetFunction · 0.85

Tested by

no test coverage detected