Skip to content

Add an option to save all results in the `evaluate` command

We have a nice all_inferences dictionary with a lot of useful information (element id, ground truth string, predicted string, confidence, CER, WER).

We could add a --save-json my_evaluation_report.json argument to save this dict in JSON.