lucidrains / x-clip

A concise but complete implementation of CLIP with various experimental improvements from recent papers
MIT License
666 stars 47 forks source link

some quesiton about x_clip #14

Open chengyi-21 opened 1 year ago

chengyi-21 commented 1 year ago

Dear Lucidrains,

Thanks for your selfless contribution and outstanding work, it is beneficial. I'm an ML beginner, so my foundation is not solid. I have a question about x_clip.

I'm programming a student-oriented image-searching demo by CLIP, and I want to compare the difference between origin CLIP and x_clip; in the searching program, I can implement CLIP by (device = 'cuda' model, preprocess = clip.load('ViT-B/32', device=device)). Still, I'm not sure how to realise this function by x_clip. Would you please solve my question without disturbing you?