cleverhans-lab / cleverhans

An adversarial example library for constructing attacks, building defenses, and benchmarking both
MIT License
6.2k stars 1.39k forks source link

some error in Deepfool attack #486

Closed Erpim closed 6 years ago

Erpim commented 6 years ago

I rewrote the program to verify deepfool attack according to fgsm demo, but there seems to be some problems during the process. It seems to be a problem with the session delivery process. self.Sess is used before the session created.So the sess is always none. Can you help me with it, or provide a tutorial for deepfool?

goodfeli commented 6 years ago

Can you post an actual code snippet that fails?

cihangxie commented 6 years ago

You can take a look at https://github.com/tensorflow/cleverhans/pull/260/files#diff-c7cecf126d79fa92482e5b42b1be1958.

Basically, this tutorial is very similar to C&W tutorial, so is not merged in the official cleverhans

npapernot commented 6 years ago

@Erpim: feel free to reopen this issue if the tutorial provided by @cihangxie does not solve your problem.