nn-quantization-pytorch icon indicating copy to clipboard operation
nn-quantization-pytorch copied to clipboard

FileNotFoundError: Couldn't find any class folder in `/home/cvds_lab/datasets/ILSVRC2012/val`

Open PalgunaGopireddy opened this issue 2 years ago • 2 comments

I have downloaded the validation dataset [Validation images (all tasks)](https://image-net.org/data/ILSVRC/2012/ILSVRC2012_img_val.tar). 6.3GB. MD5: 29b22e2961454d5413ddabcf34fc5622 from https://image-net.org/challenges/LSVRC/2012/2012-downloads.php

I ran python lapq/lapq_v2.py -a resnet18 -b 512 --dataset imagenet --pretrained --custom_resnet --min_method Powell -maxi 2 -cs 512 -exp lapq_v2 -ba 4 -bw 4 -bcw

But it is showing

FileNotFoundError: Couldn't find any class folder in /home/cvds_lab/datasets/ILSVRC2012/val

What should I do? Did I download the wrong dataset?

PalgunaGopireddy avatar Aug 07 '23 06:08 PalgunaGopireddy

I am facing the exact same issue. Please any help?

wassimbensalem avatar Dec 12 '23 13:12 wassimbensalem

Check preprocessing instructions https://github.com/facebook/fb.resnet.torch/blob/master/INSTALL.md#download-the-imagenet-dataset

Randl avatar Dec 12 '23 13:12 Randl