always list paths as posix paths (#860)

This commit is contained in:
Terrance Wang authored and GitHub committed 2022-10-31 13:46:34 -07:00
1 parent e8487a0785
commit ddd7fc1d42
1 file changed
+1 -1
+1 -1
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}") name = Path(f"./images/{im_data.name}")
frame = { frame = {
"file_path": str(name), "file_path": name.as_posix(),
"transform_matrix": c2w.tolist(), "transform_matrix": c2w.tolist(),
} }
frames.append(frame) frames.append(frame)