Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to load the pretrain model #21

Closed
nooralahzadeh opened this issue Oct 23, 2020 · 6 comments
Closed

How to load the pretrain model #21

nooralahzadeh opened this issue Oct 23, 2020 · 6 comments

Comments

@nooralahzadeh
Copy link

Google released the model
How we can load them?

https://github.com/google-research/vision_transformer

@lucidrains
Copy link
Owner

lucidrains commented Oct 23, 2020

@nooralahzadeh hmmm, I'm almost sure either @rwightman would do it, or @huggingface will make a grand entrance into the computer vision space. either way, I'll do it if they don't do it within a week or two :)

@rwightman
Copy link

@nooralahzadeh @lucidrains I'm hoping I have a chance to tackle this by early next week. A quick look at their model suggests it should be fairly quick to port their weights to either this one or my PyTorch impl. It should be a matter of reshaping and possibly concating some weights or conversely, splitting some linear layers.

@lucidrains
Copy link
Owner

@rwightman thank you for all your work in the CV space :D

@rwightman
Copy link

@lucidrains and likewise thank you re the attention work. Now that latest attention and transformer ideas are colliding with CV in a big way, it's great to have reliably correct, clean PyTorch impl of the latest ideas to compare against or borrow from :)

@lucidrains
Copy link
Owner

@ghost
Copy link

ghost commented Mar 19, 2023

Did you find the pre-trained model?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants