Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test result failed #25

Open
wxzzu opened this issue Sep 3, 2024 · 3 comments
Open

test result failed #25

wxzzu opened this issue Sep 3, 2024 · 3 comments

Comments

@wxzzu
Copy link

wxzzu commented Sep 3, 2024

image

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

@WindVChen
Copy link
Owner

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.

@wxzzu
Copy link
Author

wxzzu commented Sep 4, 2024

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. 

@WindVChen
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants