Closed Marvinmw closed 5 years ago
All images returned by the attack are adversarial - everyone of it. If the attack could not find an adversarial it will return None. Hence, I am not sure what you mean with the validation accuracy still being high.
I get the adverarial images X _adv of X. And I compute val acc for both of them respectively. Val acc of X_avd is almost the same with val acc of X.
Anyway, after I come home, I will try it again.
Probably the way you are testing the images is different then. All images coming out of the attack should have a flipped label if evaluated with fmodel.predictions(adversarial).
I find the problem. It is caused that I build 2 same models with the different name and load the same weights. Then the result is wrong. If I delete one, the result is good. It is weird. Actually, the other model did nothing.
Great to hear that you could solve the problem!
Hi, I use some attacking method but the val acc of data is still high. I feel confused. I compare my codes with the tutorial examples. But I cannot find any reason. I use cifar10.