pyg-team / pytorch_geometric

Graph Neural Network Library for PyTorch
https://pyg.org
MIT License
20.54k stars 3.57k forks source link

Temporal Data set from TUDataset #9351

Open rusty1s opened 1 month ago

rusty1s commented 1 month ago

Discussed in https://github.com/pyg-team/pytorch_geometric/discussions/9323

Originally posted by **xavierallem** May 16, 2024 I am trying to use >current_dir = os.getcwd() > path = osp.join(current_dir, '../../Data/INFECTIOUS') `dataset` = TUDataset(path, name='infectious_ct1',use_node_attr=True,use_edge_attr=True).shuffle() and I get the following error > ValueError: expected sequence of length 4 at dim 1 (got 2) Is it fixed? I have seen an issue dating to 2020.