Merge pull request #45 from OCR-D/getlogger

getLogger per method
fix/readme-no-checkpoint
Mike Gerber 4 years ago committed by GitHub
commit 04e950a0a8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -27,7 +27,6 @@ from ocrd_utils import (
from ocrd_calamari.config import OCRD_TOOL, TF_CPP_MIN_LOG_LEVEL
TOOL = 'ocrd-calamari-recognize'
log = getLogger('processor.CalamariRecognize')
class CalamariRecognize(Processor):
@ -51,6 +50,7 @@ class CalamariRecognize(Processor):
"""
Performs the recognition.
"""
log = getLogger('processor.CalamariRecognize')
assert_file_grp_cardinality(self.input_file_grp, 1)
assert_file_grp_cardinality(self.output_file_grp, 1)

Loading…
Cancel
Save