- Follow https://github.com/xavihart/Diff-PGD to install the env
- download checkpoint into
ckpt/
from [here]
(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