The error occurs because the number of edges in the edge file is not equal to the number of lines in the feature files or label file.

To fix this issue, you need to ensure that the number of edges in the edge file matches the number of lines in the feature files and label file.

Make sure that the data in all the files is aligned properly. Check if there are any missing or extra lines in any of the files.

import torch import pandas as pd from torch_geometricdata import DataDatasetDataLoader from torch_geometricnn import GCNConv from torch_geometricutils import to_networkx import numpy as np from sklear

原文地址: https://www.cveoy.top/t/topic/i4KP 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录