From 92b60117f0d52fa58afb6f71701d023a202c14f4 Mon Sep 17 00:00:00 2001 From: LDOUBLEV Date: Wed, 17 Jun 2020 13:02:52 +0800 Subject: [PATCH] optimize doc and error message --- README.md | 1 + README_en.md | 1 + doc/doc_ch/detection.md | 13 +++++++++++-- doc/doc_ch/inference.md | 7 +++++++ doc/doc_en/detection_en.md | 11 +++++++++++ doc/doc_en/inference_en.md | 7 +++++++ ppocr/data/rec/img_tools.py | 8 +++++++- 7 files changed, 45 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 5eb9ed8f..099bb284 100644 --- a/README.md +++ b/README.md @@ -250,3 +250,4 @@ PaddleOCR文本识别算法的训练和使用请参考文档教程中[文本识 我们非常欢迎你为PaddleOCR贡献代码,也十分感谢你的反馈。 - 非常感谢 [Khanh Tran](https://github.com/xxxpsyduck) 贡献了英文文档。 +- 非常感谢 [zhangxin](https://github.com/ZhangXinNan) 贡献新的可视化方式、添加.gitgnore、处理手动设置PYTHONPATH环境变量的问题 diff --git a/README_en.md b/README_en.md index c64b65c4..21902996 100644 --- a/README_en.md +++ b/README_en.md @@ -255,3 +255,4 @@ This project is released under max_text_length: + logger.info( + "Warning in ppocr/data/rec/img_tools.py:line106: Wrong data type." + "Excepted string with length between 0 and {}, but " + "got '{}' ".format(max_text_length, label)) return None else: if loss_type == "ctc": -- GitLab