Closed kba closed 3 years ago
Any ideas on what the problem might be?
The problem is in ocrd-anybaseocr-tiseg: it uses Keras but import it directly instead of from Tensorflow. This is not allowed anymore in TF2. The other Keras processors in that module use from ..tensorflow_importer import tf, keras
– that should work here, too.
Any ideas on what the problem might be?
The problem is in ocrd-anybaseocr-tiseg: it uses Keras but import it directly instead of from Tensorflow. This is not allowed anymore in TF2. The other Keras processors in that module use
from ..tensorflow_importer import tf, keras
– that should work here, too.
Thanks, I will try to adapt tiseg.
The problem is in ocrd-anybaseocr-tiseg: it uses Keras but import it directly instead of from Tensorflow. This is not allowed anymore in TF2. The other Keras processors in that module use
from ..tensorflow_importer import tf, keras
– that should work here, too.
Strange that I did not see this when attempting to fix tiseg et al (including dependencies) in https://github.com/OCR-D/ocrd_anybaseocr/pull/79. @kba feel free to add it to that PR and merge, or create a new one independently just fixing that one issue.
Build fails because of a Keras/Tensorflow incompatibility:
@bertsky @mikegerber Any ideas on what the problem might be?