Revert "MinimalDataParser add options, allow Nerfstudio data format to specify test indices" (#1583)

Revert "MinimalDataParser add options, allow Nerfstudio data format to specify test indices (#1541)"

This reverts commit c61d3e9387.
This commit is contained in:
Matthew Tancik authored and GitHub committed 2023-03-10 10:23:17 -08:00
1 parent 21a452f1b4
commit 510188b1e6
5 files changed
+19 -158

No files matched your search

-5
View File
@@ -455,11 +455,6 @@ def colmap_to_json(
out = parse_colmap_camera_params(cam_id_to_camera[1])
out["frames"] = frames
applied_transform = np.eye(4)[:3, :]
applied_transform = applied_transform[np.array([1, 0, 2, 3]), :]
applied_transform[2, :] *= -1
out["applied_transform"] = applied_transform
with open(output_dir / "transforms.json", "w", encoding="utf-8") as f:
json.dump(out, f, indent=4)