openphilanthropy / unrestricted-adversarial-examples

Contest Proposal and infrastructure for the Unrestricted Adversarial Examples Challenge
Apache License 2.0
327 stars 62 forks source link

AssertionError: Incomplete dataset #66

Open tengerye opened 5 years ago

tengerye commented 5 years ago

Hi, I got the following error and don't know what to do:

AssertionError: Incomplete dataset in /home/ubuntu/datasets/bird_or_bicycle/0.0.4/test/bird: Expected 125 images and found 0.       Please remove the corrupt dataset and try again
tengerye commented 5 years ago

I dive the problem and found that images are missing. In the dataset.py,

try:
    check_output(cmd, shell=True)
except subprocess.CalledProcessError:
    pass

I intercepted the command aws s3 --no-sign-request cp s3://open-images-dataset/train/0ad6567631c02464.jpg /home/ubuntu/datasets/bird_or_bicycle/0.0.4/train/bird and executed on the shell, it worked. But it seems not to work within python.

mani-nm commented 5 years ago

I am getting the same error on windows.

carlini commented 5 years ago

We haven't tested it on windows to the best of my knowledge, unfortunately...