-
Notifications
You must be signed in to change notification settings - Fork 13
A question when analyzing the code #18
Copy link
Copy link
Open
Description
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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels