diff --git a/ppocr/data/rec/img_tools.py b/ppocr/data/rec/img_tools.py index 76c4315a887db11f6d543666d08b0ed60ebce698..6e3577aa29cc79998c4c166c0bb532e2a9c92f7c 100755 --- a/ppocr/data/rec/img_tools.py +++ b/ppocr/data/rec/img_tools.py @@ -359,11 +359,6 @@ def process_image(img, # char_num = char_ops.get_char_num() text = char_ops.encode(label) if len(text) == 0 or len(text) > max_text_length: - logger.info( - "Warning in ppocr/data/rec/img_tools.py:line106: Wrong data type." - "Excepted string with length between 1 and {}, but " - "got '{}'. Label is '{}'".format(max_text_length, - len(text), label)) return None else: if loss_type == "ctc":