MCPcopy Create free account
hub / github.com/thygate/stable-diffusion-webui-depthmap-script / resnet152

Function resnet152

lib/Resnet.py:193–199  ·  view source on GitHub ↗

Constructs a ResNet-152 model. Args: pretrained (bool): If True, returns a model pre-trained on ImageNet

(pretrained=True, **kwargs)

Source from the content-addressed store, hash-verified

191
192
193def resnet152(pretrained=True, **kwargs):
194 """Constructs a ResNet-152 model.
195 Args:
196 pretrained (bool): If True, returns a model pre-trained on ImageNet
197 """
198 model = ResNet(Bottleneck, [3, 8, 36, 3], **kwargs)
199 return model

Callers

nothing calls this directly

Calls 1

ResNetClass · 0.70

Tested by

no test coverage detected