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

ValueError: Unsupported attribute type #44

Open
MrRobotsAA opened this issue Nov 29, 2021 · 0 comments
Open

ValueError: Unsupported attribute type #44

MrRobotsAA opened this issue Nov 29, 2021 · 0 comments

Comments

@MrRobotsAA
Copy link

Hello author, I set up the same environment as in the article, but I get the following error, can you please help me?

Traceback (most recent call last):
File "preprocess_ogbn_mag.py", line 18, in
dataset = PygNodePropPredDataset(name='ogbn-mag')
File "/root/miniconda3/envs/myconda/lib/python3.7/site-packages/ogb/nodeproppred/dataset_pyg.py", line 46, in init
super(PygNodePropPredDataset, self).init(self.root, transform)
File "/root/miniconda3/envs/myconda/lib/python3.7/site-packages/torch_geometric/data/in_memory_dataset.py", line 52, in init
pre_filter)
File "/root/miniconda3/envs/myconda/lib/python3.7/site-packages/torch_geometric/data/dataset.py", line 104, in init
self._process()
File "/root/miniconda3/envs/myconda/lib/python3.7/site-packages/torch_geometric/data/dataset.py", line 148, in _process
self.process()
File "/root/miniconda3/envs/myconda/lib/python3.7/site-packages/ogb/nodeproppred/dataset_pyg.py", line 153, in process
torch.save(self.collate([data]), self.processed_paths[0])
File "/root/miniconda3/envs/myconda/lib/python3.7/site-packages/torch_geometric/data/in_memory_dataset.py", line 137, in collate
raise ValueError('Unsupported attribute type')
ValueError: Unsupported attribute type

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

No branches or pull requests

1 participant