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
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