mirror of
https://github.com/macaodha/batdetect2.git
synced 2026-01-09 16:59:33 +01:00
Save checkpoint on max class mAP
This commit is contained in:
parent
2f48c58de1
commit
8727edf466
@ -147,6 +147,7 @@ def build_trainer_callbacks(
|
||||
dirpath=str(checkpoint_dir),
|
||||
save_top_k=1,
|
||||
monitor="classification/mean_average_precision",
|
||||
mode="max",
|
||||
),
|
||||
ValidationMetrics(evaluator),
|
||||
]
|
||||
|
||||
Loading…
Reference in New Issue
Block a user