Skip to content
Snippets Groups Projects
Commit 84c9fdd0 authored by Thomas Müller's avatar Thomas Müller
Browse files

Fix default snapshot filename for non-nerf datasets

parent 7dd1ef02
No related branches found
No related tags found
No related merge requests found
......@@ -228,5 +228,5 @@ def setup_colored_sdf(testbed, scene, softshadow=True):
def default_snapshot_filename(scene):
filename = "base.msgpack"
if scene["dataset"]:
filename = f"{os.path.splitext(scene['dataset'][0])}_{filename}"
filename = f"{os.path.splitext(scene['dataset'])[0]}_{filename}"
return os.path.join(scene["data_dir"], filename)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment