Commit Graph

797 Commits (344b7594e49f0fbb4d6578bd347505664ed728bf)

Author SHA1 Message Date
Chung Chăm Chỉ 15963b0d24
fix: release memory after predict (#10688)
* fix: release memory after predict

* fix: release memory
2023-08-30 10:22:15 +08:00
itasli 71b7c45381
fix undefined save_model_dir when using wandb (#10251) (#10709)
* fix undefined save_model_dir when using wand

* Update program.py
2023-08-23 16:06:42 +08:00
UserUnknownFactor b17c2f3a56
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
2023-08-16 18:54:43 +08:00
Lin Manhui fec014e92d
Suppress scalar warnings (#10509) 2023-07-31 15:13:11 +08:00
livingbody 49d1a59572
upgrade pillow to 10.0.0 (#10405) 2023-07-17 14:42:30 +08:00
xiaoting b0e3c3f2c7
clear fluid (#10333) 2023-07-10 14:12:40 +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
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
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
duanyanhui ce65745755
update npu inference api (#9765) 2023-04-20 10:26:26 +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
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
Double_V 3629d5a365
support set gpu_id when inference (#8926)
* 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
2023-01-30 18:46:41 +08:00
xiaoting ff947d8960
fix onnx for dynamic shape (#8812) 2023-01-10 10:48:42 +08:00
Zhang Ting 4f735dbde1
matmul use fp32 compute_type (#8733) 2022-12-29 13:42:12 +08:00
Double_V 5cac747656
[bug] fix issues about sort_function and DB Head (#8580)
* support min_area_rect crop

* add check_install

* fix requirement.txt

* fix check_install

* add lanms-neo for drrg

* fix

* fix doc

* fix
2022-12-13 16:26:42 +08:00
zhoujun 29a33c547b
fix re inference error (#8473) 2022-12-01 09:52:03 +08:00
Double_V d314008fa7
support min_area_rect crop (#8127) 2022-11-01 11:30:34 +08:00
WenmuZhou 6120094ac2 add Telescope to support alg 2022-10-25 05:08:58 +00:00
dorren f875556541 update can transform method and add copyright info for new file 2022-10-17 17:18:14 +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
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
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
LDOUBLEV 3558d57681 fix ci 2022-10-09 14:15:47 +08:00
LDOUBLEV 119196f11d add det_box_type params 2022-10-09 11:28:32 +08:00
LDOUBLEV 9919cb71d1 delete debug 2022-10-09 10:10:05 +08:00
zhiminzhang0830 c25eec882a Merge branch 'dygraph' of https://github.com/PaddlePaddle/PaddleOCR into rfl_branch 2022-10-09 10:07:46 +08:00
LDOUBLEV 81e4c3d821 add polygon params 2022-10-09 09:58:52 +08:00
huangqipeng 7851977157 [MLU]adapt mlu device for running dbnet network 2022-10-08 16:46:41 +08:00
littletomatodonkey eeef62b3c6
fix PREN export and infer (#7833) 2022-10-08 16:37:12 +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 c459b72565 添加RFL CNT分支infer支持 2022-10-08 11:20:36 +08:00
zhiminzhang0830 3f8602c169 Merge branch 'dygraph' of https://github.com/PaddlePaddle/PaddleOCR into rfl_branch 2022-09-29 16:40:10 +08:00
andyjpaddle 6dd8da089f format code 2022-09-29 07:51:13 +00:00
andyjpaddle e61f40ef41 support infer pdf file 2022-09-29 07:31:45 +00:00
zhiminzhang0830 0002349df3 add text recognition algorithm rflearning 2022-09-27 10:54:31 +08:00
WenmuZhou 06194524ca add re predict 2022-09-20 22:13:27 +08:00
Double_V 8fb6fea192
Update utility.py 2022-09-19 17:35:04 +08:00
LDOUBLEV bb54e9b8eb fix 2022-09-19 14:03:15 +08:00
LDOUBLEV a8c6173347 add txt 2022-09-19 13:33:47 +08:00
LDOUBLEV 9881156261 delete shape_info_name 2022-09-19 13:26:18 +08:00