Skip to content

Commit

Permalink
Fix string formatting (werner-duvaud#77)
Browse files Browse the repository at this point in the history
* Update trainer.py
  • Loading branch information
LukeWood authored Sep 2, 2020
1 parent de80a8b commit 71e36c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion trainer.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def __init__(self, initial_checkpoint, config):
)
else:
raise NotImplementedError(
"{} is not implemented. You can change the optimizer manually in trainer.py."
f"{self.config.optimizer} is not implemented. You can change the optimizer manually in trainer.py."
)

if initial_checkpoint["optimizer_state"] is not None:
Expand Down

0 comments on commit 71e36c9

Please sign in to comment.