woshixuhao / semantic-explainable-AI

The codes and dataset for the semantic explainable AI (S-XAI)
14 stars 4 forks source link

No such file or directory: 'D:\\pycharm project\\VAE_PDE\\fake_picture\\cat-fake-dog-PGD-0.05.npy' #4

Open AlphaGoooo opened 1 year ago

AlphaGoooo commented 1 year ago

When running the function identify_adverse(in S-XAI.py), I was told that there is no such file: cat-fake-dog-PGD-0.05.npy(and I found that I also don't have the file:cat-true-dog-PGD-0.01), so I wonder how I can generate or download these two files, thanks. What's more, I've already create the directory--fake_picture.

woshixuhao commented 1 year ago

The two files can be downloaded from: https://drive.google.com/file/d/1eva7BKj3SwLr97G4hH0L85YIFrHcinFK/view?usp=sharing, https://drive.google.com/file/d/1f2obfn8Fw-GWXH60zB7syVx2PMJXyo1F/view?usp=sharing They are pictures that use PGD attack way to make the cat to be identified as dog. If you want to generate other pictures, you can search for the PGD paper which provides a detailed approach

AlphaGoooo commented 1 year ago

thanks a lot