Replace your model only when a new one is really better: the current best is re-scored on the latest data before it meets the new models.
Overview
- Model: YOLO and DEIM detectors trained earlier in the graph
- Task: Object detection
- Input: Evaluations of newly trained models and a validation set version
- Pipeline: model registry → best model so far → predict and re-score it on the latest validation set → compare with the best new model
- Output: A model registry report, comparison reports and the name of the best model
When you need it
The validation set grows with every round, so an old score and a new score are not measured on the same images. This block, part of Active learning (object detection), re-scores the old best model before the comparison, so a model replaces it only when it is really better.
What you need
Evaluations from Active learning: train YOLO and Active learning: train DEIM, and the latest validation set version.
How it works
| Step | What happens |
|---|---|
| Registry | Every new evaluation is added to the model registry |
| Best so far | The best model in the registry is chosen by one metric you pick, mAP 50-95 by default |
| Re-score | The best model predicts on the latest validation set and is scored again |
| Compare | The newest YOLO and DEIM are compared with each other, and the winner with the re-scored best model |
The first round has no earlier best model, so the re-scoring and the final comparison start from the second round.
What a run gives you
A model registry report with every scored model over time, a comparison report for each pair, and the name of the best model for the next step.
Related templates
- Detector comparison - compare ready-made detectors once, outside the loop
- Active learning: production export - the next block