This commit is contained in:
Justin Kerr committed 2023-10-10 17:22:42 -07:00
1 parent 66ddab3aa9
commit 90957bcdfb
6 files changed
+487 -1302

No files matched your search

+1 -4
View File
@@ -270,10 +270,7 @@ class ControlPanel:
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]):
"""
+1
View File
@@ -625,6 +625,7 @@ def populate_render_tab(
# now write the json file
json_outfile = datapath / "camera_paths" / f"{render_name_text.value}.json"
json_outfile.parent.mkdir(parents=True, exist_ok=True)
with open(json_outfile.absolute(), "w") as outfile:
json.dump(json_data, outfile)
# now show the command