rom1504 / clip-retrieval

Easily compute clip embeddings and build a clip retrieval system with them
https://rom1504.github.io/clip-retrieval/
MIT License
2.42k stars 213 forks source link

How to use my finetined clip checkpoint #372

Closed IF-chan closed 7 months ago

rom1504 commented 8 months ago

open_clip:ViT-B-32/yourpath.pt

IF-chan commented 8 months ago

open_clip:ViT-B-32/yourpath.pt

And how to use open clip model offline?

rom1504 commented 8 months ago

You can follow clip retrieval readme it is instructions for running locally

On Thu, Mar 14, 2024, 8:43 AM IF-chan @.***> wrote:

open_clip:ViT-B-32/yourpath.pt

And how can I use open clip model locally?

— Reply to this email directly, view it on GitHub https://github.com/rom1504/clip-retrieval/issues/372#issuecomment-1996751811, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAR437X5DFEXBSLIKGXFZNTYYFIJVAVCNFSM6AAAAABEUTKL5OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOJWG42TCOBRGE . You are receiving this because you commented.Message ID: @.***>

IF-chan commented 8 months ago

You can follow clip retrieval readme it is instructions for running locally On Thu, Mar 14, 2024, 8:43 AM IF-chan @.> wrote: open_clip:ViT-B-32/yourpath.pt And how can I use open clip model locally? — Reply to this email directly, view it on GitHub <#372 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAR437X5DFEXBSLIKGXFZNTYYFIJVAVCNFSM6AAAAABEUTKL5OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOJWG42TCOBRGE . You are receiving this because you commented.Message ID: @.>

I mean I want to load the model file on the local

rom1504 commented 8 months ago

Then use open_clip:ViT-B-32/yourpath.pt

On Thu, Mar 14, 2024, 11:34 AM IF-chan @.***> wrote:

You can follow clip retrieval readme it is instructions for running locally … <#m1435797397253820798> On Thu, Mar 14, 2024, 8:43 AM IF-chan @.> wrote: open_clip:ViT-B-32/yourpath.pt http://yourpath.pt And how can I use open clip model locally? — Reply to this email directly, view it on GitHub <#372 (comment) https://github.com/rom1504/clip-retrieval/issues/372#issuecomment-1996751811>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAR437X5DFEXBSLIKGXFZNTYYFIJVAVCNFSM6AAAAABEUTKL5OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOJWG42TCOBRGE https://github.com/notifications/unsubscribe-auth/AAR437X5DFEXBSLIKGXFZNTYYFIJVAVCNFSM6AAAAABEUTKL5OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOJWG42TCOBRGE . You are receiving this because you commented.Message ID: @.>

I mean I want to load the model file on the local

— Reply to this email directly, view it on GitHub https://github.com/rom1504/clip-retrieval/issues/372#issuecomment-1997131896, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAR437SQ6OLDEIVOWTFEN43YYF4K5AVCNFSM6AAAAABEUTKL5OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOJXGEZTCOBZGY . You are receiving this because you commented.Message ID: @.***>

IF-chan commented 8 months ago

Then use open_clip:ViT-B-32/yourpath.pt On Thu, Mar 14, 2024, 11:34 AM IF-chan @.> wrote: You can follow clip retrieval readme it is instructions for running locally … <#m1435797397253820798> On Thu, Mar 14, 2024, 8:43 AM IF-chan @.> wrote: open_clip:ViT-B-32/yourpath.pt http://yourpath.pt And how can I use open clip model locally? — Reply to this email directly, view it on GitHub <#372 (comment) <#372 (comment)>>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAR437X5DFEXBSLIKGXFZNTYYFIJVAVCNFSM6AAAAABEUTKL5OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOJWG42TCOBRGE https://github.com/notifications/unsubscribe-auth/AAR437X5DFEXBSLIKGXFZNTYYFIJVAVCNFSM6AAAAABEUTKL5OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOJWG42TCOBRGE . You are receiving this because you commented.Message ID: @.> I mean I want to load the model file on the local — Reply to this email directly, view it on GitHub <#372 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAR437SQ6OLDEIVOWTFEN43YYF4K5AVCNFSM6AAAAABEUTKL5OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOJXGEZTCOBZGY . You are receiving this because you commented.Message ID: @.>

I mean the "open_clip:ViT-B-32" part (pretrained part I think) to change with the model on the local file

rom1504 commented 8 months ago

open_clip:ViT-B-32 is the definition of the architecture

yourpath.pt is your local model