Commit Graph

29 Commits (a3e1b3d4d5612aa77660f9b56940f9e67f2b84eb)

Author SHA1 Message Date
Robert Sachunsky 108ce1f5a1 Merge remote-tracking branch 'origin/main' into v3-api-release-foreal
(bad-ass difficult diff diffing)
Robert Sachunsky ab3da17547
Update requirements.txt
Co-authored-by: Konstantin Baierer <kba@users.noreply.github.com>
Robert Sachunsky 3916474b8b OCR-D: require >=v3.1
Robert Sachunsky 1f4a17b60d Merge remote-tracking branch 'origin/machine_based_reading_order_integration' into v3-api
vahidrezanezhad cf40f9ecc5 The rotate_image function produces the exact same rotation as Imutils. Therefore, there is no need to retain the remove-imutils-1 branch.
vahidrezanezhad b55389ac62
Update requirements.txt
vahidrezanezhad c9de578d4d removing imutils from requirements
kba 869110f185 merge main
Robert Sachunsky 0ae28f7d3e switch from stdlib to loky.ProcessPoolExecutor, ensure shutdown
Robert Sachunsky f765e2603b move Torch to optional dependencies (to avoid clash with TF over CuDNN)
vahidrezanezhad 5fa8ca46a4 updating requirements
Clemens Neudecker 1ae77e61c8
Update requirements.txt
Clemens Neudecker 21893910b8
relax tf2 requirement to < 2.13
kba fdedae2406 require ocrd>=3.0.0b4
kba aef46a4669 require ocrd >= 3.0.0b1
kba 0a3f525f0a port processor to core v3
cneud b3fa684395 pin tf2 version to 2.12.1
until we fix keras compatibility
Clemens Neudecker 03bfd7a390
Update requirements.txt
Update to `tensorflow>=2.12` (drops Python 3.7 support)
* fix  
* fix 

Tested by @vahidrezanezhad @cneud
Clemens Neudecker b58a327c5d
cap numpy to <1.24.0
OK so now numpy is the culprit (shipped unbound via ocrd) which had several deprecations expire with release of v1.24.0 that require changes to our codebase, e.g. 
* The deprecation for the aliases np.object, np.bool, np.float, np.complex, np.str, and np.int is expired
* Ragged array creation will now always raise a ValueError unless dtype=object is passed.

See also here: https://numpy.org/devdocs/release/1.24.0-notes.html#expired-deprecations
Clemens Neudecker e5acee09ab
cap tensorflow version to <2.12.0
Cap tensorflow version to <2.12.0 until we have time to adapt to the API changes such as e.g.
* Support for Python 3.11 has been added.
* Support for Python 3.7 has been removed. 
See also https://github.com/tensorflow/tensorflow/releases/tag/v2.12.0.
Robert Sachunsky 34a061782c
depend on tensorflow instead of tensorflow-gpu ()
cneud 8c11b2253d update requirements (use tf2)
Gerber, Mike 70e7316907 🐛 Fix ocrd core requirement
eynollah requires at ocrd >= 2.22.0 for the resource resolving code,
otherwise it fails with an AttributeError. Fix this by bumping up the
requirement.

I bumped it to 2.23.3 so core *also* includes the latest model resource
for eynollah.
Konstantin Baierer da563519ec require setuptools >= 50
Konstantin Baierer 916e0a1870 restrict keras version to < 2.4
vahidrezanezhad e3a55721f1
Update requirements.txt
Clemens Neudecker a3e55582f7
tensorflow-gpu instead of tensorflow
Konstantin Baierer 30829bc9b2 seaborn not currently used
Konstantin Baierer f229907e41 extend setup.py, add Makefile, gitignore, requirements.txt