-
Paper - https://arxiv.org/abs/2103.10697 Hey @rwightman - planning to add ConViT to TIMM with pretrained weights. Believe this should be slightly easier as the official code is available in PyTorch (they use TIMM too). Based on initial triage, I think I should be able to wrap this up in the next day or two. Just want to double check before I start in case you already have plans to get ConViT in TIMM and have code ready locally waiting to be merged. Let me know :) |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 12 replies
-
@amaarora no, I don't have that one in progress, I do have LeVit on the go though. Switched gears to get EffV2 out. One issue with this one, and the reason I didn't touch it, it has a non-commercial license. So I can't include it here. |
Beta Was this translation helpful? Give feedback.
-
Hey @rwightman - you should be able to find pre-trained weights for Please note I didn;t train the weights myself but edited the keys to match TIMM from here. You should now be able to do: import timm
m = timm.create_model('visformer_small')
m.load_state_dict(torch.load(<path _to_model>)) Hope this helps. |
Beta Was this translation helpful? Give feedback.
@amaarora no, I don't have that one in progress, I do have LeVit on the go though. Switched gears to get EffV2 out.
One issue with this one, and the reason I didn't touch it, it has a non-commercial license. So I can't include it here.