Commit Graph

196 Commits (release/2.9)

Author SHA1 Message Date
achieve_dream e9fca96d4f
rename MKLDNN to OneDNN (#13757)
[Windows Inference Library (version 3.0.0-beta1) - MKL](https://www.paddlepaddle.org.cn/inference/master/guides/install/download_lib.html#windows) renames the mkldnn folder to onednn.
2024-08-27 12:52:00 +08:00
hiroi-sora 192300837f
Fix cpp_infer "--enable_mkldnn=false" not effective (#13539)
* Fix "--enable_mkldnn=false" not effective

When using the --enable_mkldnn command line option, MKLDNN should be enabled when set to true and disabled when set to false. But, using the PaddlePaddle v3.0.0-beta1 inference library, the --enable_mkldnn=false option did not work as expected, causing MKLDNN to remain enabled regardless of the setting.

This commit adds a call to `config.DisableMKLDNN()` in the else branch to explicitly disable MKLDNN when `--enable_mkldnn=false` is set.

* fix code style: clang-format
2024-07-29 17:01:40 +08:00
jzhang533 24f06d1a1b
update common pre-commit configs and commit the results of running pre-commit run -a (#12516) 2024-05-29 15:26:09 +08:00
Wang Xin 045e5f6ac7
add pre-commit workflow (#11973)
* add pre-commit workflow

* run 'pre-commit run --all-files'

* setup python version
2024-04-21 21:46:20 +08:00
jzhang533 19144429e6
update link mentioned at #11763 (#11764) 2024-03-27 17:29:47 +08:00
shiyutang e3fc6393e0
[Cherry-pick] Cherry-pick from release/2.6 (#11092)
* Update recognition_en.md (#10059)

ic15_dict.txt only have 36 digits

* Update ocr_rec.h (#9469)

It is enough to include preprocess_op.h, we do not need to include ocr_cls.h.

* 补充num_classes注释说明 (#10073)

ser_vi_layoutxlm_xfund_zh.yml中的Architecture.Backbone.num_classes所赋值会设置给Loss.num_classes,
由于采用BIO标注,假设字典中包含n个字段(包含other)时,则类别数为2n-1;假设字典中包含n个字段(不含other)时,则类别数为2n+1。

* Update algorithm_overview_en.md (#9747)

Fix links to super-resolution algorithm docs

* 改进文档`deploy/hubserving/readme.md`和`doc/doc_ch/models_list.md` (#9110)

* Update readme.md

* Update readme.md

* Update readme.md

* Update models_list.md

* trim trailling spaces @ `deploy/hubserving/readme_en.md`

* `s/shell/bash/` @ `deploy/hubserving/readme_en.md`

* Update `deploy/hubserving/readme_en.md` to sync with `deploy/hubserving/readme.md`

* Update deploy/hubserving/readme_en.md to sync with `deploy/hubserving/readme.md`

* Update deploy/hubserving/readme_en.md to sync with `deploy/hubserving/readme.md`

* Update `doc/doc_en/models_list_en.md` to sync with `doc/doc_ch/models_list_en.md`

* using Grammarly to weak `deploy/hubserving/readme_en.md`

* using Grammarly to tweak `doc/doc_en/models_list_en.md`

* `ocr_system` module will return with values of field `confidence`

* Update README_CN.md

* 修复测试服务中图片转Base64的引用地址错误。 (#8334)

* Update application.md

* [Doc] Fix 404 link.  (#10318)

* Update PP-OCRv3_det_train.md

* Update knowledge_distillation.md

* Update config.md

* Fix fitz camelCase deprecation and .PDF not being recognized as pdf file (#10181)

* Fix fitz camelCase deprecation and .PDF not being recognized as pdf file

* refactor get_image_file_list function

* Update customize.md (#10325)

* Update FAQ.md (#10345)

* Update FAQ.md (#10349)

* Don't break overall processing on a bad image (#10216)

* Add preprocessing common to OCR tasks (#10217)

Add preprocessing to options

* [MLU] add mlu device for infer (#10249)

* Create newfeature.md

* Update newfeature.md

* remove unused imported module, so can avoid PyInstaller packaged binary's start-time not found module error. (#10502)

* CV套件建设专项活动 - 文字识别返回单字识别坐标 (#10515)

* modification of return word box

* update_implements

* Update rec_postprocess.py

* Update utility.py

* Update README_ch.md

* revert README_ch.md update

* Fixed Layout recovery README file (#10493)

Co-authored-by: Shubham Chambhare <shubhamchambhare@zoop.one>

* update_doc

* bugfix

---------

Co-authored-by: ChuongLoc <89434232+ChuongLoc@users.noreply.github.com>
Co-authored-by: Wang Xin <xinwang614@gmail.com>
Co-authored-by: tanjh <dtdhinjapan@gmail.com>
Co-authored-by: Louis Maddox <lmmx@users.noreply.github.com>
Co-authored-by: n0099 <n@n0099.net>
Co-authored-by: zhenliang li <37922155+shouyong@users.noreply.github.com>
Co-authored-by: itasli <ilyas.tasli@outlook.fr>
Co-authored-by: UserUnknownFactor <63057995+UserUnknownFactor@users.noreply.github.com>
Co-authored-by: PeiyuLau <135964669+PeiyuLau@users.noreply.github.com>
Co-authored-by: kerneltravel <kjpioo2006@gmail.com>
Co-authored-by: ToddBear <43341135+ToddBear@users.noreply.github.com>
Co-authored-by: Ligoml <39876205+Ligoml@users.noreply.github.com>
Co-authored-by: Shubham Chambhare <59397280+Shubham654@users.noreply.github.com>
Co-authored-by: Shubham Chambhare <shubhamchambhare@zoop.one>
Co-authored-by: andyj <87074272+andyjpaddle@users.noreply.github.com>
2023-10-18 17:37:23 +08:00
moehuster 549376ead5
[Cherry-pick] #10441 #10512 (#10593)
* fix memory leak (#10441)

* fix memory leak

* update: Using smart pointers instead of raw pointers

* update: Usinig intuitive initialization of duration (#10512)
2023-08-14 10:14:43 +08:00
yunyaoXYY 5aff7e6362
Fix padding value in rec model, and box sort in det model (#8552) 2022-12-26 10:51:22 +08:00
Double_V 414bf18a20
fix issue 9659 and doc (#8690) 2022-12-23 10:02:45 +08:00
Double_V 5cac747656
[bug] fix issues about sort_function and DB Head (#8580)
* support min_area_rect crop

* add check_install

* fix requirement.txt

* fix check_install

* add lanms-neo for drrg

* fix

* fix doc

* fix
2022-12-13 16:26:42 +08:00
WenmuZhou 2c1747b638 fix cls diff with python 2022-10-25 08:38:42 +00:00
WenmuZhou dd9f48da2e fix bug 2022-09-20 03:40:05 +00:00
WenmuZhou b913f66403 update docs 2022-09-19 13:29:57 +00:00
WenmuZhou 43838e3e9f add trt shape file to table and layout model 2022-09-19 11:39:22 +00:00
WenmuZhou a166e54aca add default value 2022-09-19 11:00:42 +00:00
WenmuZhou bb0955dd95 Merge branch 'dygraph' of https://github.com/PaddlePaddle/PaddleOCR into cpp_infer 2022-09-19 10:58:31 +00:00
WenmuZhou 603f234bcc add layout 2022-09-19 09:37:41 +00:00
LDOUBLEV 1b07e42912 fix trt 2022-09-16 20:11:18 +08:00
LDOUBLEV 31a84a33d8 support dynamic trt 2022-09-16 15:01:32 +08:00
zhoujun 2cfb23cf05
fix table cpp infer bug (#7550)
* fix table cpp infer bug

* change default tale dict to ch

* update doc

* update vis
2022-09-10 22:45:35 +08:00
WenmuZhou bb97ad182d update vis 2022-09-09 12:31:58 +00:00
WenmuZhou 68bdcba057 update doc 2022-09-09 12:26:55 +00:00
WenmuZhou 4fa4f22e7b fix table cpp infer bug 2022-09-09 12:24:08 +00:00
WenmuZhou 1566694145 Fix boundary problems 2022-08-26 07:29:13 +00:00
Evezerest 7e4e87dd6d
cherry pick PRs from community (#7273)
* Merge pull request #6824 from ChenNima/release/2.5-kie-save-res

[kie]add write_kie_result to kie infer tool

* Merge pull request #6677 from TonyJiangWJ/release/2.5

修复内存泄露问题

* Update native.cpp (#6650)

fix issue 6640

* Merge pull request #6625 from ynjang/ynjang

update sorted_boxes

* fix DeprecationWarning, (#6604)

DeprecationWarning: The binary mode of fromstring is deprecated, as it behaves surprisingly on unicode inputs. Use frombuffer instead

* Merge pull request #6585 from maxbachmann/release/2.5

replace GPL licensed components

* Merge pull request #6575 from Eling486/release/2.5

update win doc

* Merge pull request #6477 from MikoyChinese/fix-copy-paste

Fix copy_paste no texts augment.

* Merge pull request #6361 from mohamadmansourX/patch-9

Update README_en.md

Co-authored-by: Double_V <liuvv0203@163.com>
Co-authored-by: shawn <1021362695@qq.com>
Co-authored-by: paopjian <672034519@qq.com>
2022-08-21 18:03:57 +08:00
WenmuZhou c1e6558d9e update table cpp infer doc 2022-08-16 03:29:17 +00:00
WenmuZhou ce321153e7 rm unused code 2022-08-14 09:01:49 +00:00
WenmuZhou 24d917d210 update cpp infer doc 2022-08-10 06:27:21 +00:00
WenmuZhou 3867c8cc87 add table cpp infer 2022-08-10 06:05:02 +00:00
tink2123 c367e4159a update doc for issues 2022-05-31 15:36:04 +08:00
andyjpaddle e2b2f33092 update some note 2022-05-30 09:25:21 +00:00
andyjpaddle e37fbd1380 update doc for quickstart 2022-05-30 08:10:37 +00:00
andyjpaddle 1e836600bb update cpp infer for onnxruntime 2022-05-23 03:41:03 +00:00
andyjpaddle 01aeda4f6b add ppocrv3 tipc & test=document_fix 2022-05-12 11:59:02 +00:00
andyjpaddle 369889b6e0
fix rec v3 mkldnn irpass in cpp infer (#6154)
* fix rec v3 mkldnn irpass

* fix rec v3 mkldnn irpass
2022-05-06 21:57:41 +08:00
Shuangchi He 22ccdfbf71
[cherry-pick] Fix some typos from release/2.4 branch and merge. (#6114)
* [cherry-pick] Fix some typos from release/2.4 branch and merge.

* rm readme_en.md in deploy/cpp_infer/.

* Fix others typos.
2022-05-02 14:06:02 +08:00
andyjpaddle 16eb7516b4 add rec image shape note for v3 rec 2022-04-29 06:26:03 +00:00
andyjpaddle 738ff190dd update doc for whl and python cpp infer quick 2022-04-29 03:38:59 +00:00
MissPenguin d90bd95ccd refine cpp infer doc 2022-04-25 12:50:14 +00:00
andyjpaddle a9c0cab75d
Merge pull request #6042 from andyjpaddle/dygraph
update cpp infer for rec
2022-04-24 20:31:35 +08:00
WenmuZhou 57e18221c1 update win doc,test=document_fix 2022-04-24 04:48:04 +00:00
WenmuZhou 8d99bef1c9 update win doc 2022-04-24 03:30:29 +00:00
WenmuZhou dddc632367 update win doc 2022-04-23 03:38:30 +00:00
WenmuZhou 8abef5a190 fix mkdir error 2022-04-22 13:31:57 +00:00
WenmuZhou 93f5f47344 rename PaddleOCR to PPOCR 2022-04-22 13:26:15 +00:00
andyjpaddle 36358fdf64 update cpp infer for rec 2022-04-22 09:08:01 +00:00
MissPenguin 486aa102d7 update 2022-04-21 05:24:31 +00:00
WenmuZhou 7cb5232425 fix 2022-04-12 11:44:07 +00:00
WenmuZhou 34587a3fbc rm post_processor_ 2022-04-11 08:19:05 +00:00
WenmuZhou 202fa42854 adatator tipc 2022-04-11 07:24:17 +00:00