New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error with running model CoRGi #3
Comments
It was solved by changing the dataet_format to gnn_csv! Thank you |
How can I change the sentences.csv to sentences_array.npy in goodreads dataset? |
Assuming you already have |
Thank you for your answer 👍 |
When I run the CoRGi model with the Goodreads dataset, there are several errors.
I made a goodreads dataset with this code, 'research_experiences/GNN/create_goodreads_dataset.py'.
First, in line 325 of the graph_neural_network.py, an assertion occurs because the data format is not GraphData.
So I tried to use the to_graph function in Dataset Class.
And in 842 of the graph_neural_network.py, AttributeError occurs because there is no x attribute in the data.
AttributeError: 'Dataset' object does not have attribute 'x'.
How do I solve this?
The text was updated successfully, but these errors were encountered: