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

Usage with image data #67

Open
rsi2018502 opened this issue Apr 7, 2021 · 2 comments
Open

Usage with image data #67

rsi2018502 opened this issue Apr 7, 2021 · 2 comments

Comments

@rsi2018502
Copy link

How can we use this with an image database instead of using it with citation databases?

@gcucurull
Copy link
Contributor

First you would have to convert your image into a graph. For images you must decide what do your nodes and connections represent. For example, each pixel could be a node, with edges to its adjacent pixels, or the nodes could be groups of pixels or objects detected in the image.

Then you could store your graphs following the same format as Cora https://github.com/PetarV-/GAT/tree/master/data

@rsi2018502
Copy link
Author

can you suggest any method to generate the format as Cora https://github.com/PetarV-/GAT/tree/master/data

after generating the graph? Because I tried to convert the graph to this format, but I didn't get success till date.

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