Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Label Propagation

Code for the paper:

Efficient Image Annotation via Semi-Supervised Object Segmentation with Label Propagation Vitalii Tutevych, Raphael Memmesheimer, Luca Eichler, Dmytro Pavlichenko, Fynn Schilke, Rodja Krudewig, Sven Behnke https://arxiv.org/abs/2604.22992

Examples

Dataset

The dataset used in the paper can be downloaded here:

Download dataset

Place the extracted contents under datasets/ so each object class has its own subdirectory with train/ and valid/ splits.

Setup

pip install -r requirements.txt

Place your YAML dataset recipes in recipes/ and raw datasets in datasets/. Set THEIA_CACHE_DIR to your local Theia model directory if not using the default (~/.cache/theia/).

Usage

Train labelers (trains CLIP, Theia, and ViT Hopfield classifiers on representative samples):

python scripts/train_labelers.py

Propagate labels to a validation set and evaluate:

python scripts/validate_labelers.py

Label raw datasets using a detection model (requires ultralytics):

python scripts/segment_proposer.py --to_label_dir datasets/ --detector_dir /path/to/model

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages