Fix jitter viewer (#2505)

This commit is contained in:
Justin Kerr authored and GitHub committed 2023-10-10 17:49:52 -07:00
1 parent dba20fcb26
commit 8e2a0651d0
2 files changed
+2 -6

No files matched your search

+1 -5
View File
@@ -269,11 +269,7 @@ class ControlPanel:
Args: Args:
step: the train step to set the model to step: the train step to set the model to
""" """
with self.viser_server.atomic(), self.stat_folder: self.markdown.content = f"Step: {step}"
# 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}")
def update_output_options(self, new_options: List[str]): def update_output_options(self, new_options: List[str]):
""" """
+1 -1
View File
@@ -53,7 +53,7 @@ dependencies = [
"torchvision>=0.14.1", "torchvision>=0.14.1",
"torchmetrics[image]>=1.0.1", "torchmetrics[image]>=1.0.1",
"typing_extensions>=4.4.0", "typing_extensions>=4.4.0",
"viser==0.1.3", "viser==0.1.6",
"nuscenes-devkit>=1.1.1", "nuscenes-devkit>=1.1.1",
"wandb>=0.13.3", "wandb>=0.13.3",
"xatlas", "xatlas",