Could you explain a bit more what you mean by:



 dhecloud:

As i did not know about tensors not being copied as a new tensor but as a reference, the numbers in self.all_joints[index] kept getting smaller and smaller with every loading of that index.


Did you somehow delete the joints in self.all_joints?