fix depth file path for synthetic scenes

This commit is contained in:
alanvinx 2024-09-17 10:39:23 +02:00
parent 9375aa7664
commit a2a91d9093

View File

@ -262,7 +262,7 @@ def readCamerasFromTransforms(path, transformsfile, depths_folder, white_backgro
FovY = fovy
FovX = fovx
depth_path = os.path.join(depths_folder, f"{image_name}_depth_0002.png") if depths_folder != "" else ""
depth_path = os.path.join(depths_folder, f"{image_name}.png") if depths_folder != "" else ""
cam_infos.append(CameraInfo(uid=idx, R=R, T=T, FovY=FovY, FovX=FovX,
image_path=image_path, image_name=image_name,