Skip to content

PascalVOC 2009 wrong hash #5423

@InCogNiTo124

Description

@InCogNiTo124

🐛 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

"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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions