mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-12-03 22:38:48 +08:00
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:
1 parent
1f8a07c10e
commit
c61d3e9387
5 files changed
+158
-19
No files matched your search
@@ -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.
|
||||
|
||||
Reference in new issue
Block a user