Error when loading the COLOR-3 dataset from TUDataset
See original GitHub issue🐛 Bug
Hi!
When I am trying to load dataset = TUDataset(root='../tmp/COLOR-3', name='COLOR-3')
I get the following error:
Downloading https://www.chrsmrrs.com/graphkerneldatasets/COLOR-3.zip
Extracting ../tmp/COLOR-3/COLOR-3/COLOR-3.zip
Traceback (most recent call last):
File "<input>", line 1, in <module>
File "/HOME/studerl/.conda/envs/gale/lib/python3.7/site-packages/torch_geometric/datasets/tu_dataset.py", line 65, in __init__
pre_filter)
File "/HOME/studerl/.conda/envs/gale/lib/python3.7/site-packages/torch_geometric/data/in_memory_dataset.py", line 54, in __init__
pre_filter)
File "/HOME/studerl/.conda/envs/gale/lib/python3.7/site-packages/torch_geometric/data/dataset.py", line 89, in __init__
self._download()
File "/HOME/studerl/.conda/envs/gale/lib/python3.7/site-packages/torch_geometric/data/dataset.py", line 141, in _download
self.download()
File "/HOME/studerl/.conda/envs/gale/lib/python3.7/site-packages/torch_geometric/datasets/tu_dataset.py", line 131, in download
os.rename(osp.join(folder, self.name), self.raw_dir)
FileNotFoundError: [Errno 2] No such file or directory: '../tmp/COLOR-3/COLOR-3/COLOR-3' -> '../tmp/COLOR-3/COLOR-3/raw'
I’m on a linux GPU cluster using python 3.7 and torch-geometric version 1.6.1.
Thanks.
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Error when loading the COLOR-3 dataset from TUDataset #1915
Bug Hi! When I am trying to load dataset = TUDataset(root='../tmp/COLOR-3', name='COLOR-3') I get the following error: Downloading ...
Read more >torch_geometric.datasets.tu_dataset - PyTorch Geometric
[docs]class TUDataset(InMemoryDataset): r"""A variety of graph kernel benchmark ... "If this error occurred while loading an already existing " "dataset, ...
Read more >Can't use Color Datatype in Dataset tag anymore, error
Hi, i hope you guys are having a good day! TL;DR: Can't use color datatype in a dataset Tag, is this a bug?...
Read more >Hands-On Guide to PyTorch Geometric (With Python Code) -
An example of loading the benchmark dataset is shown below: from torch_geometric.datasets import TUDataset dataset ...
Read more >TUDataset — DGL 0.8.2post1 documentation
TUDataset contains lots of graph kernel datasets for graph classification. Parameters. name (str) – Dataset Name, such as ENZYMES , DD , COLLAB...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks for letting me know. This is not easily fixable though, because this error is already present in the raw data. Therefore, the workaround to simply convert your
data.y
to int is needed.The name of the dataset is
COLORS-3
(with an upper S).