Fixed: MinimalDataParser add options, allow Nerfstudio data format to specify test indices (#1586)

* MinimalDataParser add options, allow Nerfstudio data format to specify test indices

* Switch from indices to filenames and add tests

* Fix  #1581

* Fix changed interface
This commit is contained in:
Jonáš Kulhánek authored and GitHub committed 2023-03-11 22:14:45 +01:00
1 parent e25c39e1c0
commit d9a391f79a
5 files changed
+158 -19

No files matched your search

+1 -1
View File
@@ -471,7 +471,7 @@ def auto_orient_and_center_poses(
poses: TensorType["num_poses":..., 4, 4],
method: Literal["pca", "up", "vertical", "none"] = "up",
center_method: Literal["poses", "focus", "none"] = "poses",
) -> Tuple[TensorType["num_poses":..., 3, 4], TensorType[4, 4]]:
) -> Tuple[TensorType["num_poses":..., 3, 4], TensorType[3, 4]]:
"""Orients and centers the poses. We provide two methods for orientation: pca and up.
pca: Orient the poses so that the principal directions of the camera centers are aligned