From f1d543c44fafe665af6c976b05901a05988bdbc2 Mon Sep 17 00:00:00 2001 From: Zhensheng Yuan <564361+yzslab@users.noreply.github.com> Date: Mon, 10 Jul 2023 14:20:49 +0800 Subject: [PATCH] fix FileNotFoundError when reading points3D --- scene/dataset_readers.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scene/dataset_readers.py b/scene/dataset_readers.py index babc56b..5a64a9b 100644 --- a/scene/dataset_readers.py +++ b/scene/dataset_readers.py @@ -154,9 +154,9 @@ def readColmapSceneInfo(path, images, eval, llffhold=8): nerf_normalization = getNerfppNorm(train_cam_infos) - ply_path = os.path.join(path, "sparse/0/points3d.ply") - bin_path = os.path.join(path, "sparse/0/points3d.bin") - txt_path = os.path.join(path, "sparse/0/points3d.txt") + ply_path = os.path.join(path, "sparse/0/points3D.ply") + bin_path = os.path.join(path, "sparse/0/points3D.bin") + txt_path = os.path.join(path, "sparse/0/points3D.txt") if not os.path.exists(ply_path): print("Converting point3d.bin to .ply, will happen only the first time you open the scene.") try: