Skip to content

Error: ModelCheckpoint(monitor='val_loss') not found in the returned metrics #23

@Alegzandra

Description

@Alegzandra

Hi,
When running the notebook 11.multi-label-text-classification-with-bert.ipynb
I encounter the following error...
pytorch_lightning.utilities.exceptions.MisconfigurationException: ModelCheckpoint(monitor='val_loss') not found in the returned metrics: ['train_loss']. HINT: Did you call self.log('val_loss', tensor) in the LightningModule?

Do you know how I could fix this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions