Robert Sachunsky
|
6dc83dd1a5
|
comment out explicit GC calls / session management
|
2 years ago |
Robert Sachunsky
|
342e94e287
|
reinstate ensemble combination and in-memory prediction
|
2 years ago |
Robert Sachunsky
|
cade5dda73
|
reintroduce TF stderr / log silencer
|
2 years ago |
Alexander Pacha
|
7edf34a815
|
Adding a bit more documentation
|
2 years ago |
Alexander Pacha
|
9db2bcc8b0
|
Remove obsolete comment
|
2 years ago |
Alexander Pacha
|
1c7e8c5e21
|
Improved formatting
|
2 years ago |
Alexander Pacha
|
1baa70e382
|
Improving comments in the code
|
2 years ago |
Alexander Pacha
|
4112c6fe71
|
Rewrote binarization script to always use patches, but in a much more efficient way and adding support for batch-conversion with multiple GPUs.
|
2 years ago |
Alexander Pacha
|
b0a8b613e8
|
Improved loading of models to allow providing a directory, added a few type-hints and improved the code-style a little bit by running an auto-formatter on the entire file.
|
2 years ago |
vahid
|
f11d0b0bf7
|
#42 is resolved
|
2 years ago |
Alexander Pacha
|
55a9fba677
|
Small fix to raise an exception when no model was found instead of failing later with TypeError: 'int' object is not subscriptable.
|
2 years ago |
Clemens Neudecker
|
83c60d7b26
|
cleanup
|
3 years ago |
cneud
|
b7aeb1ae8b
|
use tensorflow Keras backend
|
3 years ago |
Robert Sachunsky
|
416b5dd7e2
|
adapt to TF1 deprecation
|
4 years ago |
Robert Sachunsky
|
ad50ed287d
|
binarizer: reset TF session prior to predict()
|
4 years ago |
vahid
|
2c7cd84649
|
resolving error for inputs whcih have smaller scale than model patch
|
4 years ago |
Lucas Sulzbach
|
45f1509dbc
|
sbb_binarize: Load each model only once
|
4 years ago |
Lucas Sulzbach
|
0f7d4c589a
|
sbb_binarize: Start new session only once
|
4 years ago |
Clemens Neudecker
|
9a97c972d4
|
Merge pull request #13 from OCR-D/image-path
🐛 read from image_path, not image
|
4 years ago |
Konstantin Baierer
|
71b2801183
|
🐛 read from image_path, not image
|
4 years ago |
Clemens Neudecker
|
4d145cc905
|
Merge pull request #11 from OCR-D/altimage-comments
🐛 typo: comment{,s}, fix #8
|
4 years ago |
Konstantin Baierer
|
c4b63fca47
|
🐛 typo: comment{,s}, fix #8
|
4 years ago |
Konstantin Baierer
|
664a441a2d
|
glob *.h5 files only in model dir, fix #7
|
4 years ago |
Konstantin Baierer
|
2bc6ccc4c0
|
replace patches string comparison with use_patches boolean
|
4 years ago |
Konstantin Baierer
|
1fa581283c
|
SbbBinarizer: refactor (variable names, less instance-wide state)
|
4 years ago |
Konstantin Baierer
|
12b44af329
|
convert between cv2 and pil, DRY binarizer call
|
4 years ago |
Konstantin Baierer
|
a4c0cf0a47
|
shut up keras/tensorflow
|
4 years ago |
Konstantin Baierer
|
ca03844c2b
|
allow passing image directly, return image on binarize
|
4 years ago |
Konstantin Baierer
|
389ef088d0
|
put CLI into its own module
|
4 years ago |
Konstantin Baierer
|
71d44408b3
|
🎨 clean up code
|
4 years ago |
b-vr103
|
e4715b88fa
|
update binarization tool
|
5 years ago |
Rezanezhad, Vahid
|
5209dcf46e
|
Update sbb_binarize.py
|
5 years ago |
Rezanezhad, Vahid
|
9cc72d1918
|
Add new file
|
5 years ago |