MCPcopy Create free account
hub / github.com/VisionRush/DeepFakeDefenders / convnext_large

Function convnext_large

model/convnext.py:186–192  ·  view source on GitHub ↗
(pretrained=False, in_22k=False, **kwargs)

Source from the content-addressed store, hash-verified

184
185@register_model
186def convnext_large(pretrained=False, in_22k=False, **kwargs):
187 model = ConvNeXt(depths=[3, 3, 27, 3], dims=[192, 384, 768, 1536], **kwargs)
188 if pretrained:
189 url = model_urls['convnext_large_22k'] if in_22k else model_urls['convnext_large_1k']
190 checkpoint = torch.hub.load_state_dict_from_url(url=url, map_location="cpu")
191 model.load_state_dict(checkpoint["model"])
192 return model
193
194@register_model
195def convnext_xlarge(pretrained=False, in_22k=False, **kwargs):

Callers

nothing calls this directly

Calls 1

ConvNeXtClass · 0.85

Tested by

no test coverage detected