Skip to content

Adaptive-Slot-Centric is a semi-supervised instance segmentation model that enhances image segmentation by adapting to out-of-distribution examples using slot-centric models.

Notifications You must be signed in to change notification settings

reapersy/adaptive-slot-centric

Repository files navigation

Test-time Adaptation with Slot-Centric Models

arXiv Website

Model figure

Abstract

This repository contains the source code for the experimental adaptation of a semi-supervised instance segmentation model, which seeks to improve its performance by adapting to out-of-distribution scenes. The model leverages slot-centric generative models in the process of adaptation. We provide detailed instructions on how to install and use the model, as well as code for conducting 2D RGB experiments.

Code

Installation

We use Pytorch 2.0 for all our experiments. We use wandb for logging the results. Install conda (instructions here). Create a conda environment using the below commands:

conda create -n slot_tta python=3.8.5
conda activate slot_tta

Install the required pip packages using the below command:

pip install -r requirement.txt

Training Code

python main.py +experiment=clevr_train

Test-Time Adaptation Code

In order to load with your own checkpoint, simply update the load_folder variable as shown below. For intermediate TTA result visualization, set deep_tta_vis variable to True

python main.py +experiment=clevrtex_tta load_folder=checkpoint/clevr_train/checkpoint.pt

Citation

If you find this work useful in your research, please cite:

@inproceedings{prabhudesai2022test,
title={Test-time Adaptation with Slot-Centric Models},
author={Prabhudesai, Mihir and Goyal, Anirudh and Paul, Sujoy and van Steenkiste, Sjoerd and Sajjadi, Mehdi SM and Aggarwal, Gaurav and Kipf, Thomas and Pathak, Deepak and Fragkiadaki, Katerina},
journal={arXiv preprint arXiv:2203.11194},
year={2022}
}

About

Adaptive-Slot-Centric is a semi-supervised instance segmentation model that enhances image segmentation by adapting to out-of-distribution examples using slot-centric models.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages