1
0
Fork 0
mirror of https://github.com/qurator-spk/dinglehopper.git synced 2025-06-07 19:05:13 +02:00

🧹 dinglehopper: Disable metrics in JSON report, too

This commit is contained in:
Gerber, Mike 2020-10-15 15:38:15 +02:00
parent 5303eea80c
commit 4951823a29

View file

@ -1,8 +1,10 @@
{ {
"gt": "{{ gt }}", "gt": "{{ gt }}",
"ocr": "{{ ocr }}", "ocr": "{{ ocr }}",
{% if metrics %}
"cer": {{ cer|json_float }}, "cer": {{ cer|json_float }},
"wer": {{ wer|json_float }}, "wer": {{ wer|json_float }},
{% endif %}
"n_characters": {{ n_characters }}, "n_characters": {{ n_characters }},
"n_words": {{ n_words }} "n_words": {{ n_words }}
} }