From babf57718c75e7d04f1b977f035db67c02a9c20a Mon Sep 17 00:00:00 2001 From: Patrick Morgan Date: Fri, 12 Apr 2024 14:23:47 -0700 Subject: [PATCH] Fix call to detect ODM reconstruction file (#3018) --- nerfstudio/process_data/odm_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nerfstudio/process_data/odm_utils.py b/nerfstudio/process_data/odm_utils.py index e01645b6f..70ad1b7f8 100644 --- a/nerfstudio/process_data/odm_utils.py +++ b/nerfstudio/process_data/odm_utils.py @@ -136,7 +136,7 @@ def cameras2nerfds( shots_dict = {} reconstruction = None - if reconstruction_file.exists: + if reconstruction_file.exists(): reconstruction = get_reconstruction(reconstruction_file) shots = reconstruction.get("shots", []) for filename in shots: