From 7b39b84ccffa3b100f355947f9465f6d5cb764a1 Mon Sep 17 00:00:00 2001 From: LDOUBLEV Date: Thu, 22 Oct 2020 17:01:15 +0800 Subject: [PATCH] fix lite doc --- deploy/lite/readme.md | 4 ++++ deploy/lite/readme_en.md | 2 ++ 2 files changed, 6 insertions(+) diff --git a/deploy/lite/readme.md b/deploy/lite/readme.md index a9203933..13665851 100644 --- a/deploy/lite/readme.md +++ b/deploy/lite/readme.md @@ -100,6 +100,8 @@ Paddle-Lite 提供了多种策略来自动优化原始的模型,其中包括 git clone https://github.com/PaddlePaddle/Paddle-Lite.git cd Paddle-Lite git checkout develop +# 切换到固定的commit +git reset --hard 55c53482bcdd2868373d024dd1144e4c5ec0e6b8 # 启动编译 ./lite/tools/build.sh build_optimize_tool ``` @@ -253,6 +255,8 @@ use_direction_classify 0 # 是否使用方向分类器,0表示不使用,1 adb shell cd /data/local/tmp/debug export LD_LIBRARY_PATH=/data/local/tmp/debug:$LD_LIBRARY_PATH + export LD_LIBRARY_PATH=${PWD}:$LD_LIBRARY_PATH + ./ocr_db_crnn ch_ppocr_mobile_v1.1_det_prune_opt.nb ch_ppocr_mobile_v1.1_rec_quant_opt.nb ch_ppocr_mobile_cls_quant_opt.nb ./11.jpg ppocr_keys_v1.txt ``` diff --git a/deploy/lite/readme_en.md b/deploy/lite/readme_en.md index 7d547cc5..2c5572ca 100644 --- a/deploy/lite/readme_en.md +++ b/deploy/lite/readme_en.md @@ -77,6 +77,8 @@ If the model to be deployed is not in the above table, you need to follow the st git clone https://github.com/PaddlePaddle/Paddle-Lite.git cd Paddle-Lite git checkout develop +# switch to the specified commit +git reset --hard 55c53482bcdd2868373d024dd1144e4c5ec0e6b8 ./lite/tools/build.sh build_optimize_tool ``` -- GitLab