AttributeError: module ‘torch‘ has no attribute ‘sparse_csc‘

在这里插入图片描述


问题描述:

在训练图神经网络时,我遭遇了一个问题,即 AttributeError: module 'torch' has no attribute 'sparse_csc'。我使用的是 PyTorchtorch-geometric 库。经过排查,我发现这个问题的根源出在库的版本兼容性上。

在这里插入图片描述

../../pytorch_geometric

猜你喜欢

转载自blog.csdn.net/m0_47256162/article/details/132182519
今日推荐