Commit Graph

29 Commits (test-python-3.11)

Author SHA1 Message Date
Mike Gerber c25c8d0a4f 🧹 Remove workaround for fixed np.str problem in Calamari
Older Calamari version had used deprecated np.str, remove the workaround
for this and require Calamari >= 1.0.6 instead.

See #87.
8 months ago
Mike Gerber 16a79cead6 🐛 Fix installation by keeping protobuf < 4.0 1 year ago
Gerber, Mike 1dcec06c2b 🐛 Fix NumPy dependency (hopefully...) 1 year ago
Gerber, Mike 24c7762353 🐛 Fix syntax error in setup.py 1 year ago
Gerber, Mike 699554dc8a 🐛 Require NumPy < 1.24 due to np.str deprecation/error
NumPy has deprecated np.str (etc.) since NumPy 1.20, and since Numpy
1.24 throws an error. We can't currently update to Calamari 2 (and fix
the problem there if necessary), so stick to NumPy 1.23.x for now.

https://github.com/OCR-D/ocrd_calamari/issues/87
1 year ago
Gerber, Mike bacd6747d8 🐛 Fix TensorFlow (and h3py) dependency
TF 2.5 works for Python 3.6 + 3.9. Fixes #66.
3 years ago
Robert Sachunsky 2fd6e536f6
requirements: prevent TF 2.5 3 years ago
Konstantin Baierer 00e43b1d1f use Processor.resolve_files to handle on-demand download of models via registry 3 years ago
Gerber, Mike 15bcfde180 🐛 Pin h5py to < 3 because pip 4 years ago
Gerber, Mike 8fcd331fbd Merge branch 'feat/update-calamari1' 4 years ago
Gerber, Mike af211d2a1b 🧹 Do not install numpy, let the TF dependency do it 4 years ago
Konstantin Baierer f746b73fd0 use make_file_id and assert_file_grp_cardinality 4 years ago
Gerber, Mike 0a9dbd0c25 🧹 Do not install numpy, let the TF dependency do it 4 years ago
Gerber, Mike d9afb05cf3 🐛 Use TensorFlow >= 2.3.0rc2 to fix retracing warnings 4 years ago
Gerber, Mike 7dff7784c5 ⬆️ Update to Calamari 1.0.x 4 years ago
Gerber, Mike 6f4736f8e4 Do word segmentation as expected by OCR-D PAGE specs 4 years ago
Gerber, Mike 507bc1ce5e Include proper word + glyph segmentation 4 years ago
Gerber, Mike 17dbeb2480 🔧 Loosen tensorflow-gpu dependency a bit to 1.15.* 4 years ago
Gerber, Mike c416e0c253 Revert "🐛 Use the documented package name for TensorFlow 1.15.x"
This reverts commit 739f43e9da.
4 years ago
Gerber, Mike 739f43e9da 🐛 Use the documented package name for TensorFlow 1.15.x 4 years ago
dependabot[bot] c09fe169f2
Bump tensorflow-gpu from 1.14.0 to 1.15.2
Bumps [tensorflow-gpu](https://github.com/tensorflow/tensorflow) from 1.14.0 to 1.15.2.
- [Release notes](https://github.com/tensorflow/tensorflow/releases)
- [Changelog](https://github.com/tensorflow/tensorflow/blob/master/RELEASE.md)
- [Commits](https://github.com/tensorflow/tensorflow/compare/v1.14.0...v1.15.2)

Signed-off-by: dependabot[bot] <support@github.com>
4 years ago
Gerber, Mike 1c36265599 ⬆ Update ocrd 4 years ago
Gerber, Mike 69498766b0 🐛 Further tighten dependencies to a known good configuration 5 years ago
Gerber, Mike 2c06006fd8 🐛 Further tighten dependencies to a known good configuration 5 years ago
Gerber, Mike caa73c2b44 ⬇️ Use tighter dependencies for TensorFlow and Calamari
With the recent release of TensorFlow 2.0, we need to make sure we
install a version compatible with the current Calamari release, e.g.
TF < 2.0.

Also, depend on a Calamari version that is known to be working, that
is Calamari >= 0.3.5.

Fixes #6.
5 years ago
Gerber, Mike 3e8c1ac338 🐛 Depend on setuptools because whatever 5 years ago
Gerber, Mike 4df04ac6d7 🚧 Update to ocrd >= 1.0.0b11 5 years ago
Gerber, Mike b9e38487bd 🚧 Extract a method to resolve an image as a Numpy array 5 years ago
Gerber, Mike dbe43e2316 🚧 Process lines 5 years ago