mirror of
https://github.com/pyannote/pyannote-audio.git
synced 2026-11-20 13:07:51 +09:00
improve(cli): store top 10 checkpoints rather than top 1
This commit is contained in:
1 parent
bbc804401e
commit
3403b7a9a3
1 file changed
+1
-1
@@ -115,7 +115,7 @@ def train(cfg: DictConfig) -> Optional[float]:
|
||||
checkpoint = ModelCheckpoint(
|
||||
monitor=monitor,
|
||||
mode=direction,
|
||||
save_top_k=None if monitor is None else 1,
|
||||
save_top_k=None if monitor is None else 10,
|
||||
every_n_epochs=1,
|
||||
save_last=True,
|
||||
save_weights_only=False,
|
||||
|
||||
Reference in new issue
Block a user