Commit Graph

888 Commits (release/2.7)

Author SHA1 Message Date
WenmuZhou d0efcc74c9 convert fp16 params to fp32 when params is fp16 format 2022-08-05 12:41:03 +08:00
WenmuZhou 160e5e384a rename 2.0 to 2_0 2022-08-02 19:41:29 +08:00
andyjpaddle ab0b4e7474 fix vl infer 2022-08-02 11:39:51 +00:00
smilelite 3337dee65a fixed rec_img_aug 20220801 2022-08-01 22:09:12 +08:00
andyjpaddle 7a706ada64 Merge branch 'dygraph' of https://github.com/PaddlePaddle/PaddleOCR into dygraph 2022-07-28 09:14:21 +00:00
andyjpaddle 0d3c2924b1 fix head out 2022-07-28 08:37:11 +00:00
smilelite b781838015 fix conflicts 2022-07-27 23:02:24 +08:00
zhoujun 1696b36bdb
Merge pull request #6841 from smilelite/spin_branch
添加SPIN(第二次修改)
2022-07-26 20:09:34 +08:00
贾晓 db5d66f9de
Merge pull request #6811 from Topdu/dygraph
Fix windows bug of abinet
2022-07-20 19:55:50 +08:00
andyjpaddle 8656a1dd0c add ref 2022-07-20 11:18:01 +00:00
Topdu bb7a3b0e9a fix win&mac bug of abinet | validation 2022-07-20 08:57:55 +00:00
andyjpaddle a3a095150e add vl 2022-07-20 06:21:16 +00:00
andyjpaddle 0401e5203e add vl 2022-07-19 12:54:17 +00:00
andyjpaddle cf533b65c5 add vl 2022-07-19 12:38:54 +00:00
smilelite 7c5b47069e modified config and resnet31 2022-07-14 23:11:20 +08:00
smilelite 484bf2f7dc modified SPINLabelEncode SPINLabelDecode 2022-07-14 22:26:10 +08:00
smilelite e181622756 modified rb head and infer_benchmark 2022-07-13 22:33:11 +08:00
smilelite f614274672 modified label_ops 2022-07-12 22:15:00 +08:00
smilelite cb370419ec modified pr 2022-07-11 23:59:45 +08:00
smilelite 6aa35c18ae modified head 2022-07-10 12:31:27 +08:00
smilelite bc1c19c5d2 merge upstream 2022-07-10 12:15:27 +08:00
smilelite 46e3442e2e add spin 2022-07-10 11:47:25 +08:00
smilelite c11ec3ce5b merge upstream 2022-07-10 10:21:18 +08:00
smilelite 7e81a9e62d modified annotation 2022-07-10 09:45:52 +08:00
smilelite 1cda437c4d modified pr 2022-07-10 09:20:59 +08:00
Double_V ba79009d2c
Merge pull request #6786 from wangjingyeye/dyg_poly
add polygons
2022-07-06 19:46:08 +08:00
Topdu 9c1cad6eed fix windows bug of abinet 2022-07-06 10:24:30 +00:00
littletomatodonkey 7a99588dd8
add more dataset yamls and fix re exceptions (#6791)
* add more dataset yamls and fix re exceptions
2022-07-06 13:58:46 +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
zhoujun e97daf7d97
Merge pull request #6781 from WenmuZhou/xlm
fix shape unmatch error in PSE postprocess
2022-07-05 15:43:46 +08:00
WenmuZhou 52d5b54569 add import cv2 2022-07-05 03:29:43 +00:00
wangjingyeye da6636dcee add polygons 2022-07-05 03:01:10 +00: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
wangjingyeye 72f93cf977 add polygons 2022-07-04 08:49:34 +00:00
wangjingyeye 8d9cfade49 add polygons 2022-07-04 08:40:32 +00:00
WenmuZhou b541cc12be fix shape unmatch error 2022-07-04 04:26:54 +00:00
zhoujun 7c81281434
Merge pull request #6763 from WenmuZhou/xlm
[VQA] Add support for dygraph2static  for the ser model of the LayoutLM series in VQA
2022-07-02 08:09:26 +08:00
LDOUBLEV 7c4d0d1e91 fix kl js loss 2022-07-01 18:05:39 +08:00
WenmuZhou 807dd10636 pre-commit 2022-07-01 09:59:11 +00:00
WenmuZhou 8d46a1fbbe add dygraph2static support of layoutlm series SER model 2022-07-01 08:52:08 +00:00
wangjingyeye 00e67e0bf2
Merge branch 'dygraph' into dyg_db 2022-07-01 11:28:23 +08:00
littletomatodonkey e13ec733a6
unify kie and ser for vqa data format (#6704)
* unify kie and ser for vqa data format

* fix config and label ops

* fix doc

* add distort bbox
2022-06-30 15:23:31 +08:00
topduke 3c980db1a6
Merge branch 'dygraph' into dygraph 2022-06-29 20:13:07 +08:00
Topdu 9da6038214 fix BaseAug 2022-06-29 12:08:45 +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
wangjingyeye 1315cdfc86 add db++ 2022-06-28 06:17:45 +00:00
wangjingyeye a63f4414e2 add db++ 2022-06-28 03:28:53 +00:00
wangjingyeye 78064ad956 add db++ 2022-06-27 09:43:14 +00:00
WenmuZhou 5dfcc98306 fix bug 2022-06-27 09:37:07 +00:00
Topdu 6e6d77432f fix ci export bug 2022-06-27 09:01:38 +00:00
wangjingyeye 26a89db76a add resnet 2022-06-27 08:27:26 +00:00
wangjingyeye 142b5e9dfe add db++ 2022-06-27 08:26:53 +00:00
zhoujun 079cdf980c
update save model func (#6693)
* save latest metric

* save latest metric

* add boader judge

* add boader judge
2022-06-27 00:49:00 +08:00
Topdu 1c5e7f2578 aug p infe 2022-06-24 09:56:27 +00:00
Topdu 773b687f5a add abinet_rec_aug and trained model 2022-06-24 07:25:50 +00:00
Topdu 0a343fd3aa svtr ch large model 2022-06-23 08:17:00 +00:00
Topdu 37f22e3e33 add rec_resnet45 2022-06-23 05:03:15 +00:00
Topdu c503dc2f93 [New Rec] add vitstr and ABINet 2022-06-22 14:19:55 +00:00
LDOUBLEV 715fc2377e fix 2022-06-22 12:29:06 +08:00
LDOUBLEV 114d3399b8 fix training 2022-06-21 17:59:44 +08:00
LDOUBLEV 4957a923fb fix training 2022-06-21 17:55:49 +08:00
WenmuZhou 9b1e9ae6dd add table_ops.py 2022-06-21 08:21:21 +00:00
LDOUBLEV 5016894e7b fix conflict 2022-06-21 15:20:24 +08:00
topduke 9a717433ab
Merge branch 'PaddlePaddle:dygraph' into dygraph 2022-06-20 21:32:12 +08: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
smilelite 47cb27499f update pr 2022-06-12 12:25:34 +08:00
smilelite a2ef524f83 merge upstream 2022-06-12 09:50:31 +08:00
xiaoting b821882c76
fix export and kie backbone (#6525) 2022-06-09 10:50:01 +08:00
tink2123 11acfe5124 replace fluid to paddle 2022-06-02 09:53:01 +00:00
topduke 9209799d81
Merge branch 'dygraph' into dygraph 2022-05-31 15:09:38 +08:00
zhoujun dda748f99d
Merge pull request #6437 from WenmuZhou/rec_aug1
add bda
2022-05-31 10:39:16 +08:00
WenmuZhou 32bcea9c1c fix params error 2022-05-30 16:47:12 +08:00
WenmuZhou feca63686d add bda 2022-05-30 16:44:50 +08:00
Topdu c269e1e42f modify vitstr name 2022-05-30 08:36:11 +00:00
andyjpaddle e37fbd1380 update doc for quickstart 2022-05-30 08:10:37 +00:00
Topdu 9816aebdb0 add rec vitstr algorithm. 2022-05-27 06:49:52 +00:00
xyzhu8 6348425744 add robustscanner 2022-05-22 13:16:52 +08:00
LDOUBLEV a02523541c Merge branch 'dygraph' of https://github.com/PaddlePaddle/PaddleOCR into dygraph 2022-05-19 19:37:44 +08:00
littletomatodonkey 2e80aab477
add support for svtr static training (#6328) 2022-05-18 19:03:18 +08:00
littletomatodonkey 0b6290eaf2
add support for static training (#6297)
* add support for static training

* fix assert info
2022-05-16 16:57:13 +08:00
yfzhou d26b1ce300
the file has no function [self.vector_slope] 2022-05-12 19:54:56 +08:00
LDOUBLEV a6f5282973 fix 2022-05-12 16:14:18 +08:00
LDOUBLEV e94d674623 fix 2022-05-12 16:12:09 +08:00
andyjpaddle 551731db0b
Merge branch 'PaddlePaddle:dygraph' into dygraph 2022-05-06 17:25:38 +08:00
andyjpaddle 4cdad758bd fix sar training on windows 2022-05-06 09:24:27 +00:00
zhoujun 29f5ef46a5
Merge pull request #5957 from manangoel99/wandb-metric-logger-corrected
Restructure Metric Logging and Add support for W&B
2022-05-06 15:25:31 +08:00
MissPenguin 8c8ba83b8e
Merge pull request #6111 from Topdu/dygraph
[doc] Add nrtr and svtr en docs.
2022-05-04 17:44:50 +08:00
Shuangchi He 55d8af94f5
[cherry-pick] `Fix some typos for Jetson, metrics and result` from release/2.4-typos2 branch and merge. (#6119)
* [cherry-pick] Fix some typos for Jetson, metrics and result from release/2.4-typos2 branch and merge.
2022-05-02 14:01:29 +08:00
topduke f3c0bc8f99
Merge branch 'PaddlePaddle:dygraph' into dygraph 2022-05-01 22:22:13 +08:00
Topdu a340d95b9b [doc] Add nrtr and svtr en docs. 2022-05-01 12:58:36 +00:00
Double_V 77703f37fb
Merge pull request #6103 from LDOUBLEV/dygraph
fix det cml + pact + distribute training bug
2022-04-29 21:15:27 +08:00
LDOUBLEV a2cdabd053 fix det cml + pact + distribute training bug 2022-04-29 20:46:55 +08:00
MissPenguin 21a0efeab2
Merge pull request #6080 from Topdu/dygraph
add svtr and nrtr docs
2022-04-29 20:25:28 +08:00
littletomatodonkey f479ba16e5
fix bug (#6100) 2022-04-29 17:50:44 +08:00
topduke 514de3d59f
Merge branch 'PaddlePaddle:dygraph' into dygraph 2022-04-29 16:33:22 +08:00
Topdu 2ec4d5252d fix svtrnet bug in python3.10 2022-04-29 06:16:58 +00:00
littletomatodonkey 4c0cf75350 upgrade kd doc 2022-04-29 05:39:07 +00:00
Topdu d2c11969c2 rm svtrlabeldecode resize 2022-04-28 13:03:47 +00:00
littletomatodonkey 6a8a8f7a03
fix log (#6086) 2022-04-28 18:04:05 +08:00
Double_V 79640f5dc4
Merge pull request #6043 from LDOUBLEV/dygraph
add CAFPN and FEPAN
2022-04-28 11:17:05 +08:00
LDOUBLEV d341e182e1 fix rename 2022-04-27 20:41:13 +08:00
LDOUBLEV 5f2ecb855e fix rename 2022-04-27 20:15:18 +08:00
LDOUBLEV b077e3c559 rename 2022-04-27 19:57:48 +08:00
littletomatodonkey 4cddec7307
add rotnet code (#6065)
* add rotnet code

* add config

* fix infer for ssl

* rm unused code
2022-04-27 18:46:48 +08:00
LDOUBLEV 235898cdeb delete capan lite and fix head 2022-04-27 17:47:18 +08:00
LDOUBLEV 982ab58430 merge fepan 2022-04-27 16:53:41 +08:00
LDOUBLEV 8c173feb3f add fepan lite 2022-04-27 16:21:40 +08:00
LDOUBLEV 2b3f89f0e2 Merge branch 'dygraph' of https://github.com/PaddlePaddle/PaddleOCR into dygraph 2022-04-27 14:58:06 +08:00
xiaoting 882e6e549f
Merge pull request #6071 from tink2123/fix_mkldnn
fix mkldnn for ppocrv3, and fix some typo
2022-04-27 14:48:29 +08:00
xiaoting bde50863c5
Merge pull request #6061 from Topdu/dygraph
add_rec_svtr
2022-04-27 14:42:54 +08:00
tink2123 9f5d0d59ef fix mkldnn for ppocrv3, and fix some typo 2022-04-27 06:24:28 +00:00
andyjpaddle 0c280c709a fix key for dis and cls resize 2022-04-27 05:19:55 +00:00
LDOUBLEV 6658f5b23b fix ConvBn 2022-04-27 11:36:05 +08:00
Topdu 1c75ff630e delete yml file, fix quant and svtr 2022-04-26 12:59:48 +00:00
LDOUBLEV 293e85bc6d fix export 2022-04-26 19:49:08 +08:00
Topdu 68fb057dc6 add_rec_svtr 2022-04-26 10:30:26 +00:00
LDOUBLEV 10c5773b9b fix 2022-04-26 17:56:54 +08:00
LDOUBLEV 62a01f7e30 fix 2022-04-26 17:29:38 +08:00
LDOUBLEV d222ff0309 fix 2022-04-26 17:05:42 +08:00
andyjpaddle f6532a0e51
add ppocrv3 rec (#6033)
* add ppocrv3 rec
2022-04-26 16:19:31 +08:00
LDOUBLEV 300452c77b Merge branch 'dygraph' of https://github.com/PaddlePaddle/PaddleOCR into dygraph 2022-04-26 14:25:39 +08:00
LDOUBLEV 217b0409cd fix det 2022-04-26 14:19:08 +08:00
LDOUBLEV 5492c10afe fix comments 2022-04-24 19:52:29 +08:00
LDOUBLEV c7131fecc2 fix 2022-04-24 17:48:20 +08:00
LDOUBLEV 609312ff45 fix __init__ 2022-04-24 17:20:41 +08:00
LDOUBLEV 6560d70271 add FEPAN and head 2022-04-24 17:16:27 +08:00
Manan Goel 112ad00d15 Fixed merge conflict in README.md 2022-04-23 11:37:38 +00:00
LDOUBLEV 6670f50ae0 add cafpn 2022-04-22 19:26:56 +08:00
WenmuZhou bbff7c55c1 The whl package supports separate table recognition and layout analysis 2022-04-22 13:24:45 +08:00
Manan Goel 56fccb03c8 Added functionality to use multiple loggers simultaneously and addded the english documentation on how to use them 2022-04-15 06:44:22 +00:00
Manan Goel dde60d69be Integration of the WandbLogger with the latest changes in the PaddleOCR integrations 2022-04-12 15:47:54 +00:00
WenmuZhou 0f5fb9bd35 rm to tensor 2022-04-12 19:39:50 +08:00
LDOUBLEV c982be99d8 Merge branch 'dygraph' of https://github.com/PaddlePaddle/PaddleOCR into dygraph 2022-04-07 08:37:14 +00:00
LDOUBLEV 5efa071c07 delete debug 2022-04-07 08:31:37 +00:00
LDOUBLEV a8c8f485cb delete debug 2022-04-07 08:30:17 +00:00
LDOUBLEV 22b57e6e85 fix rec pact hang 2022-04-07 08:26:20 +00:00
andyjpaddle f87f821954
fix sar bug (#5867) 2022-04-02 16:28:16 +08:00
LDOUBLEV 41ba8776ec fix 2022-04-01 17:21:55 +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
littletomatodonkey 5fd2de2e2a
improve post process (#5758)
* improve post process

* rm unused code
2022-03-24 11:02:24 +08:00
zhoujun 6a885632e8
fix log print twice error (#5743) 2022-03-22 12:48:50 +08:00
WenmuZhou 1a2c7b2877 add FECNet inference 2022-03-11 09:12:35 +00:00
littletomatodonkey 5b33340647
fix kldiv when stop grad is trur (#5643) 2022-03-07 16:04:30 +08:00
littletomatodonkey 35d4dbc2d6
fix lost import (#5605) 2022-03-02 15:43:05 +08:00
WenmuZhou 0865d0c474 rm \n in FCEMetric 2022-03-01 08:14:56 +00:00
zhiminzhang0830 4b21494822 Merge branch 'dygraph' of https://github.com/PaddlePaddle/PaddleOCR into new_branch 2022-03-01 10:57:48 +08:00
OneYearIsEnough 6e607a0fa1
[Feature] Add PREN Scene Text Recognition Model(Accepted in CVPR2021) (#5563)
* [Feature] add PREN scene text recognition model

* [Patch] Optimize yml File

* [Patch] Save Label/Pred Preprocess Time Cost

* [BugFix] Modify Shape Conversion to Fit for Inference Model Exportion

* [Patch] ?

* [Patch] ?

* 啥情况...
2022-02-28 21:48:00 +08:00
zhiminzhang0830 917606b408 modify poly_intersection 2022-02-27 11:31:33 +08:00
zhiminzhang0830 d8dfdc9221 use Polygon from shapely 2022-02-23 13:27:47 +08:00
zhiminzhang0830 6f0e14a54a modify Pad 2022-02-14 11:48:22 +08:00
zhiminzhang0830 bf7e085ea2 modify fcenet 2022-02-13 11:48:18 +08:00
WenmuZhou 8a28962cd7 add Const lr 2022-02-12 13:35:13 +00:00
WenmuZhou 1bcbd31815 add layoutlmv2 2022-02-12 07:17:38 +00:00
littletomatodonkey 229acda856 fix ips info and reduce interval of metric calc 2022-02-07 12:19:25 +00:00
OneYearIsEnough aaae49584f
[Feature] Add eta function in model's training stage (#5380)
* [Feature] Add eta function in model's training stage

* [Feature] Add eta function in model's training stage

* [Feature] Add eta function in model's training stage

* [Feature] Adjust the strategy of ETA function according to Donkey's smart proposals.

* [Feature] Adjust the strategy of ETA function according to Donkey's smart proposals.

* [Feature] Adjust the strategy of ETA function according to Donkey's smart proposals.

* [Feature] Adjust the strategy of ETA function according to Donkey's smart proposals.

* [Feature] Adjust the strategy of ETA function according to Donkey's smart proposals.

* [Feature] Adjust the strategy of ETA function according to Donkey's smart proposals.

* [BugFix] Fix offset bug, residual idxes should -1
2022-02-01 17:46:42 +08:00
zhiminzhang0830 4cea42d51b add ignore_orientation 2022-01-27 18:07:40 +08:00
zhiminzhang0830 9f62b610de add fcenet 2022-01-27 17:36:19 +08:00
zhoujun 63d5f7859f
Merge pull request #5294 from WenmuZhou/fix_vqa
add eps
2022-01-19 16:31:48 +08:00
WenmuZhou 60a1408d4e add eps 2022-01-19 07:21:51 +00:00
bupt906 f2d6f541a6
add micronet (#5251) 2022-01-17 00:05:09 +08:00
bupt906 107a316f85
add onecycle (#5252) 2022-01-16 23:53:39 +08:00
MissPenguin 8bae1e40bd
Merge pull request #5174 from WenmuZhou/fix_vqa
vqa code integrated into ppocr training system
2022-01-14 13:53:26 +08:00
WenmuZhou 1cbe4bf26c add todo 2022-01-14 04:41:03 +00:00
littletomatodonkey 6c29167e5b
fix skimage order (#5244) 2022-01-13 10:04:06 +08:00
WenmuZhou 23eb335ded add need_reset to dataset 2022-01-12 09:54:07 +00:00
WenmuZhou f671f133c0 move chunk to infer model 2022-01-12 02:29:46 +00:00
WenmuZhou c703a5891a fix re infer bug 2022-01-12 02:29:07 +00:00
littletomatodonkey 2ed52a0e67
fix data to support offline augment (#5232)
* fix data to support offline augment

* fix doc

* fix data
2022-01-11 18:40:04 +08:00
WenmuZhou 443de01526 fux bug 2022-01-07 08:00:59 +00:00
WenmuZhou d6afe16579 add seed 2022-01-07 04:56:45 +00:00
WenmuZhou 434ab12276 merge infer and train 2022-01-07 01:29:53 +00:00
WenmuZhou 5b307b4b50 rm unused import 2022-01-06 10:59:24 +00:00
WenmuZhou 8ec42a5c8a move import seqeval to get_metric fun 2022-01-06 08:58:55 +00:00
WenmuZhou cd7b2ea923 add pretrained params to backbone 2022-01-06 03:35:30 +00:00
WenmuZhou 9ecfc34809 rm const decay 2022-01-05 14:49:04 +00:00
WenmuZhou d8571bdb2a move imgs to doc 2022-01-05 14:35:21 +00:00
WenmuZhou 0d7ee96807 Merge branch 'dygraph' of https://github.com/PaddlePaddle/PaddleOCR into fix_vqa 2022-01-05 11:08:12 +00:00
WenmuZhou a323fce66d vqa code integrated into ppocr training system 2022-01-05 11:03:45 +00:00
tink2123 3647c3188e fix save load, update det pretrain 2022-01-05 15:35:12 +08:00
tink2123 845cecd030 mv fasttext for requirements 2021-12-31 13:08:51 +08:00
yfzhou 725e845485
temp_bboxes get wrong dimension info 2021-12-30 14:45:16 +08:00
MissPenguin 683c86edb3
Merge pull request #4960 from tink2123/fix_seed_padding
polist seed code
2021-12-20 11:16:47 +08:00
LDOUBLEV e6a2970746 add eps 2021-12-19 11:15:37 +00:00
LDOUBLEV 2afc8dd0db fix win 2021-12-19 11:10:10 +00:00
tink2123 a5280c0f40 polist seed code 2021-12-17 21:42:53 +08:00
Double_V 5e4d1891ea
Merge branch 'dygraph' into sdmgr 2021-12-16 18:50:53 +08:00
LDOUBLEV 721c76b42d fix conflict 2021-12-16 10:42:56 +00:00
WenmuZhou fcd73d2659 fix bug in copypaste when point num > 8 2021-12-13 11:24:50 +00:00
littletomatodonkey 2b8e9b2614
remove name (#4870) 2021-12-08 22:53:49 +08:00
zhoujun 0825841f06
del table backbone (#4802) 2021-11-30 23:26:40 +08:00
Double_V 0271adae76
Merge pull request #4799 from tink2123/del_fp16
del fp16 in rec_model
2021-11-30 19:14:11 +08:00
xiaoting 6446657467
Merge branch 'dygraph' into del_fp16 2021-11-30 17:59:36 +08:00
WenmuZhou 20f001d3b6 add rec fpgm 2021-11-30 07:12:05 +00:00
WenmuZhou 7c15d1b790 change is to does 2021-11-29 08:38:15 +00:00
WenmuZhou 389e315ae0 opt east post 2021-11-29 02:48:09 +00:00