Hi everyone.
I got the following datadict:
{('person', 'link1', 'thing'): (tensor([0, 0, 1, 1]), tensor([2, 3, 2, 3])), ('person', 'link2', 'person'): (tensor([0]), tensor([1]))}
However, when creating the graph, I get
Graph(num_nodes={'person': 2, 'thing': 4},
num_edges={('person', 'link1', 'thing'): 4, ('person', 'link2', 'person'): 1},
metagraph=[('person', 'thing', 'link1'), ('person', 'person', 'link2')])
I was supossed to have just 2 nodes of type “thing”, but I get 4 . What is the problem here? Just nodes 2 and 3 should appear, but they got duplicated.
Thank you all.