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
!218
Document batch prediction arg
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Document batch prediction arg
document-batch-size
into
main
Overview
0
Commits
1
Pipelines
0
Changes
1
Merged
Yoann Schneider
requested to merge
document-batch-size
into
main
1 year ago
Overview
0
Commits
1
Pipelines
0
Changes
1
Expand
Closes
#137 (closed)
0
0
Merge request reports
Compare
main
main (base)
and
latest version
latest version
3c5b5598
1 commit,
1 year ago
1 file
+
1
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
docs/usage/predict.md
+
1
−
0
Options
@@ -23,6 +23,7 @@ Use the `teklia-dan predict` command to apply a trained DAN model on an image.
|
`--line-separators`
| List of line separators. |
`list`
|
`["\n"]`
|
|
`--threshold-method`
| Method to use for attention mask thresholding. Should be in
`["otsu", "simple"]`
. |
`str`
|
`"otsu"`
|
|
`--threshold-value `
| Threshold to use for the "simple" thresholding method. |
`int`
|
`0`
|
|
`--batch-size `
| Size of the batches for prediction. |
`int`
|
`1`
|
## Examples
Loading