diff --git a/ultravox/training/config_base.py b/ultravox/training/config_base.py index baafc933..c22d2b8d 100644 --- a/ultravox/training/config_base.py +++ b/ultravox/training/config_base.py @@ -121,7 +121,7 @@ def __post_init__(self): self.output_dir = Path("runs") / self.exp_name # HF Pipeline gets tripped up if the path has a "." in it - self.output_dir = self.output_dir.replace(".", "--") + self.output_dir = Path(str(self.output_dir).replace(".", "--")) if self.logs_dir is None: self.logs_dir = self.output_dir / "logs"