Coder Social home page Coder Social logo

disdiff's Introduction

DisDiff (ACM MM2024) ๐ŸŒŸ

arXiv

Official Code of Disrupting Diffusion: Token-Level Attention Erasure Attack against Diffusion-based Customization(ACM MM2024)

image

Environment

Please follow Anti-DreamBooth to install the environment&base codes&datasets.

For visualizations, use this notebook of Attend and excite.

Codes and Usage

Concat the attacks and scripts folders with the same name folders in Anti-DreamBooth.

Then conduct

bash scripts/disdiff.sh 

Cite

If you find DisDiff is helpful to your work, please cite our work

@article{liu2024disrupting,
  title={Disrupting Diffusion: Token-Level Attention Erasure Attack against Diffusion-based Customization},
  author={Liu, Yisu and An, Jinyang and Zhang, Wanqian and Wu, Dayan and Gu, Jingzi and Lin, Zheng and Wang, Weiping},
  journal={arXiv preprint arXiv:2405.20584},
  year={2024}
}

disdiff's People

Contributors

riolys avatar

Stargazers

 avatar Xinxu Ge avatar Jiachen Zhou avatar  avatar

Watchers

Kostas Georgiou avatar  avatar

disdiff's Issues

Missing detailed environment configuration and some necessary running modules

Dear authors, I meet the following problems:

  1. train_dreambooth.py used in disdiff.sh is lacked.
  2. Line 32 of disdiff.py, "from show_attention import Attmap" causes an error "ModuleNotFoundError: No module named 'show_attention", I cannot find this module from your codes.
    I also suggest you provide detailed environment configuration in this repository, such as a requirements.txt.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.