Skip to content

joellliu/DiffProtect

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DiffProtect: Generate Adversarial Examples with Diffusion Models for Facial Privacy Protection

Welcome to the official repository for the method presented in DiffProtect: Generate Adversarial Examples with Diffusion Models for Facial Privacy Protection by Jiang Liu*, Chun Pong Lau*, and Rama Chellappa. Pipeline Image

Updates

Aug 1th, 2023 Preview code release.

Setting Up

Install dependency

pip install -r requirements.txt

Prepare model checkpoints

  1. Download DiffAE checkpoint ffhq256_autoenc to ./checkpoints
  2. Download the weights for victim models from here and extract to ./assets

Run the code

python demo.py

Citation

Please cite our paper if you find this codebase helpful :)

@article{liu2023diffprotect,
  title={DiffProtect: Generate Adversarial Examples with Diffusion Models for Facial Privacy Protection},
  author={Liu, Jiang and Lau, Chun Pong and Chellappa, Rama},
  journal={arXiv preprint arXiv:2305.13625},
  year={2023}
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages