I’m trying to use Grap Representation in order to extract the unsupervised graph embedding.
I’m using the following code
import networkx as nx from karateclub.node_embedding.neighbourhood.grarep import GraRep gr = GraRep(dimensions=90,order=13) gr.fit(G) embedding = gr.get_embedding()
The graph is pytorch geometric object
I got the following error
AttributeError: 'GlobalStorage' object has no attribute 'number_of_nodes'