HazyResearch / meerkat

Creative interactive views of any dataset.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[BUG] Downloading imagenet does not work

MaxFBurg opened this issue · comments

Describe the bug
Downloading imagenet like this does not work:

dp = mk.datasets.get(
    "imagenet", 
    dataset_dir="/home/ec2-user/data/imagenet1k",
    download=True,
)

Fails with FileNotFoundError: [Errno 2] No such file or directory: '/home/ec2-user/data/imagenet1k/ILSVRC/ImageSets/CLS-LOC/train_cls.txt'

To Reproduce
Steps and code snippet that reproduce the behavior:

  1. Code snippet '....'
  2. Instructions (Run '...')
  3. Errors and traceback '....'

See above

Include any relevant screenshots.

Expected behavior
Should download imagenet1k to the specified dataset_dir.

System Information

  • OS: Linux
  • Versions for RG and relevant dependencies meerkat-ml (latest)

Additional context
Add any other context about the problem here.

Hi, thanks for the report, try:

dp = mk.datasets.get(
    "imagenet", 
    dataset_dir="/home/ec2-user/data/imagenet1k",
    download_mode="force",
)