def _load_keypoint_2d_detection(self, det_file):
        """"Load 2D joint detection results from file."""
        with get_local_path(det_file) as local_path:
            kpts_2d = np.load(local_path).astype(np.float32)

        return kpts_2d
"Load 2D joint detection results from file.
mmpose/mmpose/datasets/datasets/body3d/h36m_dataset.py