From cd468a8e941302a2c5d68b72a3e4c4e90cf102f8 Mon Sep 17 00:00:00 2001 From: Matthew Tancik Date: Mon, 31 Oct 2022 12:27:58 -0700 Subject: [PATCH] Don't add relative paths to experiment name (#871) dont add relative paths to exp name --- nerfstudio/configs/base_config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nerfstudio/configs/base_config.py b/nerfstudio/configs/base_config.py index 340806577..7b02e1a24 100644 --- a/nerfstudio/configs/base_config.py +++ b/nerfstudio/configs/base_config.py @@ -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"""