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:
parent
e8487a0785
commit
ddd7fc1d42
@ -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)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user