Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
ocr4all-pixel-classifier-frontend
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ocr4all-page-segmentation
ocr4all-pixel-classifier-frontend
Commits
ee7ec276
Commit
ee7ec276
authored
2 years ago
by
Alexander Gehrke
Browse files
Options
Downloads
Patches
Plain Diff
Alias --load to --model
parent
4e9dff9e
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ocr4all_pixel_classifier_frontend/train.py
+1
-1
1 addition, 1 deletion
ocr4all_pixel_classifier_frontend/train.py
with
1 addition
and
1 deletion
ocr4all_pixel_classifier_frontend/train.py
+
1
−
1
View file @
ee7ec276
...
...
@@ -17,7 +17,7 @@ def main():
help
=
"
Scale the data images so that the line height matches this value
"
)
parser
.
add_argument
(
"
-O
"
,
"
--output
"
,
type
=
str
,
default
=
"
./
"
,
help
=
"
target directory for model and logs
"
)
parser
.
add_argument
(
"
--load
"
,
type
=
str
,
default
=
None
,
parser
.
add_argument
(
"
--load
"
,
"
--model
"
,
type
=
str
,
default
=
None
,
help
=
"
load an existing model and continue training
"
)
parser
.
add_argument
(
"
-E
"
,
"
--n-epoch
"
,
type
=
int
,
default
=
100
,
help
=
"
number of epochs
"
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment