Merge pull request #113 from qurator-spk/tf_<2.12.0

introduce (temporary) upper bounds for tensorflow and numpy version
pull/117/head
vahidrezanezhad 9 months ago committed by GitHub
commit 830b0fc8fa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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 `>=2.4` are currently supported.
Python versions `3.7-3.10` with Tensorflow versions `2.4-2.11` are currently supported.
For (limited) GPU support the [matching](https://www.tensorflow.org/install/source#gpu) CUDA toolkit `>=10.1` needs to be installed.
For (limited) GPU support the [matching](https://www.tensorflow.org/install/source#gpu) CUDA toolkit needs to be installed.
You can either install via

@ -29,7 +29,7 @@ warnings.filterwarnings("ignore")
from scipy.signal import find_peaks
import matplotlib.pyplot as plt
from scipy.ndimage import gaussian_filter1d
from keras.backend import set_session
from tensorflow.python.keras.backend import set_session
from tensorflow.keras import layers
from .utils.contour import (

@ -1,7 +1,8 @@
# ocrd includes opencv, numpy, shapely, click
ocrd >= 2.23.3
numpy <1.24.0
scikit-learn >= 0.23.2
tensorflow >= 2.4.0
tensorflow >= 2.4.0, <2.12.0
imutils >= 0.5.3
matplotlib
setuptools >= 50

Loading…
Cancel
Save