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

Update tensorflow
pull/127/head
vahidrezanezhad 1 year 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 version: 2
build: build:
jobs: jobs:
- build-python37 # - build-python37
- build-python38 - build-python38

@ -3,7 +3,7 @@
name: Python package name: Python package
on: [push, pull_request] on: [push]
jobs: jobs:
build: build:
@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy: strategy:
matrix: matrix:
python-version: ['3.7', '3.8'] python-version: ['3.8', '3.9', '3.10', '3.11']
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2

@ -19,9 +19,9 @@
* [OCR-D](https://github.com/qurator-spk/eynollah#use-as-ocr-d-processor) interface * [OCR-D](https://github.com/qurator-spk/eynollah#use-as-ocr-d-processor) interface
## Installation ## 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 You can either install via

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

Loading…
Cancel
Save