Skip to content
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

Error when downloading ShapeNet dataset. #9739

Open
nachoogriis opened this issue Oct 28, 2024 · 1 comment
Open

Error when downloading ShapeNet dataset. #9739

nachoogriis opened this issue Oct 28, 2024 · 1 comment
Labels

Comments

@nachoogriis
Copy link

🐛 Describe the bug

I am trying to download the ShapeNet dataset for a project in which I need to use PyTorch Geometric. However, I am dealing with some problems when downloading the dataset. It seems that there might be an error in the url from which the dataset is downloaded or something like that, as it is refusing the connection.

To reproduce the error you can execute the following.

import torch
from torch_geometric.data import Data

import urllib.error
from torch_geometric.datasets import ShapeNet

try:
    dataset = ShapeNet(
        root='tmp/ShapeNet',
        categories = ["Airplane"]
    )
except urllib.error.URLError as e:
    print(f"Error al intentar descargar el dataset: {e}")

I am getting the following error:

Downloading https://shapenet.cs.stanford.edu/media/shapenetcore_partanno_segmentation_benchmark_v0_normal.zip
Error al intentar descargar el dataset: <urlopen error [Errno 61] Connection refused>

Has anyone already experienced this error? How can I solve it? I need to process the ShapeNet dataset using PyTorch Geometric.

Versions

.

@Kh4L
Copy link
Contributor

Kh4L commented Oct 29, 2024

# In case `shapenet.cs.stanford.edu` is offline, try to download the data
# from Kaggle instead (requires login):
# https://www.kaggle.com/datasets/mitkir/shapenet/download?datasetVersionNumber=1

seems like it's a known issue, so you can get it manually on kaggle https://www.kaggle.com/datasets/mitkir/shapenet/download?datasetVersionNumber=1

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

No branches or pull requests

2 participants