-
Notifications
You must be signed in to change notification settings - Fork 191
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* remove remaining 'default' (missing in 16df5ab) * net_spec: read from unicharset directly (produces prettier log) * Update plotting in Makefile - OCRevalCER and ISRIevalCER NOT used * Remove external tools eval * tee to log instead of redirect stdout * plotting: simplify and explify… - avoid creating extra subdirectories (would necessitate mkdir and extra deps) - produce all necessary outputs in OUTPUT_DIR - make temporary files .INTERMEDIATE (so they will be removed automatically afterwards) - define file names close to where they are actually used and in the correct order (no need for the user to see/customise them) - use fixed name for training log file and plot file (derived from OUTPUT_DIR and MODEL_NAME) - simplify extraction pipelines, make dependencies explicit - make checkpoint evaluations directly dependent on checkpoint models - provide phony (aliased aggregate) target lstmeval for these - provide phony (aliased aggregate) target plot for the actual plots - never cut off ranges from y scale (CER) - make naming and coloring more consistent * help: add lstmeval target * update/improve readme * training log: also redirect stderr * do use LOG_FILE variable after all * Fix some typos (found by codespell and typos) Signed-off-by: Stefan Weil <[email protected]> * use other log file name Co-authored-by: Stefan Weil <[email protected]> * use LOG_FILE variable where due Co-authored-by: Stefan Weil <[email protected]> * rename target lstmeval→evaluation * readme: explain plotting for ocrd-testset * gitignore: simplify * plot: use PY_CMD here, too * plot: simplify file names for intermediate targets Co-authored-by: Stefan Weil <[email protected]> * plot*.py: pass target file name directly * remove older (unconnected) plot scripts * use pandas indexing properly Co-authored-by: Stefan Weil <[email protected]> * plot*.py: remove os import no longer needed * add plot example and show in readme * update readme * plot: append to training.log * improve help/doc * plot/evaluation: use best instead of fast * Update .gitignore * improve readme --------- Signed-off-by: Stefan Weil <[email protected]> Co-authored-by: Shree Devi Kumar <[email protected]> Co-authored-by: Stefan Weil <[email protected]>
- Loading branch information
1 parent
5a9d7ba
commit 4770fee
Showing
8 changed files
with
389 additions
and
198 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,4 @@ | ||
data/*ground-truth/* | ||
data/langdata/* | ||
!data/ground-truth/.gitkeep | ||
data/all-* | ||
data/list.* | ||
data/unicharset | ||
dta19-reduced | ||
dta19-reduced.tar.gz | ||
/data/ | ||
*.built | ||
*.BAK | ||
/usr | ||
data/checkpoints | ||
9ae97508aed1e5508458f1181b08501f984bf4e2.zip | ||
langdata-* | ||
data/test/* | ||
data/*.traineddata | ||
wackenroder_herzensergiessungen_*.gt.txt | ||
wackenroder_herzensergiessungen_*.tif | ||
master.zip | ||
main.zip | ||
plot/*.LOG | ||
plot/ocrd* | ||
|
||
# ignore temporary training data | ||
*checkpoints* | ||
*~ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.