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

dafault path of data_dir is wrong in ./autoattacks/train_fgsm.py #5

Open
changzhang777 opened this issue Dec 20, 2021 · 0 comments
Open

Comments

@changzhang777
Copy link

if you have tried ./main.py and prepared datasets in ./data, and you want to train the code in ./autoattacks like me, attention here.
in line 26 of train_fgsm.py:
parser.add_argument('--data-dir', default='../data', type=str)
should be modifieed to:
parser.add_argument('--data-dir', default='../data/cifar10', type=str)

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

1 participant