Skip to content
This repository has been archived by the owner on Aug 1, 2024. It is now read-only.

imagenet1k Huggingface extraction #54

Open
AasherH opened this issue Feb 4, 2024 · 1 comment
Open

imagenet1k Huggingface extraction #54

AasherH opened this issue Feb 4, 2024 · 1 comment

Comments

@AasherH
Copy link

AasherH commented Feb 4, 2024

Hi. I downloaded the imagenet1k file from huggingface, which has the train_images_0.tar.gz file. However, whenever I extract it (by running tar -xf train_images_0.tar.gz), I only get images, and not subfolders, which torchvision expects. Therefore, whenever I run main.py, I get a FileNotFoundError(f"Couldn't find any class folder in {directory}.").

Does anyone know how to successfully curate the data so that I can get the ijepa code working?

Thanks!

@mikerabbat
Copy link

Hi, try this https://github.com/williamFalcon/pytorch-imagenet-dataset/blob/master/README.md

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants