Skip to content

Commit

Permalink
fix lite doc
Browse files Browse the repository at this point in the history
  • Loading branch information
LDOUBLEV committed Oct 22, 2020
1 parent 4f20764 commit 7b39b84
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions deploy/lite/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```
Expand Down Expand Up @@ -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
```
Expand Down
2 changes: 2 additions & 0 deletions deploy/lite/readme_en.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```

Expand Down

0 comments on commit 7b39b84

Please sign in to comment.