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

🐛 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.
This commit is contained in:
Mike Gerber 2023-10-12 20:21:54 +02:00
parent 823b5923ac
commit 637a08da6a

View file

@ -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'