@@ -1245,44 +1245,45 @@ def _pe_cfg(url: str = '', **kwargs) -> Dict[str, Any]:
1245
1245
),
1246
1246
1247
1247
# Perception Encoder weights
1248
- 'vit_pe_core_base_patch16_224' : _pe_cfg (
1249
- # hf_hub_id='facebook/pe_core_base_patch16_224_timm ',
1250
- hf_hub_id = 'facebook/PE-Core-B16-224' ,
1251
- hf_hub_filename = 'PE-Core-B16-224.pt' ,
1248
+ 'vit_pe_core_base_patch16_224.fb ' : _pe_cfg (
1249
+ hf_hub_id = 'timm/ ' ,
1250
+ # hf_hub_id='facebook/PE-Core-B16-224',
1251
+ # hf_hub_filename='PE-Core-B16-224.pt',
1252
1252
input_size = (3 , 224 , 224 ),
1253
1253
num_classes = 1024 , # output proj dim
1254
1254
),
1255
- 'vit_pe_core_large_patch14_336' : _pe_cfg (
1256
- hf_hub_id = 'facebook/PE-Core-L14-336' ,
1257
- hf_hub_filename = 'PE-Core-L14-336.pt' ,
1255
+ 'vit_pe_core_large_patch14_336.fb' : _pe_cfg (
1256
+ hf_hub_id = 'timm/' ,
1257
+ #hf_hub_id='facebook/PE-Core-L14-336',
1258
+ #hf_hub_filename='PE-Core-L14-336.pt',
1258
1259
input_size = (3 , 336 , 336 ),
1259
1260
num_classes = 1024 , # output proj dim
1260
1261
),
1261
- 'vit_pe_core_gigantic_patch14_448' : _pe_cfg (
1262
- # hf_hub_id='timm/',
1263
- hf_hub_id = 'facebook/PE-Core-G14-448' ,
1264
- hf_hub_filename = 'PE-Core-G14-448.pt' ,
1262
+ 'vit_pe_core_gigantic_patch14_448.fb ' : _pe_cfg (
1263
+ hf_hub_id = 'timm/' ,
1264
+ # hf_hub_id='facebook/PE-Core-G14-448',
1265
+ # hf_hub_filename='PE-Core-G14-448.pt',
1265
1266
input_size = (3 , 448 , 448 ),
1266
1267
num_classes = 1280 , # output proj dim
1267
1268
),
1268
- 'vit_pe_lang_large_patch14_448' : _pe_cfg (
1269
- # hf_hub_id='timm/',
1270
- hf_hub_id = 'facebook/PE-Lang-L14-448' ,
1271
- hf_hub_filename = 'PE-Lang-L14-448.pt' ,
1269
+ 'vit_pe_lang_large_patch14_448.fb ' : _pe_cfg (
1270
+ hf_hub_id = 'timm/' ,
1271
+ # hf_hub_id='facebook/PE-Lang-L14-448',
1272
+ # hf_hub_filename='PE-Lang-L14-448.pt',
1272
1273
input_size = (3 , 448 , 448 ),
1273
1274
num_classes = 0 ,
1274
1275
),
1275
- 'vit_pe_lang_gigantic_patch14_448' : _pe_cfg (
1276
- # hf_hub_id='timm/',
1277
- hf_hub_id = 'facebook/PE-Lang-G14-448' ,
1278
- hf_hub_filename = 'PE-Lang-G14-448.pt' ,
1276
+ 'vit_pe_lang_gigantic_patch14_448.fb ' : _pe_cfg (
1277
+ hf_hub_id = 'timm/' ,
1278
+ # hf_hub_id='facebook/PE-Lang-G14-448',
1279
+ # hf_hub_filename='PE-Lang-G14-448.pt',
1279
1280
input_size = (3 , 448 , 448 ),
1280
1281
num_classes = 0 ,
1281
1282
),
1282
- 'vit_pe_spatial_gigantic_patch14_448' : _pe_cfg (
1283
- # hf_hub_id='timm/',
1284
- hf_hub_id = 'facebook/PE-Spatial-G14-448' ,
1285
- hf_hub_filename = 'PE-Spatial-G14-448.pt' ,
1283
+ 'vit_pe_spatial_gigantic_patch14_448.fb ' : _pe_cfg (
1284
+ hf_hub_id = 'timm/' ,
1285
+ # hf_hub_id='facebook/PE-Spatial-G14-448',
1286
+ # hf_hub_filename='PE-Spatial-G14-448.pt',
1286
1287
input_size = (3 , 448 , 448 ),
1287
1288
num_classes = 0 ,
1288
1289
),
0 commit comments