Commit Graph

212 Commits (80459f59fe9483582ea402bc3fe69a3c11a788cd)

Author SHA1 Message Date
zhangyubo0722 4ba32bc91c
support eval pre epoch (#11003) 2023-09-26 18:50:42 +08:00
topduke 8a52c99ad8
[New] add rec CPPD model (#10990)
* fix gris_sample data type bug when use fp16

* fix gris_sample data type bug when use fp16

* fix v4rec batchsize

* fix bug of hang when multi gpus training(sampler)

* add rec algorithm cppd

* delete cppd useless code

* update cppd bug

* add rec algorithm cppd

* update cppd trainedmodel url

* add cppd en doc
2023-09-25 15:43:45 +08:00
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
itasli 66461c3325
Cherrypicking GH-10251 & GH-10181 to PaddleOCR:dygraph (#10710)
* fix undefined save_model_dir when using wandb (#10251)

* fix undefined save_model_dir when using wand

* Update program.py

* 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
2023-08-30 10:21:29 +08:00
Lin Manhui fec014e92d
Suppress scalar warnings (#10509) 2023-07-31 15:13:11 +08:00
Lin Manhui 2d44a71b20
Toward Devkit Consistency (#10150)
* Accommodate UAPI

* Fix signal handler

* Save model.pdopt

* Change variable name

* Update vdl dir
2023-06-14 14:31:45 +08:00
Zhang Ting 6949448558
improve amp training (#10119) 2023-06-08 15:50:37 +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
Zhang Ting d496c8e8d1
fix performance (#9772) 2023-04-20 09:53:31 +08:00
duanyanhui 2d6f3a56a4
update npu api (#9688) 2023-04-11 09:56:08 +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
WenmuZhou 6120094ac2 add Telescope to support alg 2022-10-25 05:08:58 +00:00
dorren c57effb84f update can data loading method and tipc configs, revert precommit config 2022-10-17 15:04:42 +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
MissPenguin a7069086c3
Merge pull request #7835 from qipengh/add_mlu_dbnet
[MLU]adapt mlu device for running dbnet network
2022-10-10 15:35:20 +08:00
huangqipeng 7851977157 [MLU]adapt mlu device for running dbnet network 2022-10-08 16:46:41 +08:00
zhiminzhang0830 1f9400dd73 add drrg 2022-10-08 11:56:45 +08:00
zhiminzhang0830 0002349df3 add text recognition algorithm rflearning 2022-09-27 10:54:31 +08:00
huangjun12 b5268dc3a0 add centripetal text model 2022-09-15 11:08:16 +00:00
qili93 149e118474 [TIPC] add scripts for NPU and XPU, test=develop 2022-09-13 14:11:21 +08:00
WenmuZhou 2b1885f159 Merge branch 'dygraph' of https://github.com/PaddlePaddle/PaddleOCR into tipc 2022-08-22 11:33:51 +00:00
WenmuZhou c3924a959b add amp eval 2022-08-22 11:32:37 +00:00
littletomatodonkey 8c7c45420f
polish kie doc and code (#7255)
* add fapiao kie

* fix readme

* fix fanli

* add readme

* add how to do kie en

* add algo kie

* add algo overview en

* rename vqa to kie

* fix read gif
2022-08-21 10:55:49 +08:00
zhoujun 94710ae319
Merge pull request #7266 from WenmuZhou/tipc
add PP-OCRv2 det amp custom_black_list
2022-08-19 17:02:24 +08:00
WenmuZhou 207969039b support config black_list in yml 2022-08-19 08:29:19 +00:00
xiaoting c731d54e18
fix sr typo (#7262)
* fix sr typo

* rm eval visual
2022-08-19 14:49:35 +08:00
WenmuZhou 7c5fbd46dc Merge branch 'dygraph' of https://github.com/PaddlePaddle/PaddleOCR into tipc 2022-08-19 13:26:49 +08:00
WenmuZhou 1b93e92ccb fix amp bug 2022-08-19 13:26:02 +08:00
smilelite 40c45e2ccc
Merge branch 'dygraph' into robustscanner_branch 2022-08-17 21:49:11 +08:00
smilelite a8ba8963e0 merge cpnflict 0815 2022-08-15 23:03:21 +08:00
andyjpaddle e5e787018e fix vl 2022-08-15 09:05:32 +00:00
WenmuZhou ba284a2b74 Merge branch 'dygraph' of https://github.com/PaddlePaddle/PaddleOCR into table_pr 2022-08-14 09:07:19 +00:00
xiaoting 7054013004
Submit SR model (#6933)
* add sr model

* update for eval

* submit sr

* polish code

* polish code

* polish code

* update sr model

* update doc

* update doc

* update doc

* fix typo

* format code

* update metric

* fix export
2022-08-12 10:49:54 +08:00
smilelite 60ea689df4
Merge branch 'dygraph' into robustscanner_branch 2022-08-11 21:45:21 +08:00
WenmuZhou d5ea6f21f8 Merge branch 'dygraph' of https://github.com/PaddlePaddle/PaddleOCR into table_pr 2022-08-09 11:36:49 +00:00
andyjpaddle 3f65b360ef
Add rec algo VisionLAN (#6943)
* add vl

* add vl

* add vl

* add ref

* fix head out

* add visionlan doc

* fix vl infer

* update dict
2022-08-09 11:29:43 +08:00
andyjpaddle 9e1a77ead1 update dict 2022-08-09 01:47:57 +00:00
WenmuZhou 3bed2e1f22 Merge branch 'dygraph' of https://github.com/PaddlePaddle/PaddleOCR into tttt 2022-08-08 11:34:55 +00:00
WenmuZhou aa7a0cb2a8 fix bug in amp eval 2022-08-08 11:31:12 +00:00
andyjpaddle 8e3aa3a09b fix amp train for re 2022-08-08 09:02:11 +00:00
andyjpaddle 03d384860f fix amp train for re 2022-08-08 08:58:07 +00:00
WenmuZhou ddaa2c2552 add SLANet 2022-08-08 06:50:27 +00:00
andyjpaddle cad04bbbf1 Merge branch 'dygraph' of https://github.com/PaddlePaddle/PaddleOCR into dygraph 2022-08-02 11:42:06 +00:00
smilelite 536e0593f0 fixed conflicts 20220801 2022-08-01 21:36:36 +08:00
贾晓 342522ab52
Merge pull request #7049 from WenmuZhou/tipc1
add benckmark
2022-08-01 14:34:49 +08:00
WenmuZhou dd1e17fd79 add benckmark 2022-07-30 10:00:11 +08:00
andyjpaddle 7a706ada64 Merge branch 'dygraph' of https://github.com/PaddlePaddle/PaddleOCR into dygraph 2022-07-28 09:14:21 +00:00
smilelite b781838015 fix conflicts 2022-07-27 23:02:24 +08:00