openai / CLIP

CLIP (Contrastive Language-Image Pretraining), Predict the most relevant text snippet given an image
MIT License
24.7k stars 3.21k forks source link

Is there any way to use the Clip model in the Java technology stack? #364

Closed zhangjh closed 1 year ago

zhangjh commented 1 year ago

As the title mentioned, Is there any ways to use clip in java or android? Googled a long time, no useful infos searched...

hrithickcodes commented 1 year ago

Possible, you can convert the weights to tflite or onnx and integrate it in your java project. You can use quantization as well to reduce the size of the model.

zhangjh commented 1 year ago

Thanks for answering. Have used onnx already.