4
0
mirror of https://github.com/nerfstudio-project/nerfstudio.git synced 2026-11-11 02:24:38 +08:00

always list paths as posix paths (#860)

This commit is contained in:
Terrance Wang 2022-10-31 13:46:34 -07:00 committed by GitHub
parent e8487a0785
commit ddd7fc1d42
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -445,7 +445,7 @@ def colmap_to_json(cameras_path: Path, images_path: Path, output_dir: Path, came
name = Path(f"./images/{im_data.name}")
frame = {
"file_path": str(name),
"file_path": name.as_posix(),
"transform_matrix": c2w.tolist(),
}
frames.append(frame)