Skip to content

xavihart/pdm_attack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Installation:

  1. Follow https://github.com/xavihart/Diff-PGD to install the env
  2. download checkpoint into ckpt/ from [here]

Run:

(1) Basic AdvDM for PDM (ADM):

python -m scripts.attack_pdm --image_path parrot.png

(3) Attack PDM in (arxiv):

python -m scripts.attack_pdm_plus --image_path parrot.png --respace ddim100 

use ddim100 to accelerate

About

attack pixel space diffusion models

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages