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.
Discussed in https://github.com/pyg-team/pytorch_geometric/discussions/9323