OCR-D / ocrd_anybaseocr

DFKI Layout Detection for OCR-D
Apache License 2.0
48 stars 12 forks source link

Broken because of incomplete requirements #107

Open stweil opened 4 months ago

stweil commented 4 months ago

The CI tests fail when running make check because the dependencies are not modeled strict enough.

AttributeError: module 'tensorflow.keras' has no attribute '__version__'
AttributeError: module 'mpmath' has no attribute 'rational'

Which version of keras would work?

mpmath is also too new. Here the dependencies are torch -> sympy -> mpmath, and the error is in sympy which does not enforce a matching mpmath. Maybe torch must be downgraded or mpmath be added to the requirements.