mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-11-11 02:24:38 +08:00
Don't add relative paths to experiment name (#871)
dont add relative paths to exp name
This commit is contained in:
parent
96a7853cd0
commit
cd468a8e94
@ -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"""
|
||||
|
||||
Loading…
Reference in New Issue
Block a user