DiffAttack icon indicating copy to clipboard operation
DiffAttack copied to clipboard

test result failed

Open wxzzu opened this issue 1 year ago • 3 comments

image

when test why I encounter this error ?how can I slove this problem.I can not get the result of fid

wxzzu avatar Sep 03 '24 01:09 wxzzu

Hi @wxzzu ,

It seems there might be a conflict between the argparse.ArgumentParser() in main.py and fid_score.py.

Could you please share the input command you're using? This will help me figure out a way to resolve the issue.

WindVChen avatar Sep 03 '24 20:09 WindVChen

Thank  for your help 。 I use ‘Python main.py --is_test =True  --save_dir=resnet  --images_root =resnet  --label_path=imagenet-compatible/labels.txt’ to test on the model of  resnet.Save_dir and images_root  are the locations of the adversarial samples I generated with the Resent model. 

wxzzu avatar Sep 04 '24 01:09 wxzzu

Hi, it should be working now. You can update your code to the latest version of the repo, or check out the modifications here.

WindVChen avatar Sep 04 '24 07:09 WindVChen