Skip to content

Commit

Permalink
Fix jitter viewer (#2505)
Browse files Browse the repository at this point in the history
  • Loading branch information
kerrj authored Oct 11, 2023
1 parent dba20fc commit 8e2a065
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
6 changes: 1 addition & 5 deletions nerfstudio/viewer_beta/control_panel.py
Original file line number Diff line number Diff line change
Expand Up @@ -269,11 +269,7 @@ def update_step(self, step):
Args:
step: the train step to set the model to
"""
with self.viser_server.atomic(), self.stat_folder:
# TODO change to a .value call instead of remove() and add, this makes it jittery
with self.viser_server.atomic():
self.markdown.remove()
self.markdown = self.viser_server.add_gui_markdown(f"Step: {step}")
self.markdown.content = f"Step: {step}"

def update_output_options(self, new_options: List[str]):
"""
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ dependencies = [
"torchvision>=0.14.1",
"torchmetrics[image]>=1.0.1",
"typing_extensions>=4.4.0",
"viser==0.1.3",
"viser==0.1.6",
"nuscenes-devkit>=1.1.1",
"wandb>=0.13.3",
"xatlas",
Expand Down

0 comments on commit 8e2a065

Please sign in to comment.