Retrieves target images using a reference image paired with text modifications via fine-tuned CLIP features.
Combine image queries with natural language text edits to search visual databases with multimodal embeddings.
CLIP4Cir is an open-source PyTorch implementation for Composed Image Retrieval (CIR) based on OpenAI's CLIP architecture. It allows developers and researchers to retrieve target images using a baseline reference image combined with descriptive text edits. It suits video research and media indexing teams building multimodal search systems.
The framework fine-tunes both CLIP encoders using contrastive loss on combined image-text queries and target images. It then trains a dedicated Combiner network from scratch to merge image and text feature vectors into a unified embedding for database lookup. Pre-trained weights for FashionIQ and CIRR datasets are provided alongside training and evaluation scripts.
This tool suits computer vision researchers, video media asset management engineers, and ML developers building image-and-text query pipelines. It is not designed for end users looking for a finished desktop video editor GUI or plug-and-play browser tool.
Updates both visual and textual CLIP encoders using an element-wise feature sum and contrastive loss.
Trains a specialized fusion network to combine image and relative caption features into a single query vector.
Provides ready-to-use PyTorch model checkpoints trained on the FashionIQ and CIRR datasets via GitHub releases.
Includes scripts for validation and CIRR test submission generation alongside Comet.ml experiment logging support.
CLIP4Cir is completely free and open source under the MIT license. The primary costs come from providing your own GPU compute infrastructure and storage for large image datasets.
879 open remote AI-training roles, updated November 15, 2026; most pay $20–$175 an hour. Zekai lists them free; the application goes to the employer’s platform.
Composed Image Retrieval allows you to search a visual database using a reference image alongside a text prompt specifying desired changes.
While you can theoretically load PyTorch on CPU, running fine-tuning or full dataset retrieval within a practical timeframe requires a CUDA-capable GPU.
Yes, pre-trained CLIP and Combiner network checkpoints for FashionIQ and CIRR are hosted on the project GitHub releases page.
See Zekai first in Google