From 8fda68aff69d6020ad734657d7e44c226db4456a Mon Sep 17 00:00:00 2001 From: Mohamed Rashad Date: Wed, 5 Oct 2022 16:26:06 +0200 Subject: [PATCH] Fix repo id bug This to fix this issue #1482 --- timm/models/vision_transformer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/timm/models/vision_transformer.py b/timm/models/vision_transformer.py index 2a033b39..6ed70045 100644 --- a/timm/models/vision_transformer.py +++ b/timm/models/vision_transformer.py @@ -192,7 +192,7 @@ default_cfgs = { hf_hub_filename='open_clip_pytorch_model.bin', mean=OPENAI_CLIP_MEAN, std=OPENAI_CLIP_STD, num_classes=1024), 'vit_giant_patch14_224_clip_laion2b': _cfg( - hf_hub_id='CLIP-ViT-g-14-laion2B-s12B-b42K', + hf_hub_id='laion/CLIP-ViT-g-14-laion2B-s12B-b42K', hf_hub_filename='open_clip_pytorch_model.bin', mean=OPENAI_CLIP_MEAN, std=OPENAI_CLIP_STD, num_classes=1024),