Datasets:
Where are the labels?
I download file val_images.tar.gz but no label in it, just images. Where can I get labels shown in DatasetViewer on website?
Indeed, the classes are set in the scripts at the root (https://huggingface.co/datasets/imagenet-1k/tree/main).
But you can use your preferred tools on the Parquet files (https://huggingface.co/datasets/imagenet-1k/tree/refs%2Fconvert%2Fparquet/default) we generate automatically. We published guides for ClickHouse, DuckDB, Pandas, Polars and mlcroissant at https://huggingface.co/docs/datasets-server/parquet_process. Note that these auto-converted Parquet files are partial (only the first 5GB).
As an alternative, you can use the HF datasets library: https://huggingface.co/datasets/imagenet-1k?library=true
It's my honor to receive your reply! I get that, thank you very much.