From 8a11d97da8dbb28792e649b4f6302fe9e4bb3649 Mon Sep 17 00:00:00 2001 From: LDOUBLEV Date: Thu, 23 Jul 2020 11:12:35 +0800 Subject: [PATCH] typo --- deploy/lite/readme_en.md | 2 +- ppocr/modeling/backbones/rec_mobilenet_v3.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/deploy/lite/readme_en.md b/deploy/lite/readme_en.md index 6110e646..1efbba36 100644 --- a/deploy/lite/readme_en.md +++ b/deploy/lite/readme_en.md @@ -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 650b2d59..e5040642 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, self.scale) + "supported scales are {} but input scale is {}".format(supported_scale, self.scale) def __call__(self, input): scale = self.scale -- GitLab