pytorch_geometric icon indicating copy to clipboard operation
pytorch_geometric copied to clipboard

Temporal Data set from TUDataset

Open rusty1s opened this issue 1 year ago • 0 comments

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.

rusty1s avatar May 22 '24 13:05 rusty1s