Skip to content

Commit

Permalink
fix: custom writer
Browse files Browse the repository at this point in the history
  • Loading branch information
djaniak committed Nov 27, 2023
1 parent e7cba38 commit 90d3128
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion embeddings/task/lightning_task/lightning_task.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def best_validation_score(self) -> Optional[float]:

def _get_callbacks(self, dataset_subsets: Sequence[str]) -> List[Callback]:
self.predpath = self.output_path.joinpath("predictions")
self.predpath.mkdir(parents=False, exist_ok=False)
self.predpath.mkdir(parents=False, exist_ok=True)
dirpath = self.output_path.joinpath("checkpoints")
callbacks: List[Callback] = [
ModelCheckpoint(
Expand Down

0 comments on commit 90d3128

Please sign in to comment.