Kayzaks / HackingNeuralNetworks

A small course on exploiting and defending neural networks
MIT License
2.55k stars 300 forks source link

Update solution_3_0.py #2

Closed PatrickSpeicher closed 4 years ago

PatrickSpeicher commented 4 years ago

moved successes counter into the loop to correctly count the number of successes. Unfortunately, the proposed solution cannot find an intensity with a success rate of about 10% or better!

Kayzaks commented 4 years ago

Great find! Didn't notice it. I'll be adding a patched version of the solution that includes one for 5% and 10% shortly