mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-12-01 05:20:32 +08:00
cleanup
This commit is contained in:
1 parent
66ddab3aa9
commit
90957bcdfb
6 files changed
+487
-1302
No files matched your search
@@ -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]):
|
||||
"""
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in new issue
Block a user