Skip to content

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

Description

@changzhang777

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)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions