-
Notifications
You must be signed in to change notification settings - Fork 60
update lite inference doc #751
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
8c2e4b3
to
5103013
Compare
| [DBNet](https://github.com/mindspore-lab/mindocr/tree/main/configs/det/dbnet) | MobileNetV3 | en | IC15 | 76.96 | 26.19 | (1,3,736,1280) |[yaml](https://github.com/mindspore-lab/mindocr/tree/main/configs/det/dbnet/db_mobilenetv3_icdar15.yaml) | [mindir]() | | ||
| | ResNet-18 | en | IC15 | 81.73 | 24.04 | (1,3,736,1280) | [yaml](https://github.com/mindspore-lab/mindocr/tree/main/configs/det/dbnet/db_r18_icdar15.yaml) | [mindir]() | | ||
| | ResNet-50 | en | IC15 | 85.00 | 21.69 | (1,3,736,1280) | [yaml](https://github.com/mindspore-lab/mindocr/tree/main/configs/det/dbnet/db_r50_icdar15.yaml) | [mindir]() | | ||
| | ResNet-50 | ch + en | 12个数据集 | 83.41 | 21.69 | (1,3,736,1280) | [yaml](https://github.com/mindspore-lab/mindocr/tree/main/configs/det/dbnet/db_r50_icdar15.yaml) | [mindir]() | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
12 datasets
README_CN.md
Outdated
@@ -230,9 +233,7 @@ python tools/infer/text/predict_system.py --image_dir {path_to_img or dir_to_img | |||
- 使用MindSpore进行在线推理 | |||
- [基于Python的OCR在线推理](https://github.com/mindspore-lab/mindocr/blob/main/tools/infer/text/README.md) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
此处链接为英文版readme链接,中文版的readme链接到中文好一些
同样的还有下面的[如何自定义数据集]、[如何自定义数据增强方法]、[如何创建新的OCR模型]、[如何自定义后处理方法]、[CONTRIBUTING.md]、[Model Template and Guideline]
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
快速开始 的 1. 文字检测和识别示例 的示例代码中,可以通过加入--visualize_output true实现将可视化结果同样保存在./inference_results路径下。
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
关于[MindSpore Lite]和[ACL]模型推理的支持列表, 请参见[MindOCR原生模型推理支持列表] 和 [第三方模型推理支持列表](如PaddleOCR、MMOCR等)。
-- 由于删除mindx相关内容,此处的[ACL]可以删除。
-- [MindOCR原生模型推理支持列表]、[第三方模型推理支持列表]对应的链接已失效。
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
--rec_model_name_or_config=../../configs/rec/crnn/crnn_resnet34.yaml \ | ||
--res_save_dir=det_cls_rec \ | ||
--vis_pipeline_save_dir=det_cls_rec | ||
``` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
涉及识别的推理,可以在对应示例代码中加入--character_dict_path=/path/to/xxx_dict.txt参数来指定字典路径。
|
||
目前暂时只支持pp-ocr系列的中文DBNET、CRNN、SVTR模型。 | ||
|
||
<details> | ||
<summary> 详情 </summary> | ||
|
||
进入到MindOCR推理测目录下 `cd deploy/cpp_infer`,执行编译脚本 `bash build.sh`, 构建完成之后在当前路径dist目录下生成可执行文件infer。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cd deploy/cpp_infer -> cd deploy/cpp_infer/src
502784a
to
bfe9347
Compare
* update install * update inference tutorial * update * update readme * update environment * add 310p3 note * update * fix bugs * delete cpp infer * delete cpp infer * update (cherry picked from commit 89831d2)
…st (#758) * update lite inference doc (#751) * update install * update inference tutorial * update * update readme * update environment * add 310p3 note * update * fix bugs * delete cpp infer * delete cpp infer * update (cherry picked from commit 89831d2) * update thirdparty_models_list (#752) (cherry picked from commit 685ef3e) * 更新ch_pp_det_OCRv4 config.txt 链接 (#754) (cherry picked from commit a176ce9) * update Lite mindocr_models_list (#753) * test * update doc * update doc * update doc * update doc * update doc * Revert "test" This reverts commit d0b6968. * update faq * fix ci --------- Co-authored-by: 王天宇 <alien@wangtianyudeMacBook-Pro.local> (cherry picked from commit 6279c79) * fix path & ci * update ver of git clone --------- Co-authored-by: zhaoting <37293445+caitinzhao@users.noreply.github.com> Co-authored-by: YMC <61680846+iugoood@users.noreply.github.com>
Thank you for your contribution to the MindOCR repo.
Before submitting this PR, please make sure:
Motivation
MindOCR 离线推理流程整改: