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

open_clip.create_model_and_transforms can't create the model. #12

Open
cyjdlhy opened this issue Jan 29, 2024 · 1 comment
Open

open_clip.create_model_and_transforms can't create the model. #12

cyjdlhy opened this issue Jan 29, 2024 · 1 comment

Comments

@cyjdlhy
Copy link

cyjdlhy commented Jan 29, 2024

thanks for your work, and I have a question about open_clip.create_model_and_transforms.
pretorianed = path/to/clip_model.bin
model, _, preprocess = open_clip.create_model_and_transforms('EVA02-E-14-plus',pretrained=pretrained)
but there are something wrong with that. it takes a few minutes to create model, and I found the memory of this model(I don's create other model) is 20GB. and I change pretrained = None, it can also create the model for a long time , and the memory is also 20GB.
this bug makes me fuses a long time, if it's ok, I need your help. thanks.

@jiaosiyu1999
Copy link

Hi, I encountered the same problem. Have you found the reason?

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