You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am planning to train a new SubgraphX on the Mutagenicity dataset.
I find a line in MUTAGDataset class:
adj_all = np.zeros((len(nodes_all), len(nodes_all)))
This line will create a really large array when the size of the dataset is large. (For Mutagenicity, the shape of the array is (131488, 131488))
Could you tell me how can I do to avoid the out-of-memory issue?
Thank you,
Zhaoning
The text was updated successfully, but these errors were encountered:
Hello.
This code is especially for the MUTAG datasets with 189 molecules.
I think you can write codes for the Mutagenicity datasets to read the graph with sparse matrix, and the key is to save torch_geometric.data.Data to the data_list for each graph.
Hi,
I am planning to train a new SubgraphX on the Mutagenicity dataset.
I find a line in MUTAGDataset class:
adj_all = np.zeros((len(nodes_all), len(nodes_all)))
This line will create a really large array when the size of the dataset is large. (For Mutagenicity, the shape of the array is (131488, 131488))
Could you tell me how can I do to avoid the out-of-memory issue?
Thank you,
Zhaoning
The text was updated successfully, but these errors were encountered: