diff --git a/nerfstudio/process_data/colmap_converter_to_nerfstudio_dataset.py b/nerfstudio/process_data/colmap_converter_to_nerfstudio_dataset.py index b172433297..4429730368 100644 --- a/nerfstudio/process_data/colmap_converter_to_nerfstudio_dataset.py +++ b/nerfstudio/process_data/colmap_converter_to_nerfstudio_dataset.py @@ -162,7 +162,9 @@ def _export_depth(self) -> Tuple[Optional[Dict[int, Path]], List[str]]: depth_dir = self.output_dir / "depth" depth_dir.mkdir(parents=True, exist_ok=True) image_id_to_depth_path = colmap_utils.create_sfm_depth( - recon_dir=self.output_dir / self.default_colmap_path(), + recon_dir=self.absolute_colmap_model_path + if self.skip_colmap + else self.output_dir / self.default_colmap_path(), output_dir=depth_dir, include_depth_debug=self.include_depth_debug, input_images_dir=self.image_dir,