Commit Graph

366 Commits (0018cbd2b658400ae436a4f615de8885b0d8eec3)

Author SHA1 Message Date
liuhongen1234567 0018cbd2b6
support latexocr static train (#14297) 2024-11-29 17:44:53 +08:00
liuhongen1234567 8fdc409edf
change support list (#14293) 2024-11-29 15:18:54 +08:00
wangna11BD 661cda1289
fix nan in ppocrv4 for benchmark (#14072)
* fix nan in ppocrv4 for benchmark

* fix config
2024-10-23 11:55:43 +08:00
Wang Xin 7541776021
fix isnan_v2 is not supported in paddle2onnx (#14060) 2024-10-22 09:18:50 +08:00
zhangyubo0722 de457325cd
reset latex ocr (#14046) 2024-10-18 19:51:32 +08:00
wangna11BD 349a604951
fix nan in dp16 (#14043) 2024-10-18 18:00:08 +08:00
wanghuancoder e621d034b5
fix a pir while bug (#14016) 2024-10-16 16:24:59 +08:00
zhangyubo0722 362103bd0b
fix lateocr bug (#13920) 2024-09-28 19:11:31 +08:00
WangZhen 4832bb62ad
Fix pir dy2st train (#13853) 2024-09-11 18:54:37 +08:00
liuhongen1234567 5f0b90a110
Fix some issues with LaTeXOCR in paddleX (#13646)
* repair_some_Bug_for_paddlex

* style2

* style2

* add_epilson_for groupnorm
2024-08-14 11:30:25 +08:00
changdazhou 9c19e6dffe
fix bug for paddlepaddle3.0 (#13568) 2024-08-01 22:50:44 +08:00
zhangyubo0722 6c12df47b2
merge release/2.6.1 to main (#13523) 2024-07-29 19:09:42 +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
Wang Xin 024da2a58c
unifying data types in the SLAHead (#13276) 2024-07-06 22:01:06 +08:00
WangZ 62f5602cc8
fix pr11999 about slanet train error. (#13073) 2024-06-17 11:32:39 +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
jzhang533 a2ad2124c7
commit fix by running pre-commit run -a (#12165) 2024-05-24 12:12:42 +08:00
Wang Xin af87691591
add ci for paddleocr test (#12062)
* add ci for paddleocr test

* fix flake8 error

* fix paddlepaddle deps

* add dep

* fix

* move flake8 to pre-commit

* update ut

* fix bug

* fix bug set paddlepaddle==2.5

* fix bug

* fix bug

* fix bug

* update test

* remove lscpu
2024-05-22 13:02:24 +08:00
Miaomiao Zhao 8b71785141
table rec code (#11999)
* table rec code

* 'fixtableinit'

* copyright 2024

* table rec pre-commit

* table rec slanet_lcnetv2 doc

* table rec slanet_lcnetv2 doc

* hwattention fix

* tablelabelencode add length item
2024-05-16 15:32:24 +08:00
topduke 38c0c9ee77
openocr compti code (#12033)
* openocr compti code

* update config and repsvtr

* svtrv2 doc
2024-05-15 14:40:26 +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
wanghuancoder 2b3b3554c0
use tensor.shape bug not paddle.shape(tensor) (#11919)
* use tensor.shape bug not paddle.shape(tensor)

* refine

* refine
2024-04-17 10:54:59 +08:00
zxcd 8c9d3f91b1
adapter new type promotion rule for Paddle 2.6 (#11698) 2024-03-18 11:55:55 +08:00
Yesir 1f6712c370
Update zeros' comment in rec_abinet_head.py (#11374)
Bug fixes | One of code comments | maybe here it's B,N,C
2023-12-27 19:45:24 +08:00
shiyutang 987b3112cd
valid_out (#11126) 2023-10-25 15:35:10 +08:00
xiaoting bf59c42a0f
fix satrn export for paddle2.5 (#11096) 2023-10-19 15:00:11 +08:00
xiaoting 6abf08a06e
fix import collection for py310 (#11012) 2023-09-27 15:40:16 +08:00
zhangyubo0722 e49e491417
add svtr large model (#10937)
* add svtr large model

* [WIP]add svtr large model
2023-09-26 14:38:29 +08:00
Nyakku Shigure 2751cb3a11
fix `cls_x` and `bbox_x` is possibly unbound (#10991) 2023-09-25 17:15:09 +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
xiaoting 5d68082518
rm fluid for paddle dev (#10931) 2023-09-19 10:16:35 +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
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