🐛 Fix recognize.py

config.py's TF_CPP_MIN_LOG_LEVEL was removed but recognize.py not
adapted accordingly. Fix this by removing the use of the variable
there as well.
test-python-3.11
Mike Gerber 1 year ago
parent 823b5923ac
commit 637a08da6a

@ -34,9 +34,8 @@ from ocrd_models.ocrd_page import (
to_xml
)
from ocrd_calamari.config import OCRD_TOOL, TF_CPP_MIN_LOG_LEVEL
from ocrd_calamari.config import OCRD_TOOL
os.environ['TF_CPP_MIN_LOG_LEVEL'] = TF_CPP_MIN_LOG_LEVEL
from tensorflow import __version__ as tensorflow_version
TOOL = 'ocrd-calamari-recognize'

Loading…
Cancel
Save