GAT icon indicating copy to clipboard operation
GAT copied to clipboard

Usage with image data

Open rsi2018502 opened this issue 3 years ago • 2 comments

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

rsi2018502 avatar Apr 07 '21 07:04 rsi2018502

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

gcucurull avatar Apr 12 '21 08:04 gcucurull

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.

rsi2018502 avatar Apr 12 '21 15:04 rsi2018502