MadryLab / blackbox-bandits

Code for "Prior Convictions: Black-Box Adversarial Attacks with Bandits and Priors"
https://arxiv.org/abs/1807.07978
MIT License
61 stars 14 forks source link

Query count problem? #8

Open machanic opened 4 years ago

machanic commented 4 years ago

I notice that the query count of Bandits attack does not count a query of determining whether attack succesfully and thus break the for-loop. In In https://github.com/MadryLab/blackbox-bandits/blob/e50323c13d5beac9a36f28c675ce0deef041e44b/src/main.py#L172

Why don't count that query, I think the query count is lower than real .