Commit Graph

462 Commits (89e0a15ce7f195026d56189e04a880aa81b107f3)

Author SHA1 Message Date
xiaoting 2f70e4b7f6
upload paddleocr whl to pypi (#10524)
* upload paddleocr whl to pypi

* Update README_ch.md

* Update README_ch.md

* Update quickstart.md

* Update README_ch.md

* Update README_ch.md
2023-08-06 11:17:13 +08:00
zhoujun c82072e8f5
Fix bug in run PP-OCRv3 rec with dygraph branch code (#10489)
* Update ch_PP-OCRv3_rec.yml

* Update ch_PP-OCRv3_rec_distillation.yml

* Update en_PP-OCRv3_rec.yml

* Update arabic_PP-OCRv3_rec.yml

* Update chinese_cht_PP-OCRv3_rec.yml

* Update cyrillic_PP-OCRv3_rec.yml

* Update devanagari_PP-OCRv3_rec.yml

* Update japan_PP-OCRv3_rec.yml

* Update ka_PP-OCRv3_rec.yml

* Update korean_PP-OCRv3_rec.yml

* Update latin_PP-OCRv3_rec.yml

* Update ta_PP-OCRv3_rec.yml

* Update te_PP-OCRv3_rec.yml
2023-08-01 19:00:11 +08:00
Yuchen-Su bb616dbfba
add config of 'ch_PP-OCRv4_det_cml' (#10483)
* config of ch_PP-OCRv4_det_cml

* Update ch_PP-OCRv4_det_cml .yml

* add config of ch_PP-OCRv4_det_cml

* Delete ch_PP-OCRv4_det_cml .yml

* Add files via upload
2023-07-26 18:57:07 +08:00
Zhang Ting a288a3aac3
fix det_v3 (#10180) 2023-06-16 10:16:32 +08:00
Zhang Ting 6949448558
improve amp training (#10119) 2023-06-08 15:50:37 +08:00
zhangyubo0722 a46a061082
[WIP]Benchmark 2q add PP-OCRv4_rec ultra config (#10067)
* add PP-OCRv4_rec ultra config

* modify prepare
2023-06-01 18:36:03 +08:00
huangjun12 0e9c6630ee
fix det v4 bug in dynamic ratio (#9874)
* fix set bug

* refine 960 to 640

* fix details

* add epoch num

* add rep export

* use db head
2023-05-24 14:59:36 +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
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 7e0c8aea84
revert eval mode (#9843)
* revert eval mode

* update hgnet config
2023-05-04 12:59:55 +08:00
xiaoting b3066812fc
Multi scale (#9837)
* update for multi scale

* update for multi scale

* update for multi scale

* rm notes
2023-04-28 11:04:01 +08:00
huangjun12 ded374035c
add v4 det pretrain link (#9829)
* add v4 det pretrain link

* update size to 960
2023-04-27 17:08:42 +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
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
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 623424fce0
support auto download model from bos (#9349) 2023-03-08 19:21:28 +08:00
Bo Zhang ed1a07a5f5
change num worker to 16 for better (#9179)
* change num worker to 16

* adjust num_worker ser_layoutlm_xfund_zh.yml for better performance
2023-02-22 14:26:40 +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
topduke 955c46e0c5
add svtr FAQ and data_aug (#8864) 2023-01-19 22:14:28 +08:00
niuliling123 bdfa1d2fa8
Add matmul_v2 and elementwise_add to black list for amp o1 and o2 (#8734) 2022-12-29 13:41:58 +08:00
niuliling123 931edad131
Add matmul and elementwise into amp_custom_black_list for ch_PP-OCRv2_rec_distillation (#8360) 2022-11-18 14:34:13 +08:00
Lizhi Chen 182c1db291
Merge branch 'dygraph' into dygraph 2022-10-20 10:14:55 +08: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 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 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
littletomatodonkey 662b016694 fix 2022-10-14 13:39:28 +00:00
zhoujun ce72023ce1
Merge pull request #7832 from zhiminzhang0830/drrg_branch
add text detection algorithm DRRG
2022-10-13 13:19:13 +08:00
Double_V 9df7730eeb
Merge pull request #7840 from LDOUBLEV/dygraph
add polygon params
2022-10-12 10:14:16 +08:00
贾晓 b03ac29272
Merge pull request #7865 from WenmuZhou/tipc_2
fix nrtr config evaluation path error
2022-10-11 15:45:40 +08:00
WenmuZhou 75e4961bcc fix nrtr config 2022-10-10 09:46:35 +00: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
zhiminzhang0830 67ae525e95 删除backbone里的pretrained_model字段 2022-10-10 14:20:28 +08:00
LDOUBLEV 119196f11d add det_box_type params 2022-10-09 11:28:32 +08:00
huangqipeng 7851977157 [MLU]adapt mlu device for running dbnet network 2022-10-08 16:46:41 +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 3f8602c169 Merge branch 'dygraph' of https://github.com/PaddlePaddle/PaddleOCR into rfl_branch 2022-09-29 16:40:10 +08:00
andyj 8ffde036ed
Merge pull request #7773 from WenmuZhou/tipc_2
update spin and RobustScanner model link
2022-09-29 16:17:06 +08:00
WenmuZhou 75a21ea867 update spin and RobustScanner moel link 2022-09-29 06:52:10 +00:00