Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

CLIP-DIY: CLIP Dense Inference Yields Open-Vocabulary Semantic Segmentation For-Free

About

The emergence of CLIP has opened the way for open-world image perception. The zero-shot classification capabilities of the model are impressive but are harder to use for dense tasks such as image segmentation. Several methods have proposed different modifications and learning schemes to produce dense output. Instead, we propose in this work an open-vocabulary semantic segmentation method, dubbed CLIP-DIY, which does not require any additional training or annotations, but instead leverages existing unsupervised object localization approaches. In particular, CLIP-DIY is a multi-scale approach that directly exploits CLIP classification abilities on patches of different sizes and aggregates the decision in a single map. We further guide the segmentation using foreground/background scores obtained using unsupervised object localization methods. With our method, we obtain state-of-the-art zero-shot semantic segmentation results on PASCAL VOC and perform on par with the best methods on COCO. The code is available at http://github.com/wysoczanska/clip-diy

Monika Wysocza\'nska, Micha\"el Ramamonjisoa, Tomasz Trzci\'nski, Oriane Sim\'eoni• 2023

Related benchmarks

TaskDatasetResultRank
Semantic segmentationPascal VOC (test)
mIoU59.9
236
Semantic segmentationPascal Context
mIoU19.7
111
Semantic segmentationCOCO Object
mIoU31
73
Open Vocabulary Semantic SegmentationPascal VOC 20
mIoU79.7
62
Open-Vocabulary SegmentationCityscapes
mIoU11.6
49
Open-Vocabulary SegmentationCOCO Object
mIoU31
20
Open-Vocabulary SegmentationPascal Context
mIoU19.7
20
Open-Vocabulary SegmentationADE20K
mIoU9.9
18
Open Vocabulary Semantic SegmentationPascal VOC
mIoU59.9
14
Open Vocabulary Semantic SegmentationPascal Context 59
mIoU19.8
10
Showing 10 of 11 rows

Other info

Follow for update