M2PT icon indicating copy to clipboard operation
M2PT copied to clipboard

权重加载问题

Open 1yuechu1 opened this issue 9 months ago • 0 comments

作者您好,当我从给定链接下载权重并进行加载的时候,显示 Expected state_dict to be dict-like, got <class 'timm.models.vision_transformer.VisionTransformer'>. 请问这种情况该怎么解决呢,谢谢

1yuechu1 avatar May 13 '24 02:05 1yuechu1