r-gcn
r-gcn copied to clipboard
PyToch implementation of R-GCN model for node classification and link prediction
How do i train it and test it? please help me! Traceback (most recent call last): File "C:/Users/Kano_Hayashi/Desktop/r-gcn-link-pred/evaluate_link_prediction.py", line 63, in gcn, distmul = initialize_model(params) File "C:\Users\Kano_Hayashi\Desktop\r-gcn-link-pred\utils.py", line 65, in...
There is an error: idx = torch.LongTensor([A.tocoo().row, A.tocoo().col]) RuntimeError: sizes must be non-negative in the following function. ``` def get_torch_sparse_matrix(A, dev): ''' A : list of sparse adjacency matrices '''...