diff --git a/python/vbr_devkit/datasets/kitti.py b/python/vbr_devkit/datasets/kitti.py index 84885fb..be9bfa1 100644 --- a/python/vbr_devkit/datasets/kitti.py +++ b/python/vbr_devkit/datasets/kitti.py @@ -82,7 +82,7 @@ def _save_cloud(self, data: PointCloudXf, timestamp, *args, **kwargs): if kwargs.get("pcloud_kitti_format"): clip_points = np.stack([data.points["x"], data.points["y"], data.points["z"], data.points["intensity"]], axis=1) - clip_points.tofile(dest_path) + clip_points.astype(np.float32).tofile(dest_path) return data.points.tofile(dest_path)