Skip to content

Commit

Permalink
fix a typo with path
Browse files Browse the repository at this point in the history
  • Loading branch information
KarelZe committed Oct 30, 2023
1 parent a9db98d commit 2e93c17
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/otc/models/transformer_classifier.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,8 @@ def _checkpoint_write(self) -> None:
Path.unlink(filename)

# create_dir
dir_checkpoints = "checkpoints/"
Path(dir_checkpoints).mkdir(exist_ok=True, parents=True)
dir_checkpoints = Path("checkpoints/")
dir_checkpoints.mkdir(exist_ok=True, parents=True)

# save new file
print("saving new checkpoint.")
Expand Down

0 comments on commit 2e93c17

Please sign in to comment.