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

versatran01 picture versatran01  路  3Comments

baeseongsu picture baeseongsu  路  3Comments

jcreinhold picture jcreinhold  路  3Comments

polars05 picture polars05  路  3Comments

srush picture srush  路  3Comments