Commit Graph

22 Commits (refactoring-2024-08-merged)

Author SHA1 Message Date
kba 8ec9fc6da2 Merge remote-tracking branch 'origin/refactor' into refactoring-2024-08 4 months ago
kba 0a3f525f0a port processor to core v3 4 months ago
cneud 1469dd505f remove Python 3.12 from tests again for now 9 months ago
cneud c3d9315b9e pin `scikit-learn` version supporting Python 3.8-3.12 9 months ago
cneud 8f6dd0649e update `scikit-learn` to version supporting Python 3.12 9 months ago
cneud dc3c676ff4 pin tf2 version to 2.12.1 9 months ago
cneud b3fa684395 pin tf2 version to 2.12.1
until we fix keras compatibility
9 months ago
cneud bfde86d247 update `ocrd` version 9 months ago
cneud 263a61c5a3 restrict tf2 to less than 2.16 9 months ago
Clemens Neudecker 896e50bf06
pin TF version 2.13 in requirements.txt
(TF 2.14 or greater pulls incompatible Keras 3)
10 months ago
Clemens Neudecker 03bfd7a390
Update requirements.txt
Update to `tensorflow>=2.12` (drops Python 3.7 support)
* fix #114 
* fix #115

Tested by @vahidrezanezhad @cneud
1 year ago
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
1 year ago
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.
1 year ago
Robert Sachunsky 34a061782c
depend on tensorflow instead of tensorflow-gpu (#76) 3 years ago
cneud 8c11b2253d update requirements (use tf2) 3 years ago
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.
4 years ago
Konstantin Baierer da563519ec require setuptools >= 50 4 years ago
Konstantin Baierer 916e0a1870 restrict keras version to < 2.4 4 years ago
vahidrezanezhad e3a55721f1
Update requirements.txt 4 years ago
Clemens Neudecker a3e55582f7
tensorflow-gpu instead of tensorflow 4 years ago
Konstantin Baierer 30829bc9b2 seaborn not currently used 4 years ago
Konstantin Baierer f229907e41 extend setup.py, add Makefile, gitignore, requirements.txt 4 years ago