textfool icon indicating copy to clipboard operation
textfool copied to clipboard

Fooling success rate is zero

Open kgramm9026 opened this issue 6 years ago • 3 comments

Hi Guys, When I run the script (run_demo) with the model file generated from the run_training, I get

Model accuracy on adversarial examples: 0.6645 Fooling success rate: 0.0 Most of the adversarial examples generated are exactly similar to the original examples.I haven't changed any of the default flags in the run_demo script. Please let me know if I am doing something incorrectly.

kgramm9026 avatar May 18 '18 17:05 kgramm9026

Hi Guys, When I run the script (run_demo) with the model file generated from the run_training, I get

Model accuracy on adversarial examples: 0.6645 Fooling success rate: 0.0 Most of the adversarial examples generated are exactly similar to the original examples.I haven't changed any of the default flags in the run_demo script. Please let me know if I am doing something incorrectly.

I have the same problem with you. Can you solve it now?

minfeixia avatar Sep 15 '18 06:09 minfeixia

@minfeixia I haven't had any success after

kgramm9026 avatar Sep 21 '18 00:09 kgramm9026

Folks, thanks for your interest. It seems that a bunch of dependencies (specifically, I suspect spacy is one of the culprits) have broken some of the code in this repo. I am not sure, but perhaps running on an older version of Ubuntu might help.

We are currently working on a better, extended, and a more generic version of the textfool's framework. Since I have very limited resources time-wise now, I would rather spend them on the new improved version, which should be out soon-ish.

bogdan-kulynych avatar Sep 21 '18 13:09 bogdan-kulynych