You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello! I am a student working on backdoor defense related to CV model. Thanks to your code, from which I have learnt much. However, when I am reading the codes to add some logs to it, I found something. In train_badnet.py, line 143, maybe the maximum value instead of the minimum one between bad_acc[0] and threshold_bad should be saved, according to line 142, which shows that the higher bad_acc[0] the better. Also, in main.py, line 184, I can not understand why the minimum value between bad_acc[0] and threshold_clean is saved. In this case, threshold_clean will be lesser than 10% in just one epoch, which would lead to the save of the model every epoch.
The text was updated successfully, but these errors were encountered:
Hello! I am a student working on backdoor defense related to CV model. Thanks to your code, from which I have learnt much. However, when I am reading the codes to add some logs to it, I found something. In train_badnet.py, line 143, maybe the maximum value instead of the minimum one between bad_acc[0] and threshold_bad should be saved, according to line 142, which shows that the higher bad_acc[0] the better. Also, in main.py, line 184, I can not understand why the minimum value between bad_acc[0] and threshold_clean is saved. In this case, threshold_clean will be lesser than 10% in just one epoch, which would lead to the save of the model every epoch.
The text was updated successfully, but these errors were encountered: