mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-11-19 06:14:03 +08:00
Don't add relative paths to experiment name (#871)
dont add relative paths to exp name
This commit is contained in:
1 parent
96a7853cd0
commit
cd468a8e94
1 file changed
+1
-1
@@ -241,7 +241,7 @@ class Config(PrintableConfig):
|
||||
def set_experiment_name(self) -> None:
|
||||
"""Dynamically set the experiment name"""
|
||||
if self.experiment_name is None:
|
||||
self.experiment_name = str(self.pipeline.datamanager.dataparser.data).replace("/", "-")
|
||||
self.experiment_name = str(self.pipeline.datamanager.dataparser.data).replace("../", "").replace("/", "-")
|
||||
|
||||
def get_base_dir(self) -> Path:
|
||||
"""Retrieve the base directory to set relative paths"""
|
||||
|
||||
Reference in new issue
Block a user