Merge pull request #117 from qurator-spk/tf-2.12-or-greater

Update tensorflow
machine_based_reading_order_integration
vahidrezanezhad 7 months ago committed by GitHub
commit fc9e9cc29f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -47,5 +47,5 @@ workflows:
version: 2
build:
jobs:
- build-python37
# - build-python37
- build-python38

@ -3,7 +3,7 @@
name: Python package
on: [push, pull_request]
on: [push]
jobs:
build:
@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.7', '3.8']
python-version: ['3.8', '3.9', '3.10', '3.11']
steps:
- uses: actions/checkout@v2
@ -33,4 +33,4 @@ jobs:
pip install .
pip install -r requirements-test.txt
- name: Test with pytest
run: make test
run: make test

@ -19,9 +19,9 @@
* [OCR-D](https://github.com/qurator-spk/eynollah#use-as-ocr-d-processor) interface
## Installation
Python versions `3.7-3.10` with Tensorflow versions `2.4-2.11` are currently supported.
Python versions `3.8-3.11` with Tensorflow versions >=`2.12` are currently supported.
For (limited) GPU support the [matching](https://www.tensorflow.org/install/source#gpu) CUDA toolkit needs to be installed.
For (limited) GPU support the CUDA toolkit needs to be installed.
You can either install via

@ -2,7 +2,7 @@
ocrd >= 2.23.3
numpy <1.24.0
scikit-learn >= 0.23.2
tensorflow >= 2.4.0, <2.12.0
tensorflow >=2.12.0
imutils >= 0.5.3
matplotlib
setuptools >= 50

Loading…
Cancel
Save