Skip to content

TensorboardLogger not displaying metrics for LogisticRegression #12762

Discussion options

You must be logged in to vote

the code in bolts is outdated and logging doesn't work like that anymore.
you need to do:

def training_step(self, batch, batch_idx):
    ...
    self.log("train_ce_loss", loss, prog_bar=True)

more info herE: https://pytorch-lightning.readthedocs.io/en/stable/extensions/logging.html#logging-from-a-lightningmodule

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Kaszanas
Comment options

Answer selected by Kaszanas
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment