Pytorch-lightning: How to monitor more than one quantity?

Created on 17 Nov 2020  路  2Comments  路  Source: PyTorchLightning/pytorch-lightning

What i do if i want to monitor more than one quantity?

question

Most helpful comment

You can pass multiple ModelCheckpoint callbacks to the trainer callback list

Trainer(callbacks=[ModelCheckpoint(monitor="a"), ModelCheckpoint(monitor="b")])

however, this is not fully supported and the saved checkpoints will contain the state for only one of the ModelCheckpoints

Duplicate of #2908

All 2 comments

You can pass multiple ModelCheckpoint callbacks to the trainer callback list

Trainer(callbacks=[ModelCheckpoint(monitor="a"), ModelCheckpoint(monitor="b")])

however, this is not fully supported and the saved checkpoints will contain the state for only one of the ModelCheckpoints

Duplicate of #2908

Thanks a lot.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

monney picture monney  路  3Comments

chuong98 picture chuong98  路  3Comments

versatran01 picture versatran01  路  3Comments

Vichoko picture Vichoko  路  3Comments

williamFalcon picture williamFalcon  路  3Comments