Skip to content

Code for "TAG: Guidance-free Open-Vocabulary Semantic Segmentation"

Notifications You must be signed in to change notification settings

Valkyrja3607/TAG

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TAG: Guidance-free Open-Vocabulary Semantic Segmentation

This repo is the official implementation of "TAG: Guidance-free Open-Vocabulary Semantic Segmentation".

TAG is a novel approach to open-vocabulary semantic segmentation that operates without the need for training, annotation, or user guidance. It leverages pre-trained models like CLIP and DINO to categorize each pixel in an image into meaningful classes, bypassing the traditional requirements for pixel-level annotations and extensive training. By retrieving class labels from an external database, TAG offers the flexibility to handle new scenarios and adapt to various contexts. Demonstrating significant advancements, TAG has achieved state-of-the-art results on benchmark datasets such as PascalVOC, PascalContext, and ADE20K, making it a promising solution for overcoming the limitations of current semantic segmentation methods.

Alt text

Our TAG can segment an image into meaningful segments without training, annotation, or guidance. It successfully segments structures such as 'cat' and 'bathroom'. Unlike traditional open-vocabulary semantic segmentation methods, TAG can segment and categorize without text-guidance.

Alt text

Installation

Install with Docker.

make build

To install docker to your environment, please refer to this repository.

To download database, please run like below.

make download_database

Dataset

Please set DATASET_DIR variable in Makefile to directory your dataset is containing. This implementation use PascalVOC as default dataset. The following structure is assumed.

── datasets
   ├── cityscapes
   ├── cocostuff
   └── VOCdevkit

Run

To run TAG code, please run like below.

make run

To enter docker container, please run like below.

make bash

Result

Result will be contained under outputs directory.

About

Code for "TAG: Guidance-free Open-Vocabulary Semantic Segmentation"

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages