Commit Graph

152 Commits (342e94e28762dee35611e279ad07d9b8f58bebcc)
 

Author SHA1 Message Date
Robert Sachunsky 342e94e287 reinstate ensemble combination and in-memory prediction
Robert Sachunsky cade5dda73 reintroduce TF stderr / log silencer
Alexander Pacha 9ef8259677 Merge branch 'master-upstream'
# Conflicts:
#	README.md
#	sbb_binarize/cli.py
#	sbb_binarize/sbb_binarize.py
Konstantin Baierer aeb6804b7d 📦 v0.0.11
Konstantin Baierer 82816b048e 📝 changelog
Konstantin Baierer 6fb6946531
Merge pull request from bertsky/patch-3
ocrd-tool.json: register SavedModel resources
Clemens Neudecker 0d8a9f33f5
Update README.md
remove patches parameter from readme
vahid 7c3f2176f7 issue the patches option is omitted and it means that documents will be processed in patches while no patches is not desired by the tool
Robert Sachunsky 743ca0dbed
Update requirements.txt
Robert Sachunsky f8ade5d3da
ocrd-tool.json: register SavedModel resources
Clemens Neudecker eff7a47852
Merge pull request from bertsky/img-allow-alpha
allow alpha channels
Clemens Neudecker 56ccb39539
Update README
* recommend cropping (fix )
* document huggingface saved_model
Robert Sachunsky a69470135a load_model: also allow SavedModel directories
Robert Sachunsky 88d64de67b pil2cv: reduce transparency to white
Alexander Pacha 4a97eacc56 Removed --patches flag, as the new version automatically uses patches in an efficient way.
Updated cli.py to correctly load and initialize the changed SbbBinarizer class
Alexander Pacha 7edf34a815 Adding a bit more documentation
Alexander Pacha 9db2bcc8b0 Remove obsolete comment
Alexander Pacha 1c7e8c5e21 Improved formatting
Alexander Pacha 1baa70e382 Improving comments in the code
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.
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.
vahid f11d0b0bf7 is resolved
vahidrezanezhad 2355d0ec8f
Merge pull request from apacha/fix_no_models_available
Raise error when no models were loaded
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.
Konstantin Baierer c99be55af2 📦 v0.0.10
Konstantin Baierer 2abd8ae848 📝 changelog
Konstantin Baierer d1e9389b54
Merge pull request from maxnth/fix/cli
use types.Path instead of click.Path to avoid NameError
maxnth dc5a5c791a use types.Path instead of click.Path to avoid NameError
Clemens Neudecker e4c1eb2913
Merge pull request from bertsky/patch-2
depend on tensorflow not tensorflow-gpu, drop holding h5py
Robert Sachunsky fd93a45505
depend on tensorflow not tensorflow-gpu, drop holding h5py
Clemens Neudecker 0877199c68
importing types from click is enough
vahidrezanezhad 792619e830
Update cli.py
vahidrezanezhad 82e0783e01
fixing . Directory of model(s) is needed not model file name.
Clemens Neudecker 2119c907c4
Merge pull request from qurator-spk/0.0.9
v0.0.9
Clemens Neudecker aab51dbe82
Update ocrd-tool.json
Clemens Neudecker b9bbbe9004
Update CHANGELOG.md
Clemens Neudecker ff78d4e85c
improve usage instructions
vahidrezanezhad 0fe5232488
Merge pull request from cneud/upgrade_to_tf2_with_tf1.compat_session
fix tf2 with tf1.compat session
Clemens Neudecker 2d4ce8f706
don't require Keras explicitely
Clemens Neudecker 83c60d7b26
cleanup
cneud b7aeb1ae8b use tensorflow Keras backend
Clemens Neudecker 1a4207c614
relax numpy version requirement
Clemens Neudecker df8e7bfb33
Update requirements.txt
vahid 6296c6a82c Revert "Merge pull request from qurator-spk/upgrade_to_tf2_with_compat_mode"
This reverts commit 593458d321, reversing
changes made to e1575268d7.
vahidrezanezhad 593458d321
Merge pull request from qurator-spk/upgrade_to_tf2_with_compat_mode
actually use TF2 (with TF1.compat mode)
Clemens Neudecker 33deaaa90d
actually use TF2 (with TF1.compat mode)
vahidrezanezhad e1575268d7
Merge pull request from bertsky/factor-setup
Factor setup
Robert Sachunsky 73b7b48dfb
ocrd-tool.json: add directory content-type for model
Robert Sachunsky 416b5dd7e2 adapt to TF1 deprecation
Robert Sachunsky ad50ed287d binarizer: reset TF session prior to predict()