In Human36mDataset, parent node for node 11 and 14 is node 8, while in the children list, both node 11 and 14 are listed as children of node 7.
path = "p[ath/to/npz"
h36m = Human36mDataset(path)
parents= h36m._skeleton.parents()
print([(i,p) for i, p in enumerate(parents)], "parents")
children= h36m._skeleton.children()
print([(i,c) for i, c in enumerate(children)], "children")
If we look closely, node 11 and 14 are LeftShoulder and RightShoulder, while 7 and 8 are Spine and Thorax, respectively. So, parent lists says that Left and Right shoulder have Thorax as parent, while the children list say that they are children of Spine.
In Human36mDataset, parent node for node 11 and 14 is node 8, while in the children list, both node 11 and 14 are listed as children of node 7.
Output:
If we look closely, node 11 and 14 are LeftShoulder and RightShoulder, while 7 and 8 are Spine and Thorax, respectively. So, parent lists says that Left and Right shoulder have Thorax as parent, while the children list say that they are children of Spine.