-
Notifications
You must be signed in to change notification settings - Fork 7.1k
Meta file not found or corrupted. #1645
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
For a description of what the To create it in vision/torchvision/datasets/imagenet.py Lines 69 to 80 in a263704
Of course you can also perform these steps manually to create the meta file. |
The same error occurred in my code. I was trying to use the torchvision to load the imagenet datasets downloaded by myself. The key problem is that the format of the self downloaded datasets do not match the given datasets. We have to make our own meta.bin by ourselves just like the one provided in the package. |
We will be soon releasing a new version of torchvision, which will fix this error for you. Alternatively, you can install torchvision from a nightly release. |
This issue appears to be stale, so I'm closing it. If you think it should remain open, feel free to reopen it. |
🐛 Bug
To Reproduce
Steps to reproduce the behavior:
Gives error:
Expected behavior
Expected behavior? load ImageNet and not break.
Environment
Collecting environment information...
PyTorch version: 1.2.0
Is debug build: No
CUDA used to build PyTorch: 10.0.130
OS: Ubuntu 18.04.2 LTS
GCC version: (Ubuntu 7.4.0-1ubuntu1~18.04) 7.4.0
CMake version: version 3.10.2
Python version: 3.6
Is CUDA available: Yes
CUDA runtime version: Could not collect
GPU models and configuration:
GPU 0: TITAN Xp
GPU 1: TITAN Xp
GPU 2: TITAN Xp
GPU 3: TITAN Xp
Nvidia driver version: 418.67
cuDNN version: /usr/lib/x86_64-linux-gnu/libcudnn.so.7.5.0
Versions of relevant libraries:
[pip3] numpy==1.17.4
[pip3] torch==1.2.0
[pip3] torchvision==0.4.0
Additional context
I tried download=true, didn't work, but this doesn't matter since I don't want to download the dataset as I already have one.
Thanks.
The text was updated successfully, but these errors were encountered: