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

Function resnet101

lib/Resnet.py:183–190  ·  view source on GitHub ↗

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

(pretrained=True, **kwargs)

Source from the content-addressed store, hash-verified

181
182
183def resnet101(pretrained=True, **kwargs):
184 """Constructs a ResNet-101 model.
185 Args:
186 pretrained (bool): If True, returns a model pre-trained on ImageNet
187 """
188 model = ResNet(Bottleneck, [3, 4, 23, 3], **kwargs)
189
190 return model
191
192
193def resnet152(pretrained=True, **kwargs):

Callers

nothing calls this directly

Calls 1

ResNetClass · 0.70

Tested by

no test coverage detected