Skip to content
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

Different number node and edge #30

Closed
danhtrancao opened this issue Dec 18, 2020 · 5 comments
Closed

Different number node and edge #30

danhtrancao opened this issue Dec 18, 2020 · 5 comments

Comments

@danhtrancao
Copy link

danhtrancao commented Dec 18, 2020

Hi,
I'm facing the problems about number of nodes and edges, I have 7 nodes but just have 6 edges. I'm facing the error: joblib.externals.loky.process_executor._RemoteTraceback: self.do_recursions(). How to implement graph2vec?

@benedekrozemberczki
Copy link
Owner

benedekrozemberczki commented Dec 18, 2020 via email

@benedekrozemberczki
Copy link
Owner

benedekrozemberczki commented Dec 18, 2020 via email

@danhtrancao
Copy link
Author

I have already read it and run source with only file json and successful generation the csv file. I changed the dataset in json file by my dataset with {"edges": [[0, 1], [0, 2], [1, 3], [1, 4], [2, 5], [2, 6]], "features": {"0": "1", "1": "1", "2": "3", "3": "3", "4": "3", "5": "3"}}. It seems not correct between number of edges and nodes so the error message appear. I count the number of nodes is 7 and edges is 6. I think this is cause error.

@danhtrancao
Copy link
Author

I got the idea, thanks!

@benedekrozemberczki
Copy link
Owner

benedekrozemberczki commented Dec 18, 2020

Your problem is that you have 7 nodes (0,1,2,3,4,5,6) and the node feature dictionary has 6 entries.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants