mirror of
https://github.com/wassname/pytorch-lightning.git
synced 2026-09-09 11:32:07 +08:00
remove extra whitespace (#1060)
This commit is contained in:
@@ -1387,7 +1387,7 @@ class LightningModule(ABC, GradInformation, ModelIO, ModelHooks):
|
||||
else:
|
||||
raise MisconfigurationException(
|
||||
f"Checkpoint contains hyperparameters but {cls.__name__}'s __init__ "
|
||||
f"is missing the argument 'hparams'. Are you loading the correct checkpoint?"
|
||||
f"is missing the argument 'hparams'. Are you loading the correct checkpoint?"
|
||||
)
|
||||
|
||||
# load the state_dict on the model automatically
|
||||
|
||||
Reference in New Issue
Block a user