Commit Graph

230 Commits (release/2.10)

Author SHA1 Message Date
liuhongen1234567 d523388ed1
Add pp formulanet (#14429)
* add ppformulanet

* rename loss

* modify doc

* add export code

* modify yaml for global ref
2024-12-23 13:14:33 +08:00
Liu Jiaxuan ae67d96f3e
add slanext models (#14374)
* add slanext models

* refine codes

* refine codes

* refine codes
2024-12-13 13:39:19 +08:00
liuhongen1234567 78e7184022
add unimernet model (#14357)
* add unimernet model

* add commate and single test

* repair pytest

* delete export and infer

* delete [ file
2024-12-12 14:17:24 +08:00
EnflameGCU c8874d717f
[GCU] Support inference for GCU (#14142) 2024-11-21 10:10:41 +08:00
zhangyubo0722 cba775412a
ix gpu memory growth (#14037) 2024-10-18 17:06:58 +08:00
lona-cn ea7ba39f52
Update program.py (#13989)
avoid ZeroDivisionError when training.
2024-10-14 07:47:26 +08:00
zhangyubo0722 2b51369324
support export after save model (#13844) 2024-09-25 01:11:01 +08:00
changdazhou b6211b936b
support benchmark for paddlepaddle3.0 (#13574) 2024-08-02 19:24:40 +08:00
liuhongen1234567 cf26f2330e
Latexocr paddle (#13401)
* commit_test

* modified:   configs/rec/rec_latex_ocr.yml
	deleted:    ppocr/modeling/backbones/rec_resnetv2.py

* ntuple_solve

* style

* style

* style

* style

* style

* style

* style

* style

* style

* delete comment

* cla_email
2024-07-22 11:50:23 +08:00
Manik Singh Sarmaal 5347be75f9
Update program.py (#13389)
refering to-https://www.paddlepaddle.org.cn/documentation/docs/en/api/paddle/incubate/ModelAverage_en.html

it should be paddle.incunate.ModelAverage and paddle.incubate.optimizer.ModelAverage
2024-07-15 21:48:26 +08:00
Wang Xin ea29b423d5
fix and enable flake8 E721 (#12258) 2024-05-27 11:12:05 +08:00
张春乔 a730065e7b
【OCR Issue No.9】以可选形式支持Visualdl (#11947)
* delete visual dl

* totally delete visual

* delete vdl file

* fix codestyle
2024-04-25 17:37:27 +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
co63oc 3b6f117c44
Fix (#11448) 2024-01-02 11:02:13 +08:00
gmm 856ce76be3
Dygraph fix max_mem_reserved for benchmark (#11341)
* fix profile

* fix python3.10

* add max_mem_reserved for benchmark

* fix benchmark
2023-12-05 14:55:38 +08:00
RuohengMa 317f56a3f4
Refine according to comment (#11301) 2023-11-24 16:50:34 +08:00
RuohengMa c8544d04ec
Fix bug when running on XPU (#11299) 2023-11-23 16:58:48 +08:00
gmm a0901d2175
Dygraph【benchmark】add max_mem_reserved for benchmark (#11284)
* fix profile

* fix python3.10

* add max_mem_reserved for benchmark
2023-11-22 20:11:14 +08:00
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