Circumventing Concept Erasure Methods For Text-to-Image Models
September 24, 2023 · View on GitHub
Project Website | Arxiv Preprint
Starting Guide
To get started, create a new conda environment and install the required packages:
conda create -f environment.yml
Optional: Get used to the 🤗Textual Inversion GitHub repository.
Training Guide
We provide Concept Inversion code for the following methods:
- Erased Stable Diffusion (ESD) in the
/esdfolder. - Forget-Me-Not (FMN) in the
/fmnfolder. - Selective Amnesia (SA) in the
/safolder. - Negative Prompt (NP) in the
/npfolder. - Safe Latent Diffusion (SLD) in the
/sldfolder.
Please refer to each folder for additional instructions, which is designed to be self-contained.
Acknowledgements
We would like to thank the authors of 🤗Difusersfor relesing their helpful codebases.