mirror of https://github.com/facebookresearch/deit
Update resmlp_models.py
parent
6fa7ef60b4
commit
31b3d676b3
|
@ -173,7 +173,7 @@ def resmlp_36(pretrained=False,dist=False, **kwargs):
|
|||
return model
|
||||
|
||||
@register_model
|
||||
def resmlpB_24(pretrained=False,dist=False, 22k = False, **kwargs):
|
||||
def resmlpB_24(pretrained=False,dist=False, in_22k = False, **kwargs):
|
||||
model = resmlp_models(
|
||||
patch_size=8, embed_dim=768, depth=24,
|
||||
Patch_layer=PatchEmbed,
|
||||
|
@ -182,7 +182,7 @@ def resmlpB_24(pretrained=False,dist=False, 22k = False, **kwargs):
|
|||
if pretrained:
|
||||
if dist:
|
||||
url_path = "https://dl.fbaipublicfiles.com/deit/resmlpB_24_dist.pth"
|
||||
elif 22k:
|
||||
elif in_22k:
|
||||
url_path = "https://dl.fbaipublicfiles.com/deit/resmlpB_24_22k.pth"
|
||||
else:
|
||||
url_path = "https://dl.fbaipublicfiles.com/deit/resmlpB_24_no_dist.pth"
|
||||
|
|
Loading…
Reference in New Issue