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

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

* Switch from indices to filenames and add tests
This commit is contained in:
Jonáš Kulhánek authored and GitHub committed 2023-03-09 19:14:24 +01:00
1 parent 1f8a07c10e
commit c61d3e9387
5 files changed
+158 -19

No files matched your search

+1 -1
View File
@@ -431,7 +431,7 @@ def rotation_matrix(a: TensorType[3], b: TensorType[3]) -> TensorType[3, 3]:
def auto_orient_and_center_poses(
poses: TensorType["num_poses":..., 4, 4], method: Literal["pca", "up", "none"] = "up", center_poses: bool = True
) -> 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 component of the points is aligned with the axes.