Commit Graph

335 Commits (75d16610f45337706d74eac0361d92087ffbdbc9)

Author SHA1 Message Date
ToddBear 75d16610f4
Add new recognition method "ParseQ" (#10836)
* Update PP-OCRv4_introduction.md

* Update PP-OCRv4_introduction.md (#10616)

* Update PP-OCRv4_introduction.md

* Update PP-OCRv4_introduction.md

* Update PP-OCRv4_introduction.md

* Update README.md

* Cherrypicking GH-10217 and GH-10216 to PaddlePaddle:Release/2.7 (#10655)

* Don't break overall processing on a bad image

* Add preprocessing common to OCR tasks
Add preprocessing to options

* Update requirements.txt (#10656)

added missing pyyaml library

* [TIPC]update xpu tipc script (#10658)

* fix-typo (#10642)

Co-authored-by: Dennis <dvorst@users.noreply.github.com>
Co-authored-by: shiyutang <34859558+shiyutang@users.noreply.github.com>

* 修改数据增强导致的DSR报错 (#10662) (#10681)

* 修改数据增强导致的DSR报错

* 错误修改回滚

* Update algorithm_overview_en.md (#10670)

Fixed simple spelling errors.

* Implement recoginition method ParseQ

* Document update for new recognition method ParseQ

* add prediction for parseq

* Update rec_vit_parseq.yml

* Update rec_r31_sar.yml

* Update rec_r31_sar.yml

* Update rec_r50_fpn_srn.yml

* Update rec_vit_parseq.py

* Update rec_vit_parseq.yml

* Update rec_parseq_head.py

* Update rec_img_aug.py

* Update rec_vit_parseq.yml

* Update __init__.py

* Update predict_rec.py

* Update paddleocr.py

* Update requirements.txt

* Update utility.py

* Update utility.py

---------

Co-authored-by: xiaoting <31891223+tink2123@users.noreply.github.com>
Co-authored-by: topduke <784990967@qq.com>
Co-authored-by: dyning <dyning.2003@163.com>
Co-authored-by: UserUnknownFactor <63057995+UserUnknownFactor@users.noreply.github.com>
Co-authored-by: itasli <ilyas.tasli@outlook.fr>
Co-authored-by: Kai Song <50285351+USTCKAY@users.noreply.github.com>
Co-authored-by: dvorst <87502756+dvorst@users.noreply.github.com>
Co-authored-by: Dennis <dvorst@users.noreply.github.com>
Co-authored-by: shiyutang <34859558+shiyutang@users.noreply.github.com>
Co-authored-by: Dec20B <1192152456@qq.com>
Co-authored-by: ncoffman <51147417+ncoffman@users.noreply.github.com>
2023-09-07 16:36:47 +08:00
xlg-go e3cd343341
rec_r45_abinet.yml add max_length and image_size (#10744)
* rec_r45_abinet.yml add max_length and image_shape

* image_shape to image_size
2023-08-31 14:23:47 +08:00
Sijun He 21da7f4c00
Update VQA to use the updated LayoutLM syntax from PaddleNLP (#9791)
* Update vqa_layoutlm.py 

Update vqa to use the updated LayoutLM syntax from PaddleNLP

* Update vqa_layoutlm.py
2023-08-18 11:51:54 +08:00
wanghuancoder 51aa02f97d
paddle support stride, fix dy2st check (#10498) 2023-08-01 19:05:10 +08:00
zxcd 46a6950e7a
add dtype param for arange API. (#10075) 2023-06-02 14:21:17 +08:00
xiaoting 096fd27121
fix sr_telescope (#10004) 2023-05-23 16:54:52 +08:00
topduke 425166434c
Fix grid_sample data type bug when use fp16 (#9930)
* fix gris_sample data type bug when use fp16

* fix gris_sample data type bug when use fp16

* fix v4rec batchsize
2023-05-15 17:03:53 +08:00
Double_V 24ff4def48
Pfhead (#9898)
* support min_area_rect crop

* add check_install

* fix requirement.txt

* fix check_install

* add lanms-neo for drrg

* fix

* fix doc

* fix

* support set gpu_id when inference

* fix #8855

* fix #8855

* opt slim doc

* fix doc bug

* rename

* rename
2023-05-15 10:57:30 +08:00
xiaoting 26519a6d17
update PPLCNetV3 name (#9802) 2023-04-23 16:13:01 +08:00
huangjun12 ca8c8200ba
add PP-OCRv4 det code (#9766)
* add ppocrv4 det student and teacher model

* update head and config, refine details

* refine config and head details

* refine config and head details

* refine details

* refine details

* remove application

* refine fpn

* fix bug

* update code

* fix bug

* align lcnet to rec

* align hgnet to rec

* refine make shrink

* remove theseus layer
2023-04-21 18:10:26 +08:00
user3984 7710ee04c6
fix data type error when training with fp16 and DynamicToStatic (#9696)
Co-authored-by: WenmuZhou <572459439@qq.com>
2023-04-21 13:53:09 +08:00
topduke 2a98d40b10
Add v4rec hgnet (#9768)
* v4rec code

* v4rec add nrtrloss

* Add V4rec backbone file

* Add V4Rec config file.

* Fix V4rec reparameters when export_model

* convert lvnetv3

* fix codestyle

* fix infer_rec v4rec

* add v4rec hgnet

* add v4rec hgnet config

* add svtr_hgnet

* fix bugs in infer_rec and hgnet
2023-04-21 12:34:48 +08:00
topduke 43abe2fa4b
V4Rec code pr (#9725)
* v4rec code

* v4rec add nrtrloss

* Add V4rec backbone file

* Add V4Rec config file.

* Fix V4rec reparameters when export_model

* convert lvnetv3

* fix codestyle

* fix infer_rec v4rec
2023-04-19 16:04:23 +08:00
zhoujun 20cb993cb6
add d2t train support of svtr (#9479)
* add d2s train for slanet and v3

* fix bug

* udpate tipc to_static

* update db

* remove_print

* update benchmark_train.sh

* update maybe_download_params

* add d2t train support of svtr
2023-03-20 17:26:19 +08:00
zhoujun 2e05d54af8
add d2s train for slanet and v3 (#9341)
* add d2s train for slanet and v3

* fix bug
2023-03-09 11:21:34 +08:00
zhoujun 1139a6c9ec
add table master to benchmark (#9107)
* Add custom detection and recognition model usage instructions in re

* update

* Add custom detection and recognition model usage instructions in re

* add db net for benchmark

* rename benckmark to PaddleOCR_benchmark

* add addict to req

* rename

* add table master benckmark

* support tablemaster d2s train
2023-02-22 15:25:05 +08:00
xiaoting dd02918bb4
rename PP-OCRv3 algorithm to SVTR_LCNet (#9025)
* rename PP-OCRv3 algorithm to SVTR_LCNet

* rename PP-OCRv3 algorithm to SVTR_LCNet

* update multi-lang config for v3
2023-02-13 11:17:58 +08:00
zhiminzhang0830 30201ef954
add satrn (#8433)
* add satrn

* 修复satrn导出问题

* 规范satrn config文件

* 删除SATRNRecResizeImg

---------

Co-authored-by: zhiminzhang0830 <zhangzhimin04@baidu.com>
2023-02-08 11:25:50 +08:00
topduke 8a45b5e08c
Fix piecewise boundaries and droppath dtype (#8988)
* fix piecewise boundaries and droppath dtype

* fix tipc piecewise boundaries and droppath dtype
2023-02-07 13:57:24 +08:00
andyj 9059f747e6
support new version of numpy (#8921)
* add finetune en doc & test=document_fix

* fix dead link & test=document_fix

* fix dead link & test=document_fix

* update check img

* fix det res dtype

* update args default type & test=document_fix

* fix numpy version

* support numpy1.24.0
2023-01-30 16:05:14 +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
topduke d810d4859e
Update rec_nrtr_head.py (#8108)
fix bug when export nrtr model with paddlepaddle develop version
2022-10-26 14:19:20 +08:00
Lizhi Chen 182c1db291
Merge branch 'dygraph' into dygraph 2022-10-20 10:14:55 +08:00
zhoujun 3907c72a08
Merge pull request #7940 from dorren002/new_branch
add handwritten mathematical expression recognition algorithm CAN
2022-10-19 19:28:59 +08:00
WenmuZhou 273068527f only in DRRG import DRRGHead 2022-10-18 07:31:07 +00:00
dorren ea557c50ee update config 2022-10-17 19:58:35 +08:00
dorren f875556541 update can transform method and add copyright info for new file 2022-10-17 17:18:14 +08:00
chenlizhi 0cdfc52507 add sr model Text Telescope 2022-10-17 15:15:37 +08:00
dorren f3f473d3f9 update CAN model 2022-10-15 20:27:05 +08:00
zhiminzhang0830 3ee146fa99 Merge branch 'dygraph' of https://github.com/PaddlePaddle/PaddleOCR into drrg_branch 2022-10-10 15:56:08 +08:00
zhiminzhang0830 67ae525e95 删除backbone里的pretrained_model字段 2022-10-10 14:20:28 +08:00
zhiminzhang0830 c25eec882a Merge branch 'dygraph' of https://github.com/PaddlePaddle/PaddleOCR into rfl_branch 2022-10-09 10:07:46 +08:00
littletomatodonkey eeef62b3c6
fix PREN export and infer (#7833) 2022-10-08 16:37:12 +08:00
zhiminzhang0830 03802c7f93 Merge branch 'dygraph' of https://github.com/PaddlePaddle/PaddleOCR into drrg_branch 2022-10-08 12:00:17 +08:00
zhiminzhang0830 1f9400dd73 add drrg 2022-10-08 11:56:45 +08:00
zhiminzhang0830 c459b72565 添加RFL CNT分支infer支持 2022-10-08 11:20:36 +08:00
WenmuZhou 3e8c78b8c1 fix tablerec-rare train error 2022-09-30 07:01:43 +00:00
zhiminzhang0830 3f8602c169 Merge branch 'dygraph' of https://github.com/PaddlePaddle/PaddleOCR into rfl_branch 2022-09-29 16:40:10 +08:00
zhiminzhang0830 154f42f1b0 推理时添加softmax 2022-09-28 17:44:13 +08:00
WenmuZhou fb2b7f5447 add paddle2onnx support for tablerec-rare 2022-09-28 10:32:09 +08:00
zhiminzhang0830 0002349df3 add text recognition algorithm rflearning 2022-09-27 10:54:31 +08:00
WenmuZhou 06194524ca add re predict 2022-09-20 22:13:27 +08:00
huangjun12 b5268dc3a0 add centripetal text model 2022-09-15 11:08:16 +00:00
Double_V d022b26903
Merge pull request #7420 from wangjingyeye/dyg_db
update pgnet
2022-09-05 18:45:44 +08:00
WenmuZhou 6419c7bdaa add stop_gradient to create tensor 2022-09-05 15:31:19 +08:00
wangjingyeye 4c0b08733d update pgnet 2022-09-05 07:03:16 +00:00
WenmuZhou f6698a32d8 support onnx infer of SLANet 2022-09-05 15:02:22 +08:00
wangjingyeye 929b4f4557 update pgnet 2022-08-30 05:58:39 +00:00
littletomatodonkey 3c1f5df8e4 fix name 2022-08-24 05:55:06 +00:00
littletomatodonkey dd2f7de431 fix name 2022-08-24 05:53:42 +00:00