OpenCLIP
AI overview
Sign in and the AI will write an overview from our coverage.
Headlines · 1
- How CLIP Turns Text Prompts into a Zero-Shot Image Classifier
A Juejin AI tutorial explains that CLIP performs zero-shot image classification by encoding candidate classes as text prompts and selecting the prompt whose embedding is most similar to the image embedding. It walks through image and text encoding, L2 normalization, cosine similarity, temperature scaling and Softmax, then provides OpenCLIP code for basic and ensemble-based classification. The article also warns that outputs depend on the candidate set, class names and prompt templates, and that closed-set selection can force an unsuitable match.
掘金 · 人工智能 · 🔥 0
Experience and discussion from the community
Share my OpenCLIP experienceAsk about OpenCLIP
Nobody has shared their experience with OpenCLIP yet.