SlotDiffusion: Unsupervised Object-Centric Learning with Diffusion Models
Ziyi Wu,
Jingyu Hu,
Wuyue Lu,
Igor Gilitschenski,
Animesh Garg
NeurIPS'23 |
GitHub |
arXiv |
Project page
Unsupervised Video Object Segmentation
Video | GT | Ours |
Slot-based Image Editing
This is the official PyTorch implementation for paper: [SlotDiffusion: Unsupervised Object-Centric Learning with Diffusion Models](). The code contains:
Please refer to install.md for step-by-step guidance on how to install the packages.
This codebase is tailored to Slurm GPU clusters with preemption mechanism. For the configs, we mainly use A40 with 40GB memory (though many experiments don't require so much memory). Please modify the code accordingly if you are using other hardware settings:
scripts/train.py
and change the fields marked by TODO:
Please refer to data.md for dataset downloading and pre-processing.
Please see benchmark.md for detailed instructions on how to reproduce our results in the paper.
See the troubleshooting section of nerv for potential issues.
Please open an issue if you encounter any errors running the code.
Please cite our paper if you find it useful in your research:
@article{wu2023slotdiffusion,
title={SlotDiffusion: Object-Centric Generative Modeling with Diffusion Models},
author={Wu, Ziyi and Hu, Jingyu and Lu, Wuyue and Gilitschenski, Igor and Garg, Animesh},
journal={NeurIPS},
year={2023}
}
We thank the authors of Slot Attention, slot_attention.pytorch, SAVi, SLATE, STEVE, Latent Diffusion Models, DPM-Solver, DINOSAUR, MaskContrast and SlotFormer for opening source their wonderful works.
SlotDiffusion is released under the MIT License. See the LICENSE file for more details.
If you have any questions about the code, please contact Ziyi Wu dazitu616@gmail.com