Skip to content

loeweX/RotatingFeatures

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rotating Features for Object Discovery

Our proposed Rotating Features learn to represent object affiliation via their orientation on real-world data without labels. We achieve this by extending standard features by an extra dimension across the entire architecture. We then set up the layer structure in such a way that the Rotating Features’ magnitudes learn to represent the presence of features, while their orientations learn to represent object affiliation. This allows us to achieve strong object discovery performance on real-world images in an unsupervised way.

This repository contains the code for the paper Rotating Features for Object Discovery by Sindy Löwe, Phillip Lippe, Francesco Locatello and Max Welling.

Rotating Features for Object Discovery

Setup

  • Install conda
  • Adjust the setup_environment.sh script to your needs (e.g. by setting the right CUDA version)
  • Run the setup script:
bash setup_environment.sh
  • Run the download script to download the 4Shapes datasets, FoodSeg103 and Pascal VOC 2012:
bash download_data.sh

Run Experiments

  • Train and evaluate an autoencoding model with Rotating Features on the provided datasets:
source activate RotatingFeatures
python -m codebase.main +experiment=4Shapes
python -m codebase.main +experiment=4Shapes_RGBD
python -m codebase.main +experiment=FoodSeg
python -m codebase.main +experiment=Pascal

Citation

When using this code, please cite our paper:

@article{lowe2023rotating,
  title={Rotating Features for Object Discovery},
  author={L{\"o}we, Sindy and Lippe, Phillip and Locatello, Francesco and Welling, Max},
  journal={Advances in Neural Information Processing Systems (NeurIPS)},
  year={2023}
}

Contact

For questions and suggestions, feel free to open an issue on GitHub or send an email to loewe.sindy@gmail.com.

About

Code for the paper: Rotating Features for Object Discovery

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published