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 export OpenCLIP models to ONNX format? #23

Open
pntt3011 opened this issue Mar 17, 2024 · 2 comments
Open

How to export OpenCLIP models to ONNX format? #23

pntt3011 opened this issue Mar 17, 2024 · 2 comments

Comments

@pntt3011
Copy link

pntt3011 commented Mar 17, 2024

Hi @slavabarkov, I truly appreciate your contribution in making the CLIP model viable on Android devices.

Can I have the code you used to export the OpenCLIP model to ONNX format?

I want to export OpenCLIP's ViT-B-32 datacomp_xl_s13b_b90k model as it has higher accuracy in their benchmarks.

I also tried PicQuery code, so far it worked but the exported model was 10MB bigger than yours.

@junxiant
Copy link

Did u find a solution?

@aviv926
Copy link

aviv926 commented Aug 26, 2024

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