Open Yvonne120 opened 2 months ago
I just used another method. I run poison_test.py and print target_label, poison_label and net(target_img) labels, but I already get target_label = net(target_img), it looks like poison_test doesn't work.
I think there might be confusion about which is target_label and poison_label.
if this is the bug feel free to fix and issue a pull request. If you think there's another bug, we can keep looking.
Hi, I try to run posion_test.py , it can run successfully, but I get cmd print: ==> Training network... 20240801 16:57:32 Epoch: 19 , Loss: 0.0029602883156011465 , Training acc: 99.944 , Natural accuracy: 94.18 , poison success: False 20240801 17:01:50 Epoch: 39 , Loss: 0.0004956567351964762 , Training acc: 100.0 , Natural accuracy: 94.55 , poison success: False 20240801 17:07:43 Epoch: 59 , Loss: 0.0005217075942333102 , Training acc: 100.0 , Natural accuracy: 94.6 , poison success: False 20240801 17:13:38 Epoch: 79 , Loss: 0.00597344000894955 , Training acc: 99.84 , Natural accuracy: 92.68 , poison success: False It looks like poison doesn't work, why is that?