I run into another problem here. I trained an embedding indexed by node IDs and plan to use it as my node features. Since my node IDs are not consecutive, I don’t know how to match my embedding to the nodes. Like before I just assign node features using ndata[‘feature’]=torch.ones(g.num_nodes(),4), but now I got different embedding for every node, do you have any idea how to map the correct embedding to the matched nodes.
The my graph information is attached (graph contains 932139 distinct nodes).