-
Notifications
You must be signed in to change notification settings - Fork 7.2k
Closed
Description
🐛 Describe the bug
There is a wrong checksum defined for PascalVOC year 2009
$ wget -q http://host.robots.ox.ac.uk/pascal/VOC/voc2009/VOCtrainval_11-May-2009.tar
$ md5sum VOCtrainval_11-May-2009.tar
a3e00b113cfcfebf17e343f59da3caa1 VOCtrainval_11-May-2009.tar
However, that's not a hash that is defined in a PascalVOC dataset file
vision/torchvision/datasets/voc.py
Lines 37 to 42 in 0db67d8
"2009": { | |
"url": "http://host.robots.ox.ac.uk/pascal/VOC/voc2009/VOCtrainval_11-May-2009.tar", | |
"filename": "VOCtrainval_11-May-2009.tar", | |
"md5": "59065e4b188729180974ef6572f6a212", | |
"base_dir": os.path.join("VOCdevkit", "VOC2009"), | |
}, |
This can be tested with:
>>> import torchvision
>>> torchvision.datasets.VOCSegmentation('.', year='2009', download=True)
...
RuntimeError: Dataset not found or corrupted.
Versions
Collecting environment information...
PyTorch version: 1.10.2+cu113
Is debug build: False
CUDA used to build PyTorch: 11.3
ROCM used to build PyTorch: N/A
OS: Ubuntu 21.10 (x86_64)
GCC version: (Ubuntu 11.2.0-7ubuntu2) 11.2.0
Clang version: Could not collect
CMake version: version 3.18.4
Libc version: glibc-2.34
Python version: 3.9.7 (default, Sep 10 2021, 14:59:43) [GCC 11.2.0] (64-bit runtime)
Python platform: Linux-5.13.0-28-generic-x86_64-with-glibc2.34
Is CUDA available: True
CUDA runtime version: Could not collect
GPU models and configuration: GPU 0: NVIDIA GeForce GTX 950M
Nvidia driver version: 510.47.03
cuDNN version: Could not collect
HIP runtime version: N/A
MIOpen runtime version: N/A
Versions of relevant libraries:
[pip3] numpy==1.22.2
[pip3] torch==1.10.2+cu113
[pip3] torchaudio==0.10.2+cu113
[pip3] torchvision==0.11.3+cu113
[conda] Could not collect
Metadata
Metadata
Assignees
Labels
No labels