Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
D
DAN
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package registry
Container Registry
Operate
Terraform modules
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Automatic Text Recognition
DAN
Merge requests
!30
Something went wrong on our end
Normalize wer computation
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Normalize wer computation
normalize-wer-computation
into
main
Overview
2
Commits
3
Pipelines
0
Changes
2
Merged
Solene Tarride
requested to merge
normalize-wer-computation
into
main
2 years ago
Overview
2
Commits
3
Pipelines
0
Changes
2
Expand
Closes
#23 (closed)
Edited
2 years ago
by
Solene Tarride
0
0
Merge request reports
Viewing commit
07114cee
Prev
Next
Show latest version
2 files
+
8
−
1
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
07114cee
display it during training
· 07114cee
Solene Tarride
authored
2 years ago
dan/ocr/document/train.py
+
2
−
0
Options
@@ -208,12 +208,14 @@ def run():
"
loss_ce
"
,
"
cer
"
,
"
wer
"
,
"
wer_no_punct
"
,
"
syn_max_lines
"
,
"
syn_prob_lines
"
,
],
# Metrics name for training
"
eval_metrics
"
:
[
"
cer
"
,
"
wer
"
,
"
wer_no_punct
"
,
],
# Metrics name for evaluation on validation set during training
"
force_cpu
"
:
False
,
# True for debug purposes
"
max_char_prediction
"
:
1000
,
# max number of token prediction
Loading