mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-12-02 13:59:10 +08:00
* Adds ns-process-data images tests and fixes #1586 * Fix missing colmap and ffmpeg in github actions
This commit is contained in:
1 parent
d9a391f79a
commit
2b8d5a9e5c
4 files changed
+283
-18
No files matched your search
@@ -289,9 +289,9 @@ class Nerfstudio(DataParser):
|
||||
cameras.rescale_output_resolution(scaling_factor=1.0 / self.downscale_factor)
|
||||
|
||||
if "applied_transform" in meta:
|
||||
applied_transform = np.array(meta["applied_transform"], dtype=np.float32)
|
||||
transform_matrix = transform_matrix @ np.concatenate(
|
||||
(applied_transform, np.array([0, 0, 0, 1], dtype=np.float32)), 0
|
||||
applied_transform = torch.tensor(meta["applied_transform"], dtype=transform_matrix.dtype)
|
||||
transform_matrix = transform_matrix @ torch.cat(
|
||||
[applied_transform, torch.tensor([[0, 0, 0, 1]], dtype=transform_matrix.dtype)], 0
|
||||
)
|
||||
if "applied_scale" in meta:
|
||||
applied_scale = float(meta["applied_scale"])
|
||||
|
||||
Reference in new issue
Block a user