mirror of
https://github.com/qurator-spk/eynollah.git
synced 2025-07-25 18:59:54 +02:00
Merge pull request #113 from qurator-spk/tf_<2.12.0
introduce (temporary) upper bounds for tensorflow and numpy version
This commit is contained in:
commit
830b0fc8fa
3 changed files with 5 additions and 4 deletions
|
@ -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 `>=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
|
You can either install via
|
||||||
|
|
||||||
|
|
|
@ -29,7 +29,7 @@ warnings.filterwarnings("ignore")
|
||||||
from scipy.signal import find_peaks
|
from scipy.signal import find_peaks
|
||||||
import matplotlib.pyplot as plt
|
import matplotlib.pyplot as plt
|
||||||
from scipy.ndimage import gaussian_filter1d
|
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 tensorflow.keras import layers
|
||||||
|
|
||||||
from .utils.contour import (
|
from .utils.contour import (
|
||||||
|
|
|
@ -1,7 +1,8 @@
|
||||||
# ocrd includes opencv, numpy, shapely, click
|
# ocrd includes opencv, numpy, shapely, click
|
||||||
ocrd >= 2.23.3
|
ocrd >= 2.23.3
|
||||||
|
numpy <1.24.0
|
||||||
scikit-learn >= 0.23.2
|
scikit-learn >= 0.23.2
|
||||||
tensorflow >= 2.4.0
|
tensorflow >= 2.4.0, <2.12.0
|
||||||
imutils >= 0.5.3
|
imutils >= 0.5.3
|
||||||
matplotlib
|
matplotlib
|
||||||
setuptools >= 50
|
setuptools >= 50
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue