Skip to content

lr_scheduler config issue #647

@GeonHyeock

Description

@GeonHyeock

if self.hparams.scheduler is not None:
scheduler = self.hparams.scheduler(optimizer=optimizer)
return {
"optimizer": optimizer,
"lr_scheduler": {
"scheduler": scheduler,
"monitor": "val/loss",
"interval": "epoch",
"frequency": 1,
},
}
return {"optimizer": optimizer}

There is an issue with not being able to change the monitor interval frequency value of the lr_scheduler using the config.

If I need to change the learning rate at each step, I will have to modify the module file directly.

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