Unsupervised Graph embedding

Hi
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'

The issue might have been caused by a typo in PyG and this commit should fix it. Could you update to the latest release (including the fix) and check if you are still seeing the issue?