mirror of
https://github.com/graphdeco-inria/gaussian-splatting
synced 2024-11-26 05:39:31 +00:00
fix FileNotFoundError when reading points3D
This commit is contained in:
parent
b81fc19c34
commit
f1d543c44f
@ -154,9 +154,9 @@ def readColmapSceneInfo(path, images, eval, llffhold=8):
|
|||||||
|
|
||||||
nerf_normalization = getNerfppNorm(train_cam_infos)
|
nerf_normalization = getNerfppNorm(train_cam_infos)
|
||||||
|
|
||||||
ply_path = os.path.join(path, "sparse/0/points3d.ply")
|
ply_path = os.path.join(path, "sparse/0/points3D.ply")
|
||||||
bin_path = os.path.join(path, "sparse/0/points3d.bin")
|
bin_path = os.path.join(path, "sparse/0/points3D.bin")
|
||||||
txt_path = os.path.join(path, "sparse/0/points3d.txt")
|
txt_path = os.path.join(path, "sparse/0/points3D.txt")
|
||||||
if not os.path.exists(ply_path):
|
if not os.path.exists(ply_path):
|
||||||
print("Converting point3d.bin to .ply, will happen only the first time you open the scene.")
|
print("Converting point3d.bin to .ply, will happen only the first time you open the scene.")
|
||||||
try:
|
try:
|
||||||
|
Loading…
Reference in New Issue
Block a user