code problem about "attack_version"
in line 104 of eval_sde_adv.py,
if attack_version == 'standard':
attack_list = ['apgd-ce', 'apgd-t', 'fab-t', 'square']
This attack_list is passed as an argument in the AutoAttack call in line 117. However, according to the definition in autoattack.py:
if version in ['standard', 'plus', 'rand'] and attacks_to_run != []:
raise ValueError("attacks_to_run will be overridden unless you use version='custom'")
Is this a potential bug in the code?
in line 104 of eval_sde_adv.py, if attack_version == 'standard': attack_list = ['apgd-ce', 'apgd-t', 'fab-t', 'square'] This attack_list is passed as an argument in the AutoAttack call in line 117. However, according to the definition in autoattack.py: if version in ['standard', 'plus', 'rand'] and attacks_to_run != []: raise ValueError("attacks_to_run will be overridden unless you use version='custom'") Is this a potential bug in the code?
![]()
I have the same question, I saw one closed issue which mentioned to delete some codes, but I dont know if there will be some mistakes.
