Skip to content

Commit

Permalink
Bugfix for path replace
Browse files Browse the repository at this point in the history
  • Loading branch information
farzadab authored Sep 16, 2024
1 parent 1e00710 commit 9004f74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ultravox/training/config_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 9004f74

Please sign in to comment.