1
0
Fork 0
mirror of https://github.com/mikegerber/ocrd_calamari.git synced 2025-06-09 03:39:55 +02:00

🐛 Fix TensorFlow (and h3py) dependency

TF 2.5 works for Python 3.6 + 3.9. Fixes #66.
This commit is contained in:
Gerber, Mike 2021-07-21 11:54:08 +02:00
parent 34013ddb02
commit bacd6747d8

View file

@ -1,5 +1,4 @@
h5py < 3 # XXX tensorflow 2.4.0rc3 requires h5py~=2.10.0, but you'll have h5py 3.1.0 which is incompatible. tensorflow >= 2.5.0
tensorflow >= 2.3.0rc2, < 2.5.0 # 2.5 depends on h5py ~= 3.1 (incompatible model files)
calamari-ocr == 1.0.* calamari-ocr == 1.0.*
setuptools >= 41.0.0 # tensorboard depends on this, but why do we get an error at runtime? setuptools >= 41.0.0 # tensorboard depends on this, but why do we get an error at runtime?
click click