Skip to content

Commit

Permalink
fix missing f strings
Browse files Browse the repository at this point in the history
  • Loading branch information
sophiamaedler committed Nov 29, 2024
1 parent 60a6818 commit 2ed029f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/scportrait/pipeline/classification.py
Original file line number Diff line number Diff line change
Expand Up @@ -219,8 +219,8 @@ def _load_model(self):
sys.exit("incorrect specification for pretrained model.")

else:
self.log("loading model from the following checkpoint file: {self.network_dir}")
self.log("loading model with the following hparams file: {self.hparams_file}")
self.log(f"loading model from the following checkpoint file: {self.network_dir}")
self.log(f"loading model with the following hparams file: {self.hparams_file}")

model = MultilabelSupervisedModel.load_from_checkpoint(
self.network_dir,
Expand Down

0 comments on commit 2ed029f

Please sign in to comment.