From 20b5f2ce8e7c371744a0ad3dc0e2a74b7b5f83aa Mon Sep 17 00:00:00 2001 From: Brett-Michael Green Date: Fri, 6 Sep 2024 17:53:37 -0400 Subject: [PATCH] OverflowError: Python integer -1 out of bounds for uint64 --- pycolmap/scene_manager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pycolmap/scene_manager.py b/pycolmap/scene_manager.py index 352f051..82dce54 100644 --- a/pycolmap/scene_manager.py +++ b/pycolmap/scene_manager.py @@ -19,7 +19,7 @@ #------------------------------------------------------------------------------- class SceneManager: - INVALID_POINT3D = np.uint64(-1) + INVALID_POINT3D = np.int64(-1) def __init__(self, colmap_results_folder, image_path=None): self.folder = colmap_results_folder