MHFormer icon indicating copy to clipboard operation
MHFormer copied to clipboard

Some weird codes in common/generator.py

Open iskaiwen opened this issue 3 years ago • 0 comments

Line 18: "assert poses_3d is None or poses_3d[key].shape[0] == poses_3d[key].shape[0]" What's the meaning of "poses_3d[key].shape[0] == poses_3d[key].shape[0]" here?

Line 22: "augment_vector = np.full(len(bounds - 1), False, dtype=bool)" What's the difference between "len(bounds - 1)" and "len(bounds)", i suppose they will get the same result.

I am looking forward to your kindly reply.

iskaiwen avatar Aug 21 '22 21:08 iskaiwen