Skip to content

Why is 'log' keyword in the return parameter of training_step of LightningModule is not working? #13115

Discussion options

You must be logged in to vote

@kochark1 No, it isn't supported since 1.0.0 (#3681), and yes, you need to use self.log(...). See details here: https://pytorch-lightning.readthedocs.io/en/stable/extensions/logging.html

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by kochark1
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
logging Related to the `LoggerConnector` and `log()`
3 participants