diff --git a/nerfstudio/scripts/exporter.py b/nerfstudio/scripts/exporter.py index fdfa1a4ec..1c260adf3 100644 --- a/nerfstudio/scripts/exporter.py +++ b/nerfstudio/scripts/exporter.py @@ -548,7 +548,6 @@ class ExportGaussianSplat(Exporter): for i in range(3): map_to_tensors[f"scale_{i}"] = scales[:, i, None] - # Invert and aapply the dataparser transform. def quaternion_multiply(wxyz0: np.ndarray, wxyz1: np.ndarray) -> np.ndarray: assert wxyz0.shape[-1] == 4 assert wxyz1.shape[-1] == 4 diff --git a/nerfstudio/viewer/export_panel.py b/nerfstudio/viewer/export_panel.py index d52494c11..705ac7c06 100644 --- a/nerfstudio/viewer/export_panel.py +++ b/nerfstudio/viewer/export_panel.py @@ -194,7 +194,6 @@ def populate_splat_tab( server.add_gui_markdown("Generate ply export of Gaussian Splat") output_directory = server.add_gui_text("Output Directory", initial_value="exports/splat/") - generate_command = server.add_gui_button("Generate Command", icon=viser.Icon.TERMINAL_2) world_frame = server.add_gui_checkbox( "Save in world frame", True, @@ -203,6 +202,7 @@ def populate_splat_tab( "scaled and reoriented coordinate space generated by Nerfstudio." ), ) + generate_command = server.add_gui_button("Generate Command", icon=viser.Icon.TERMINAL_2) @generate_command.on_click def _(event: viser.GuiEvent) -> None: