Add a command for evaluation #9

Open
opened 2025-10-14 15:51:06 -06:00 by navan · 0 comments
Owner

Originally created by @starride-teklia on 10/5/2023

I would like to create a new command pylaia-htr-evaluate to compute CER/WER.

  • Command:
pylaia-htr-evaluate --config evaluation_config.yaml
  • Configuration file:
eval:
   labels:
      train: path/to/train_labels.txt
      val: path/to/val_labels.txt
      test: path/to/test_labels.txt
   predictions:
      train: path/to/train_predictions.txt
      val: path/to/val_predictions.txt
      test: path/to/test_predictions.txt
  • Output formatted in markdown:
Set CER (%) WER (%)
train 2.40 8.10
val 7.45 19.75
test 6.55 18.2
*Originally created by @starride-teklia on 10/5/2023* I would like to create a new command `pylaia-htr-evaluate` to compute CER/WER. * Command: ```bash pylaia-htr-evaluate --config evaluation_config.yaml ``` * Configuration file: ```yaml eval: labels: train: path/to/train_labels.txt val: path/to/val_labels.txt test: path/to/test_labels.txt predictions: train: path/to/train_predictions.txt val: path/to/val_predictions.txt test: path/to/test_predictions.txt ``` * Output formatted in markdown: | Set | CER (%) | WER (%) | | ----- | ---------- | --------- | | train | 2.40 | 8.10 | | val | 7.45 | 19.75 | | test | 6.55 | 18.2 |
Sign in to join this conversation.
No labels
dependencies
stale
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github/PyLaia#9
No description provided.