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

Function resnet34

lib/Resnet.py:164–170  ·  view source on GitHub ↗

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

(pretrained=True, **kwargs)

Source from the content-addressed store, hash-verified

162
163
164def resnet34(pretrained=True, **kwargs):
165 """Constructs a ResNet-34 model.
166 Args:
167 pretrained (bool): If True, returns a model pre-trained on ImageNet
168 """
169 model = ResNet(BasicBlock, [3, 4, 6, 3], **kwargs)
170 return model
171
172
173def resnet50(pretrained=True, **kwargs):

Callers

nothing calls this directly

Calls 1

ResNetClass · 0.70

Tested by

no test coverage detected