Harry24k / adversarial-attacks-pytorch

PyTorch implementation of adversarial attacks [torchattacks].
https://adversarial-attacks-pytorch.readthedocs.io/en/latest/index.html
MIT License
1.79k stars 337 forks source link

FileNotFoundError: [Errno 2] No such file or directory: './data/imagenet_class_index.json' #181

Open Qucl457 opened 2 months ago

Qucl457 commented 2 months ago

❔ Any questions

I was trying to implement the White-box Attack on ImageNet but got this error.FileNotFoundError: [Errno 2] No such file or directory: './data/imagenet_class_index.json' may I know where to get the './data/imagenet_class_index.json'? Thanks in advance!

rikonaka commented 2 months ago

Hi @Qucl457 , according to your description I cannot figure out what your need is, please see here https://github.com/Harry24k/adversarial-attacks-pytorch/issues/177 for imagenet dataset help.

Qucl457 commented 2 months ago

Hi @Qucl457 , according to your description I cannot figure out what your need is, please see here #177 for imagenet dataset help.

I have found the website for utils.py now. The issue has been resolved. Thank you.😀