mirror of
https://github.com/mikegerber/ocrd_calamari.git
synced 2025-06-09 11:49:53 +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:
parent
823b5923ac
commit
637a08da6a
1 changed files with 1 additions and 2 deletions
|
@ -34,9 +34,8 @@ from ocrd_models.ocrd_page import (
|
||||||
to_xml
|
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
|
from tensorflow import __version__ as tensorflow_version
|
||||||
|
|
||||||
TOOL = 'ocrd-calamari-recognize'
|
TOOL = 'ocrd-calamari-recognize'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue