pub fn run(
cfg: &Config,
corpus: &Corpus,
on_clip: impl FnMut(&ClipRun) -> ControlFlow<()>,
) -> Result<Metrics, Error>Expand description
Run one corpus through one config, reporting each clip as it lands.
The engine is built and made ready first, so a model that will not load
fails here rather than on the first clip. A Break from on_clip
returns Error::Cancelled: what ran is not a result, and the caller
saves nothing.