pytorch-image-models icon indicating copy to clipboard operation
pytorch-image-models copied to clipboard

[BUG] Not able to load `eva_giant_patch14_560.m30m_ft_in22k_in1k` model

Open MohamedAliRashad opened this issue 2 years ago • 1 comments

I think there is a split function in the reading of the model name that doesn't read the full name of the model.

To Reproduce

import timm

model = timm.create_model("hf_hub:timm/eva_giant_patch14_560.m30m_ft_in22k_in1k")

Error

RuntimeError: Unknown model (eva_giant_patch14_560)

MohamedAliRashad avatar Jan 12 '23 09:01 MohamedAliRashad

@MohamedAliRashad you need a version of timm with that model, recent 0.8.x pre-releases / main branch have it.

rwightman avatar Jan 12 '23 23:01 rwightman