diff --git a/deploy/lite/readme.md b/deploy/lite/readme.md index 378a3eec2ebf2ffcc1e8f46c52ff75bfc607cdef..219cc83fe4487400e886e47e46cb30275ba72c14 100644 --- a/deploy/lite/readme.md +++ b/deploy/lite/readme.md @@ -18,7 +18,7 @@ Paddle Lite是飞桨轻量化推理引擎,为手机、IOT端提供高效推理 1. [Docker](https://paddle-lite.readthedocs.io/zh/latest/user_guides/source_compile.html#docker) 2. [Linux](https://paddle-lite.readthedocs.io/zh/latest/user_guides/source_compile.html#android) 3. [MAC OS](https://paddle-lite.readthedocs.io/zh/latest/user_guides/source_compile.html#id13) -4. [Windows](https://paddle-lite.readthedocs.io/zh/latest/demo_guides/x86.html#windows) +4. [Windows](https://paddle-lite.readthedocs.io/zh/latest/demo_guides/x86.html#id4) ### 1.2 准备预测库 @@ -84,7 +84,7 @@ Paddle-Lite 提供了多种策略来自动优化原始的模型,其中包括 |模型简介|检测模型|识别模型|Paddle-Lite版本| |-|-|-|-| -|超轻量级中文OCR opt优化模型|[下载地址](https://paddleocr.bj.bcebos.com/deploy/lite/ch_det_mv3_db_opt.nb)|[下载地址](https://paddleocr.bj.bcebos.com/deploy/lite/ch_rec_mv3_crnn_opt.nb)|2.6.1| +|超轻量级中文OCR opt优化模型|[下载地址](https://paddleocr.bj.bcebos.com/deploy/lite/ch_det_mv3_db_opt.nb)|[下载地址](https://paddleocr.bj.bcebos.com/deploy/lite/ch_rec_mv3_crnn_opt.nb)|develop| 如果直接使用上述表格中的模型进行部署,可略过下述步骤,直接阅读 [2.2节](#2.2与手机联调)。 diff --git a/deploy/lite/readme_en.md b/deploy/lite/readme_en.md index a8c9f604a756b1f7d1da457dab0909244de021f9..1efbba368cedcfe276b56560082662211e2c333a 100644 --- a/deploy/lite/readme_en.md +++ b/deploy/lite/readme_en.md @@ -17,7 +17,7 @@ deployment solutions for end-side deployment issues. [build for Docker](https://paddle-lite.readthedocs.io/zh/latest/user_guides/source_compile.html#docker) [build for Linux](https://paddle-lite.readthedocs.io/zh/latest/user_guides/source_compile.html#android) [build for MAC OS](https://paddle-lite.readthedocs.io/zh/latest/user_guides/source_compile.html#id13) -[build for windows](https://paddle-lite.readthedocs.io/zh/latest/demo_guides/x86.html#windows) +[build for windows](https://paddle-lite.readthedocs.io/zh/latest/demo_guides/x86.html#id4) ## 3. Download prebuild library for android and ios @@ -155,7 +155,7 @@ demo/cxx/ocr/ |-- debug/ | |--ch_det_mv3_db_opt.nb Detection model | |--ch_rec_mv3_crnn_opt.nb Recognition model -| |--11.jpg image for OCR +| |--11.jpg Image for OCR | |--ppocr_keys_v1.txt Dictionary file | |--libpaddle_light_api_shared.so C++ .so file | |--config.txt Config file diff --git a/ppocr/modeling/backbones/rec_mobilenet_v3.py b/ppocr/modeling/backbones/rec_mobilenet_v3.py index 506209cc9c701ac889b0d9f7eb4c1cb706a1f175..e504064242bfe6b0f433126ef4efb191b550a2eb 100755 --- a/ppocr/modeling/backbones/rec_mobilenet_v3.py +++ b/ppocr/modeling/backbones/rec_mobilenet_v3.py @@ -78,7 +78,7 @@ class MobileNetV3(): supported_scale = [0.35, 0.5, 0.75, 1.0, 1.25] assert self.scale in supported_scale, \ - "supported scale are {} but input scale is {}".format(supported_scale, scale) + "supported scales are {} but input scale is {}".format(supported_scale, self.scale) def __call__(self, input): scale = self.scale