Commit graph

480 commits

Author SHA1 Message Date
cneud
c3d9315b9e pin scikit-learn version supporting Python 3.8-3.12 2024-03-19 23:33:57 +01:00
cneud
6524b0b850 Update pyproject.toml.draft 2024-03-19 23:21:29 +01:00
cneud
8f6dd0649e update scikit-learn to version supporting Python 3.12 2024-03-19 23:19:21 +01:00
cneud
9ad7b4f520 update GitHub actions 2024-03-19 22:59:09 +01:00
cneud
a5c885e151 create draft pyproject.toml 2024-03-19 22:34:58 +01:00
cneud
9d24150031 use tf1.compat mode for keras 2024-03-19 22:20:19 +01:00
cneud
5fcfe61afc drop CircleCI 2024-03-19 20:40:51 +01:00
cneud
a269cca8c8 also test Python 3.12 2024-03-19 20:39:33 +01:00
cneud
dc3c676ff4 pin tf2 version to 2.12.1 2024-03-19 20:33:14 +01:00
cneud
cd128f61aa use tf1 compatibility for keras backend 2024-03-19 20:32:25 +01:00
cneud
bfde86d247 update ocrd version 2024-03-15 23:54:52 +01:00
cneud
b8144f008b convert img_name to string 2024-03-15 23:41:54 +01:00
cneud
3270f49256 add DOI badge 2024-03-15 23:00:20 +01:00
cneud
9417667a4b document compatible TF2 versions 2024-03-15 22:47:22 +01:00
cneud
263a61c5a3 restrict tf2 to less than 2.16 2024-03-15 21:22:09 +01:00
Clemens Neudecker
482511adc0
clean up 2024-03-11 16:16:47 +01:00
Clemens Neudecker
896e50bf06
pin TF version 2.13 in requirements.txt
(TF 2.14 or greater pulls incompatible Keras 3)
2024-03-11 14:37:12 +01:00
Clemens Neudecker
c9c9047e20
fix typo 2024-03-11 14:16:31 +01:00
Clemens Neudecker
dd60cd6c92
improve CLI documentation (HT @michalbubula) 2024-03-11 14:14:38 +01:00
Clemens Neudecker
757987314d
Update README.md 2024-03-05 23:01:00 +01:00
cneud
702656cf77 more code formatting 2024-02-24 01:18:24 +01:00
cneud
47ee128c5a undo 3f65934835 2024-02-24 01:17:23 +01:00
cneud
3f65934835 partial revert of c606391c31 2024-02-24 00:14:18 +01:00
cneud
604a908ec8 Update processor.py 2024-02-23 23:33:54 +01:00
Robert Sachunsky
ccd35b426b adapt to OcrdFile.local_filename now :Path 2024-02-23 23:28:12 +01:00
Robert Sachunsky
0720091a48 adapt to ocrd>=2.54 url vs local_filename 2024-02-23 23:27:57 +01:00
cneud
1a95bca22d more code formatting 2024-02-23 22:44:27 +01:00
cneud
713b90e084 code formatting 2024-02-23 22:13:02 +01:00
cneud
523a10bcfd Update README.md 2024-02-23 20:48:07 +01:00
cneud
63946ad403 add pagexml2img.py to 'train' 2024-02-23 20:37:40 +01:00
cneud
3f4c30a47a fix ocrd-tool.json path 2024-02-23 20:26:23 +01:00
cneud
a08020dba1 copy sbb_pixelwise_segmentation into train 2024-02-23 20:22:21 +01:00
cneud
21a47c081a refactor namespace to eynollah 2024-02-23 20:18:38 +01:00
vahidrezanezhad
6018b354aa comment unnecessary print commands 2023-11-27 17:23:34 +01:00
Clemens Neudecker
f2811ee469
add supported OS to readme 2023-10-24 17:32:06 +02:00
vahidrezanezhad
7983a65006 filtering separators in a correct way without missing them 2023-10-14 13:31:56 +02:00
vahidrezanezhad
fc9e9cc29f
Merge pull request #117 from qurator-spk/tf-2.12-or-greater
Update tensorflow
2023-09-29 05:30:19 -04:00
cneud
4254ce3bdb Update README.md 2023-09-26 18:54:14 +02:00
cneud
56934c876a remove duplicate test for Python 3.8 2023-09-26 18:53:10 +02:00
Clemens Neudecker
6c65fc4dfe
Update config.yml 2023-09-26 18:33:05 +02:00
Clemens Neudecker
9d3a1a5b76
Update test-eynollah.yml 2023-09-26 18:32:20 +02:00
Clemens Neudecker
03bfd7a390
Update requirements.txt
Update to `tensorflow>=2.12` (drops Python 3.7 support)
* fix #114 
* fix #115

Tested by @vahidrezanezhad @cneud
2023-09-26 18:16:20 +02:00
vahidrezanezhad
7a70b20c77 apply missed commit #a56988a back 2023-09-05 13:43:11 +02:00
vahidrezanezhad
0ea90b7509
Merge pull request #116 from qurator-spk/fix-typos
fix some typos
2023-08-18 08:23:23 -04:00
vahidrezanezhad
830b0fc8fa
Merge pull request #113 from qurator-spk/tf_<2.12.0
introduce (temporary) upper bounds for tensorflow and numpy version
2023-08-18 08:03:04 -04:00
cneud
d3b06baa84 fix some typos 2023-08-18 02:52:49 +02:00
Clemens Neudecker
3e62657570
added the TF upper bound in the README 2023-08-17 23:02:10 +02:00
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
2023-08-17 22:07:45 +02:00
Clemens Neudecker
935332e863
test fix for keras.backend import error with Python 3.8 2023-08-17 21:45:48 +02:00
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.
2023-08-17 21:05:51 +02:00