mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-11-30 12:59:40 +08:00
always list paths as posix paths (#860)
This commit is contained in:
1 parent
e8487a0785
commit
ddd7fc1d42
1 file changed
+1
-1
@@ -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)
|
||||||
|
|||||||
Reference in new issue
Block a user