🧹 dinglehopper: Disable metrics in JSON report, too

pull/38/head
Gerber, Mike 4 years ago
parent 5303eea80c
commit 4951823a29

@ -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 }}
} }

Loading…
Cancel
Save