gongzhitaao/adversarial-classifier

May I use it?

Closed this issue · 3 comments

Hello,sir.
May I need to train the binary classfier? Can not I use it to detect adversarial samples?

Sure. Feel feel to grab snippets of the code for your project. It is MIT-licence, so you are free to do anything 😄
The only thing I'm worried about is the version. The classifier was written with tf1.4, which is already deprecated. You might need to migrate some of the code to tf2.
Good luck!

Oh,that is good.Thank you!And is there code for training the binary classfier?

adversarial-classifier/src/table_1_mnist.py
But it is just standard binary classifier, you could use whatever framework you like, e.g., tf2, pytorch, jax, etc.