ModuleNotFoundError: No module named ‘torch_geometric.loader

insert image description here


Problem Description:

I am learning torch-geometricthis library, using it from torch_geometric.loader import DataLoader, and then the following problems occurModuleNotFoundError: No module named 'torch_geometric.loader

ModuleNotFoundError: No module named 'torch_geometric.loader

Cause Analysis:

The reason for this problem is very simple, that is, your torch-geometricversion is too old, and this syntax call is supported in the new version, but this call is not supported in the old version , and there is no such function in APIthe old version .torch-geometric


Guess you like

Origin blog.csdn.net/m0_47256162/article/details/132197004
Recommended