benedekrozemberczki / pytorch_geometric_temporal

PyTorch Geometric Temporal: Spatiotemporal Signal Processing with Neural Machine Learning Models (CIKM 2021)
MIT License
2.58k stars 367 forks source link

Fix ModuleNotFoundError: No module named 'torch_geometric.utils.to_dense_adj' #271

Open c0mm4nd opened 3 months ago

c0mm4nd commented 3 months ago

We changed the filenames internally, but it looks like PyG Temporal requires an earlier version of PyG. At best, just import either from torch_geometric.utils directly or from torch_geometric.utils._to_dense_adj.

https://github.com/pyg-team/pytorch_geometric/discussions/9023