getLogger per method

fix/readme-no-checkpoint
Konstantin Baierer 4 years ago
parent bb9b1ab41b
commit e4982aff37

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