Explorar o código

Merge pull request #1 from yzslab/main

fix FileNotFoundError when loading colmap sparse model
Snosixtyboo %!s(int64=2) %!d(string=hai) anos
pai
achega
5998454e5c
Modificáronse 1 ficheiros con 3 adicións e 3 borrados
  1. 3 3
      scene/dataset_readers.py

+ 3 - 3
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: