xuhaiyun42
xuhaiyun42
Thank you for your prompt reply! I used the data of GCN with tensorflow version to save the features, adjacency matrix and label data set,and put them into pytorch, but...
Thank you again for your reply! which is of great help to me.
Dear professor, Hello! It makes sense that you load the cora dataset this way and construct the adjacency matrix. idx_features_labels = np.genfromtxt("{}{}.content".format(path, dataset), dtype=np.dtype(str)) print(idx_features_labels.shape) features = sp.csr_matrix(idx_features_labels[:, 1:-1], dtype=np.float32)...