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

Load the ckpts for LaViLa #4

Open
yyvhang opened this issue Feb 29, 2024 · 1 comment
Open

Load the ckpts for LaViLa #4

yyvhang opened this issue Feb 29, 2024 · 1 comment

Comments

@yyvhang
Copy link

yyvhang commented Feb 29, 2024

Hi, thanks for opening the pre-trained ckpts. I want to know is it possible to load the checkpoint here for the model in LaViLa?
I check the 'state_dict', but it seems that the two do not correspond. Could you please provide a simple script to implement this loading?
Thanks!

@zhaoyue-zephyrus
Copy link
Owner

hey @yyvhang

Yea it's technically possible to plug the checkpoint in LaViLa. To do so, you also need to add this model config into their model as well into the LaViLa. Now LaViLa only support OpenAI's VisionTransformer (this has some key mismatch with the AVION's VisionTransformer due to some memory-efficient improvement) and LaViLa's SpaceTimeTransformer.

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

2 participants