@@ -355,64 +355,76 @@ def _cfg(url='', **kwargs):
355
355
356
356
default_cfgs = generate_default_cfgs ({
357
357
'beit_base_patch16_224.in22k_ft_in22k_in1k' : _cfg (
358
- url = 'https://conversationhub.blob.core.windows.net/beit-share-public/beit/beit_base_patch16_224_pt22k_ft22kto1k.pth' ),
358
+ url = 'https://conversationhub.blob.core.windows.net/beit-share-public/beit/beit_base_patch16_224_pt22k_ft22kto1k.pth' ,
359
+ hf_hub_id = 'timm/' ),
359
360
'beit_base_patch16_384.in22k_ft_in22k_in1k' : _cfg (
360
361
url = 'https://conversationhub.blob.core.windows.net/beit-share-public/beit/beit_base_patch16_384_pt22k_ft22kto1k.pth' ,
362
+ hf_hub_id = 'timm/' ,
361
363
input_size = (3 , 384 , 384 ), crop_pct = 1.0 ,
362
364
),
363
365
'beit_base_patch16_224.in22k_ft_in22k' : _cfg (
364
366
url = 'https://conversationhub.blob.core.windows.net/beit-share-public/beit/beit_base_patch16_224_pt22k_ft22k.pth' ,
367
+ hf_hub_id = 'timm/' ,
365
368
num_classes = 21841 ,
366
369
),
367
370
'beit_large_patch16_224.in22k_ft_in22k_in1k' : _cfg (
368
- url = 'https://conversationhub.blob.core.windows.net/beit-share-public/beit/beit_large_patch16_224_pt22k_ft22kto1k.pth' ),
371
+ url = 'https://conversationhub.blob.core.windows.net/beit-share-public/beit/beit_large_patch16_224_pt22k_ft22kto1k.pth' ,
372
+ hf_hub_id = 'timm/' ),
369
373
'beit_large_patch16_384.in22k_ft_in22k_in1k' : _cfg (
370
374
url = 'https://conversationhub.blob.core.windows.net/beit-share-public/beit/beit_large_patch16_384_pt22k_ft22kto1k.pth' ,
375
+ hf_hub_id = 'timm/' ,
371
376
input_size = (3 , 384 , 384 ), crop_pct = 1.0 ,
372
377
),
373
378
'beit_large_patch16_512.in22k_ft_in22k_in1k' : _cfg (
374
379
url = 'https://conversationhub.blob.core.windows.net/beit-share-public/beit/beit_large_patch16_512_pt22k_ft22kto1k.pth' ,
380
+ hf_hub_id = 'timm/' ,
375
381
input_size = (3 , 512 , 512 ), crop_pct = 1.0 ,
376
382
),
377
383
'beit_large_patch16_224.in22k_ft_in22k' : _cfg (
378
384
url = 'https://conversationhub.blob.core.windows.net/beit-share-public/beit/beit_large_patch16_224_pt22k_ft22k.pth' ,
385
+ hf_hub_id = 'timm/' ,
379
386
num_classes = 21841 ,
380
387
),
381
388
382
389
'beitv2_base_patch16_224.in1k_ft_in22k_in1k' : _cfg (
383
390
url = 'https://conversationhub.blob.core.windows.net/beit-share-public/beitv2/beitv2_base_patch16_224_pt1k_ft21kto1k.pth' ,
391
+ hf_hub_id = 'timm/' ,
384
392
mean = IMAGENET_DEFAULT_MEAN , std = IMAGENET_DEFAULT_STD
385
393
),
386
394
'beitv2_base_patch16_224.in1k_ft_in22k' : _cfg (
387
395
url = 'https://conversationhub.blob.core.windows.net/beit-share-public/beitv2/beitv2_base_patch16_224_pt1k_ft21k.pth' ,
388
- num_classes = 21841 ,
389
- mean = IMAGENET_DEFAULT_MEAN , std = IMAGENET_DEFAULT_STD
396
+ hf_hub_id = 'timm/' ,
397
+ num_classes = 21841 , mean = IMAGENET_DEFAULT_MEAN , std = IMAGENET_DEFAULT_STD
390
398
),
391
399
'beitv2_large_patch16_224.in1k_ft_in22k_in1k' : _cfg (
392
400
url = 'https://conversationhub.blob.core.windows.net/beit-share-public/beitv2/beitv2_large_patch16_224_pt1k_ft21kto1k.pth' ,
393
- crop_pct = 0.95 ,
394
- mean = IMAGENET_DEFAULT_MEAN , std = IMAGENET_DEFAULT_STD
401
+ hf_hub_id = 'timm/' ,
402
+ crop_pct = 0.95 , mean = IMAGENET_DEFAULT_MEAN , std = IMAGENET_DEFAULT_STD
395
403
),
396
404
'beitv2_large_patch16_224.in1k_ft_in22k' : _cfg (
397
405
url = 'https://conversationhub.blob.core.windows.net/beit-share-public/beitv2/beitv2_large_patch16_224_pt1k_ft21k.pth' ,
398
- num_classes = 21841 ,
399
- mean = IMAGENET_DEFAULT_MEAN , std = IMAGENET_DEFAULT_STD
406
+ hf_hub_id = 'timm/' ,
407
+ num_classes = 21841 , mean = IMAGENET_DEFAULT_MEAN , std = IMAGENET_DEFAULT_STD
400
408
),
401
409
402
410
'eva_giant_patch14_224.clip_ft_in1k' : _cfg (
403
- hf_hub_id = 'BAAI/EVA' , hf_hub_filename = 'eva_clip_vis_enc_sz224_ftcls_89p1.pt' ,
411
+ # hf_hub_id='BAAI/EVA', hf_hub_filename='eva_clip_vis_enc_sz224_ftcls_89p1.pt',
412
+ hf_hub_id = 'timm/' ,
404
413
mean = OPENAI_CLIP_MEAN , std = OPENAI_CLIP_STD , crop_pct = 1.0 ,
405
414
),
406
415
'eva_giant_patch14_336.clip_ft_in1k' : _cfg (
407
- hf_hub_id = 'BAAI/EVA' , hf_hub_filename = 'eva_clip_vis_enc_sz336_ftcls_89p4.pt' ,
416
+ # hf_hub_id='BAAI/EVA', hf_hub_filename='eva_clip_vis_enc_sz336_ftcls_89p4.pt',
417
+ hf_hub_id = 'timm/' ,
408
418
mean = OPENAI_CLIP_MEAN , std = OPENAI_CLIP_STD ,
409
419
input_size = (3 , 336 , 336 ), crop_pct = 1.0 , crop_mode = 'squash' ),
410
420
'eva_giant_patch14_336.m30m_ft_in22k_in1k' : _cfg (
411
- hf_hub_id = 'BAAI/EVA' , hf_hub_filename = 'eva_21k_1k_336px_psz14_ema_89p6.pt' ,
421
+ # hf_hub_id='BAAI/EVA', hf_hub_filename='eva_21k_1k_336px_psz14_ema_89p6.pt',
422
+ hf_hub_id = 'timm/' ,
412
423
mean = IMAGENET_DEFAULT_MEAN , std = IMAGENET_DEFAULT_STD ,
413
424
input_size = (3 , 336 , 336 ), crop_pct = 1.0 , crop_mode = 'squash' ),
414
425
'eva_giant_patch14_560.m30m_ft_in22k_in1k' : _cfg (
415
- hf_hub_id = 'BAAI/EVA' , hf_hub_filename = 'eva_21k_1k_560px_psz14_ema_89p7.pt' ,
426
+ # hf_hub_id='BAAI/EVA', hf_hub_filename='eva_21k_1k_560px_psz14_ema_89p7.pt',
427
+ hf_hub_id = 'timm/' ,
416
428
mean = IMAGENET_DEFAULT_MEAN , std = IMAGENET_DEFAULT_STD ,
417
429
input_size = (3 , 560 , 560 ), crop_pct = 1.0 , crop_mode = 'squash' ),
418
430
})
0 commit comments