We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 534aa17 commit 2de6a9bCopy full SHA for 2de6a9b
pytorch_lightning/utilities/parsing.py
@@ -243,7 +243,7 @@ def save_hyperparameters(
243
if isinstance(init_args[k], nn.Module):
244
rank_zero_warn(
245
f"Attribute {k!r} is an instance of `nn.Module` and is already saved during checkpointing."
246
- f" It is recommended to ignore them using `self.save_hyperparameters(ignore=[{k}!r])`."
+ f" It is recommended to ignore them using `self.save_hyperparameters(ignore=[{k!r}])`."
247
)
248
249
if not args:
0 commit comments