GraphGAN-pytorch
GraphGAN-pytorch copied to clipboard
(Still in coding)A pytorch implementation of GraphGAN (Graph Representation Learning with Generative Adversarial Nets) from hwwang55
问题请教
File "/home/user/code/GraphGan/src/GraphGAN/graph_gan.py", line 57, in __init__ self.build_generator() File "/home/user/code/GraphGan/src/GraphGAN/graph_gan.py", line 92, in build_generator self.generator = generator.Generator(n_node=self.n_node, node_emd_init = self.node_embed_init_g) File "/home/user/code/GraphGan/src/GraphGAN/generator.py", line 20, in __init__ self.node_embedding = torch.index_select(self.embedding_matrix, 0, self.node_id)...
I have been trying to use the "graph_gan" class. Unfortunately, it seems I am missing many skills to re-build the "Trainer" script for this class. By any chance, is it...
The total number of nodes in the graph dataset is 5242, can you please explain why do we have embeddings only for 5119 nodes and rest 123 have randomly generated...