Commit Graph

129 Commits (b32677cd3b76b3950b6f81a9da7b09d49adafff4)

Author SHA1 Message Date
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
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
wanghuancoder 1046c239cc
fix numpy speed (#10773) 2023-08-29 15:33:55 +08:00
Double_V abc4be007e
add nrtr dml distill loss (#9968)
* 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

* add v4_rec_distill config

* delete debug

* fix comment

* fix comment

* add dml nrtr distill loss
2023-05-17 16:45:04 +08:00
Double_V 1643f268d3
add V4 rec distill (#9921)
* 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

* add v4_rec_distill config

* delete debug

* fix comment

* fix comment
2023-05-15 20:32:48 +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
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
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
xiaoting ca8de0c69e
fix aster loss for axis (#8675) 2022-12-20 13:58:57 +08:00
Lizhi Chen 182c1db291
Merge branch 'dygraph' into dygraph 2022-10-20 10:14:55 +08:00
dorren f875556541 update can transform method and add copyright info for new file 2022-10-17 17:18:14 +08:00
chenlizhi 9cef24090c add and update sr model 2022-10-17 16:47:28 +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 483e503826 通过变量类型判断是否是visual 2022-10-10 12:12:47 +08:00
zhiminzhang0830 1f9400dd73 add drrg 2022-10-08 11:56:45 +08:00
zhiminzhang0830 5a380afb1e 添加引用 2022-09-28 17:42:13 +08:00
zhiminzhang0830 0002349df3 add text recognition algorithm rflearning 2022-09-27 10:54:31 +08:00
WenmuZhou a4bc9da8b6 fix bug 2022-09-21 17:50:50 +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
wangjingyeye 929b4f4557 update pgnet 2022-08-30 05:58:39 +00:00
LDOUBLEV f630700a99 fix cml 2022-08-29 14:03:05 +08: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
WenmuZhou c2c43bb1bc rename SLANetLoss to SLALoss 2022-08-10 14:58:08 +00: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
WenmuZhou 6fe01d43dc Merge branch 'dygraph' of https://github.com/PaddlePaddle/PaddleOCR into table_pr 2022-08-08 06:58:15 +00:00
WenmuZhou ddaa2c2552 add SLANet 2022-08-08 06:50:27 +00:00
littletomatodonkey 9e4ae9dc12
add vqa code (#7096)
* add vqa code

* add order ocr info

* rename tb-yx order

* polish configs

* add trt offline-tuning

* fix seed and remove unused configs
2022-08-06 15:41:20 +08:00
smilelite c11ec3ce5b merge upstream 2022-07-10 10:21:18 +08:00
smilelite 1cda437c4d modified pr 2022-07-10 09:20:59 +08:00
Double_V 6e0a3fd654
Merge pull request #6766 from LDOUBLEV/dyg_pts
fix kl js loss
2022-07-05 17:44:32 +08:00
WenmuZhou adda5ddce9 fix bug 2022-07-05 02:51:07 +00:00
WenmuZhou d1b31bf85c add ref 2022-07-04 10:22:25 +00:00
WenmuZhou 929ee4669f Merge branch 'dygraph' of https://github.com/PaddlePaddle/PaddleOCR into tablemaster 2022-07-04 09:21:43 +00:00
LDOUBLEV 7c4d0d1e91 fix kl js loss 2022-07-01 18:05:39 +08:00
WenmuZhou 8d46a1fbbe add dygraph2static support of layoutlm series SER model 2022-07-01 08:52:08 +00:00
topduke 671415bbd8
[New Rec]add rec ViTSTR & ABINet algorithm. (#6414)
* add rec vitstr algorithm.

* fix cpu_thread and precision

* fix svtr tipc

* modify vitstr name

* modify vitstr config batchsize

* [New Rec] add vitstr and ABINet

* add rec_resnet45

* svtr ch large model

* [application] svtr ch model

* [application] svtr ch model

* [application] svtr ch model

* add abinet_rec_aug and trained model

* aug p infe

* fix ci export bug

* fix abinet ci bug
2022-06-28 15:06:53 +08:00
WenmuZhou 5dfcc98306 fix bug 2022-06-27 09:37:07 +00:00
WenmuZhou a0c33908d5 add TableMaster 2022-06-16 13:24:38 +00:00
smilelite bbca1e0d66 add pr 2022-06-12 13:53:29 +08:00
tink2123 11acfe5124 replace fluid to paddle 2022-06-02 09:53:01 +00:00
andyjpaddle f6532a0e51
add ppocrv3 rec (#6033)
* add ppocrv3 rec
2022-04-26 16:19:31 +08:00
LDOUBLEV dc77d130d3 keep license 2022-04-01 17:12:12 +08:00
LDOUBLEV f08b306c9e fix 2022-04-01 17:08:56 +08:00
WenmuZhou fef47dcc18 rm view 2022-03-28 05:05:07 +00:00