Commit Graph

430 Commits

Author SHA1 Message Date
xiaoting 159b3a26b7
Merge pull request #2661 from WenmuZhou/fix_srn_post_process
add max_text_length to SRNLabelDecode
2021-04-27 13:58:21 +08:00
WenmuZhou 38fc1fae63 add max_text_length to SRNLabelDecode 2021-04-27 12:12:19 +08:00
zhoujun c27022294e
add global_step to .states files (#2566)
Co-authored-by: littletomatodonkey <2120160898@bit.edu.cn>
2021-04-27 10:13:21 +08:00
littletomatodonkey eafb157a05 add py impl of pr 2574 2021-04-23 08:23:24 +00:00
Jethong 9a8f5d081b fix name 2021-04-22 20:32:40 +08:00
Jethong 2365c70e4a fix dataset 2021-04-21 19:36:58 +08:00
Jethong 243bd9944d add mode 2021-04-21 16:20:39 +08:00
Jethong 2f978f638b add metric mode 2021-04-21 16:20:24 +08:00
Jethong e2b84da866 add eval mode 2021-04-21 16:20:01 +08:00
littletomatodonkey fb5f7f5eb4
fix loader cause it does not need to break (#2562)
* fix loader cause it does not need to be rebuild for each epoch

* fix loader for dynamic sample

* rm thin import
2021-04-20 23:47:40 +08:00
Double_V 139e6f077d
Merge branch 'dygraph' into dy/refine_code 2021-04-16 19:59:27 +08:00
Jethong b5de79b2c9 refine code 2021-04-15 20:05:46 +08:00
MissPenguin 7607b57024
Merge branch 'dygraph' into dy/fix_data_format 2021-04-15 11:30:38 +08:00
tink2123 a0e6e83397 fix some typo 2021-04-14 16:00:45 +08:00
Jethong be5fdae573 fix config format 2021-04-14 15:02:54 +08:00
Jethong 50bcec4661 fix data input format 2021-04-14 15:02:15 +08:00
tink2123 ff853c78c9 polish multi-lang doc 2021-04-12 14:32:27 +08:00
Double_V 95c931e9d5
Merge branch 'dygraph' into pgnet-postpro 2021-04-12 11:48:03 +08:00
Jethong 03895497fa add fast postprocess 2021-04-11 18:43:42 +08:00
Jethong d036c91af1 support two postprocess 2021-04-11 16:40:46 +08:00
Jethong f67e6e1387 fix eval score 2021-04-10 14:44:32 +08:00
littletomatodonkey 76320bf0db Merge branch 'dygraph' of https://github.com/PaddlePaddle/PaddleOCR into dev/add_thread_pred 2021-04-09 10:29:21 +00:00
littletomatodonkey 86f4abf7d5 add supprt for multi process inference 2021-04-09 10:19:34 +00:00
MissPenguin 31fa491392
Merge branch 'dygraph' into add_multi_doc 2021-04-09 17:38:06 +08:00
Jethong a0d1f9236d add different post process 2021-04-09 16:04:02 +08:00
tink2123 a07ed72fea update whl and add multi-lang doc 2021-04-09 01:54:44 +08:00
Jethong 0cd48c35e5 Merge branch 'pgnet-v1' of github.com:JetHong/PaddleOCR into pgnet-v1 2021-04-07 12:27:53 +08:00
Jethong 6824db26e7 fix errors and add pretrain_model 2021-04-07 12:26:05 +08:00
Double_V 0aef8e47f0
Merge branch 'dygraph' into pgnet-v1 2021-03-31 09:59:36 +08:00
littletomatodonkey 113d8a8eb5 fix eval res vary for different times 2021-03-26 05:41:36 +00:00
Jethong f698142542 Merge branch 'pgnet-v1' of github.com:JetHong/PaddleOCR into pgnet-v1 2021-03-19 12:06:21 +08:00
Jethong 88964dc92f add visual png 2021-03-19 11:59:35 +08:00
Double_V 1bbc3f6872
Merge branch 'dygraph' into pgnet-v1 2021-03-18 16:46:56 +08:00
Double_V 93c919e644
Merge branch 'dygraph' into pgnet-v1 2021-03-15 14:18:48 +08:00
Jethong 9711111270 fix error 2021-03-15 13:58:53 +08:00
zhoujun b0e04e06ce
Merge branch 'dygraph' into fix_attn_export 2021-03-11 16:09:25 +08:00
WenmuZhou acffd750f7 fix attn export 2021-03-11 15:30:33 +08:00
Jethong 051fe64a0d fix config add e2e_ch.md e2e_res_img623_pg 2021-03-10 14:14:21 +08:00
littletomatodonkey 0e332fb59a
add prob for ra (#2194)
* add prob for ra

* add prob for ra
2021-03-09 15:08:59 +08:00
Jethong 310d399b83 ADD PGnet_v3 2021-03-08 15:44:07 +08:00
Jethong bb49e1a53f ADD PGNet_v2 2021-03-08 15:11:57 +08:00
Jethong 1f76f449db Add PGNet 2021-03-08 14:55:49 +08:00
Double_V 6335b0d842
Merge branch 'dygraph' into fix2013 2021-02-24 15:29:15 +08:00
LDOUBLEV a898305ca4 fix issue 2072 2021-02-22 20:53:39 +08:00
Double_V 6a42745f96
Merge pull request #2060 from LDOUBLEV/fix2013
fix issue 2013
2021-02-22 09:57:04 +08:00
LDOUBLEV 8f9dda8608 fix issue 2013 2021-02-22 09:53:43 +08:00
zhoujun 253cd0f770
Merge pull request #2029 from WenmuZhou/fix_doc
Fix export bug
2021-02-19 16:34:23 +08:00
WenmuZhou 0507402a0f fix export bug 2021-02-19 16:29:54 +08:00
Double_V 85d340bd27
Merge pull request #1951 from light1003/patch-1
Update det_basic_loss.py
2021-02-19 15:28:50 +08:00
Double_V 5fe690a06b
Merge pull request #1973 from littletomatodonkey/dyg/fix_area_calc
fix are calc for polygon
2021-02-18 10:20:23 +08:00
zhoujun 3ab2d46310
support img_h < 32 (#1992) 2021-02-09 18:44:40 +08:00
WenmuZhou 33f302e5ff support img_h < 32 2021-02-09 13:36:38 +08:00
zhoujun 95a1c6176d
Merge pull request #1985 from WenmuZhou/fix_doc
fix rare export error and support rare infer
2021-02-08 14:23:35 +08:00
WenmuZhou ed2b527c9f fix rare export error 2021-02-08 14:06:10 +08:00
tink2123 3d8b42dc0c fix encode for srn 2021-02-08 03:34:02 +00:00
tink2123 4b845ca159 fix attn encode 2021-02-08 03:32:35 +00:00
littletomatodonkey 3728183276 fix are calc for polygon 2021-02-07 08:09:39 +00:00
light1003 4a8fc9176d
Update det_basic_loss.py
to_variable has been removed in paddle 2.0,using to_tensor instead
2021-02-05 15:49:01 +08:00
tink2123 44420593e7 fix typo 2021-02-03 08:26:46 +00:00
MissPenguin d36a929b27
Merge pull request #1913 from WenmuZhou/dygraph_rc
fix divide zero error
2021-02-03 15:09:29 +08:00
WenmuZhou dc0a21ffc7 fix divide zero error 2021-02-02 15:45:57 +08:00
MissPenguin dd6f6f5cf3
Merge pull request #1869 from LDOUBLEV/rare
upload rare code
2021-02-01 16:55:33 +08:00
LDOUBLEV a094d27755 opt rec_att_head 2021-02-01 08:08:18 +00:00
LDOUBLEV 0d89f3f913 fix comment 2021-02-01 06:54:56 +00:00
LDOUBLEV 550022ea66 fix comment 2021-02-01 06:44:04 +00:00
LDOUBLEV e7d24ac8b8 fix comment 2021-02-01 06:41:45 +00:00
LDOUBLEV 0f4d92b63f fix conflict wiith SRN 2021-02-01 06:32:14 +00:00
LDOUBLEV 7a054c854b rare doc and opt post_process 2021-02-01 06:27:56 +00:00
xiaoting 0c5c9f694d
Merge pull request #1890 from tink2123/srn_ch
Adaptation of Chinese char
2021-02-01 11:31:25 +08:00
tink2123 7f2304ab3f Adaptation of Chinese char 2021-02-01 03:28:31 +00:00
LDOUBLEV 56cbbdfb01 fix conflict 2021-02-01 03:19:56 +00:00
Leif b3a451da26 Fix a spelling mistake 2021-01-29 15:03:41 +08:00
xiaoting 6ebbbfe46c
Merge branch 'dygraph' into dygraph_for_srn 2021-01-29 11:37:19 +08:00
LDOUBLEV f6e03a51f0 upload rare code 2021-01-29 03:15:03 +00:00
littletomatodonkey a4fa186010
fix mv3 to adapt to paddle2.0 (#1864)
* fix mv3 to adapt to paddle2.0

* fix doc to adapt to 2.0.0

* fix paddle version
2021-01-28 19:14:50 +08:00
Double_V b22ee4dd5f
Merge pull request #1844 from LDOUBLEV/trt_cpp
fix shuffle not work
2021-01-27 15:17:39 +08:00
LDOUBLEV 1d11af72ac fix shuffle not work 2021-01-27 15:01:41 +08:00
littletomatodonkey d1e150e276
Revert "fix mv3 to adapt to paddle2.0" (#1836) 2021-01-26 17:17:55 +08:00
xiaoting 1888ca2793
Merge pull request #1826 from tink2123/multi_lan_doc
update multi-lang doc
2021-01-26 15:59:58 +08:00
tink2123 edeb12b1e0 rename en_sensitive EN_symbol 2021-01-26 15:53:49 +08:00
Double_V 4dcf1b2227
Merge pull request #1821 from WenmuZhou/dygraph_rc
mv3 small support det
2021-01-26 15:53:17 +08:00
tink2123 d9ae86f422 update en char_type 2021-01-26 15:28:37 +08:00
tink2123 8f52a73718 polish code 2021-01-26 15:24:13 +08:00
littletomatodonkey 38031eb427
Revert "Revert "fix mv3 to adapt to paddle2.0"" 2021-01-26 15:10:14 +08:00
zhoujun 493027d39e
Revert "fix mv3 to adapt to paddle2.0" 2021-01-26 15:04:15 +08:00
littletomatodonkey b4b51a0510 fix mv3 to adapt to paddle2.0 2021-01-26 06:53:44 +00:00
xiaoting f214437538
Merge branch 'dygraph' into dygraph_for_srn 2021-01-26 13:29:13 +08:00
WenmuZhou b9e0a99832 mv3 small support det 2021-01-26 12:58:38 +08:00
littletomatodonkey 9f581156d9 fix data replication for multi-cards sampling 2021-01-24 12:32:22 +00:00
tink2123 ed2f0de95e mv model_average to incubate 2021-01-22 03:15:56 +00:00
Double_V ad3835e231
Merge pull request #1780 from WenmuZhou/dygraph_rc
add starnet
2021-01-21 11:27:16 +08:00
LDOUBLEV 16bd2dd093 fix sast process 2021-01-21 11:11:03 +08:00
xiaoting 21292bb3b7
Merge pull request #1767 from xmy0916/dygraph
add multi language config file imgs and dict
2021-01-20 20:40:23 +08:00
xmy0916 cafea5dcbe fix char dict 2021-01-20 20:06:07 +08:00
WenmuZhou 1bf5367cdc for preds, remove duplicate 2021-01-20 18:33:42 +08:00
WenmuZhou adafa3e67d Merge branch 'dygraph' of https://github.com/PaddlePaddle/PaddleOCR into dygraph_rc 2021-01-20 18:31:30 +08:00
WenmuZhou 5a9c8e49ac tps export down 2021-01-20 18:23:29 +08:00
xmy0916 fe694ae902 fix bugs 2021-01-20 15:16:37 +08:00
xmy0916 46ac85ad8a fix some problems 2021-01-19 23:46:35 +08:00
littletomatodonkey 301b0d347c
fix duplicate (#1771)
* fix duplicate

* fix default action
2021-01-19 21:03:13 +08:00
Double_V b7e4528d3b
Merge pull request #1763 from WenmuZhou/dygraph_rc
fix typo error and tps alignment
2021-01-19 19:25:06 +08:00
WenmuZhou f17b96b96f Delete useless code 2021-01-19 17:42:28 +08:00
WenmuZhou f2ebeae59a Delete useless comments 2021-01-19 17:42:06 +08:00
WenmuZhou 3027983375 tps 前反向对齐 2021-01-19 17:39:46 +08:00
xmy0916 141d50d670 add multi language config file imgs and dict 2021-01-19 15:52:04 +08:00
tink2123 93670ab5a2 all ready 2021-01-19 06:48:52 +00:00
LDOUBLEV 825a28244c add use_shared_memory params for AIstudio demo 2021-01-11 15:57:28 +08:00
littletomatodonkey ba3e397f0a fix get image list 2021-01-07 14:23:13 +00:00
littletomatodonkey f5008a0a97 fix space eval 2021-01-07 08:10:01 +00:00
tink2123 297871d4be fix bugs 2020-12-30 19:54:16 +08:00
tink2123 c1fd46641e add srn for dygraph 2020-12-30 16:15:49 +08:00
littletomatodonkey de3e2e7cd3
add CyclicalCosineDecay (#1599) 2020-12-29 13:49:43 +08:00
WenmuZhou 31aa45fed2 add init to fc1 2020-12-25 16:39:50 +08:00
zhoujun d3bd510377
fix bugs in DetResizeForTest 2020-12-21 22:27:11 +08:00
WenmuZhou 3a0090dc00 delete fluid 2020-12-21 17:13:32 +08:00
gnoixnil'il e6315ddd76
Update det_basic_loss.py
删除重复赋值[self.main_loss_type]
2020-12-20 13:46:40 +08:00
WenmuZhou 39955558b8 fix bugs 2020-12-16 19:41:44 +08:00
WenmuZhou a8d1f2db94 update 2020-12-16 13:06:48 +08:00
WenmuZhou d3b609ee09 change DBHead output to dict 2020-12-15 23:49:50 +08:00
MissPenguin fe46b77edf fix conflicts 2020-12-15 14:29:44 +00:00
MissPenguin b596e70f14 fix db eval 2020-12-15 14:11:02 +00:00
MissPenguin 3f64d27b71 update inference for east & sast 2020-12-15 12:54:02 +00:00
WenmuZhou 9b370bb26a Delete unused code 2020-12-15 17:51:09 +08:00
WenmuZhou e6878b2113 trans numpy to paddle 2020-12-14 18:23:47 +08:00
zhoujun 0e32093fdc
add grad clip (#1411) 2020-12-14 12:19:33 +08:00
littletomatodonkey e84ea2667f
fix prob (#1404) 2020-12-13 17:19:52 +08:00
MissPenguin edc0fd0ccd fix predict_det 2020-12-13 06:18:26 +00:00
MissPenguin 71b8416493
Merge pull request #1392 from tink2123/dygraph_doc
[Dygraph] update readme and polish some docs
2020-12-12 19:48:30 +08:00
Double_V e55e224131
set use_shared_momery as False when eval (#1394) 2020-12-11 21:07:43 +08:00
xiaoting 3feb56f167
Merge branch 'dygraph' into dygraph_doc 2020-12-11 17:53:30 +08:00
tink2123 61b94e47cb polish doc 2020-12-11 17:50:01 +08:00
zhoujun 058c0e5302
fix typo error (#1387) 2020-12-11 13:21:58 +08:00
MissPenguin ba956b485e
Merge pull request #1380 from LDOUBLEV/dyg_db
update doc of db and installtion
2020-12-11 09:23:23 +08:00
LDOUBLEV cad5ea1144 update doc of db and installtion 2020-12-10 16:34:56 +08:00
MissPenguin 836839bbf6
Merge pull request #1364 from LDOUBLEV/dyg_db
add ppocr_v2 ch_db
2020-12-10 11:02:26 +08:00
LDOUBLEV d97d98fe01 opt random sample 2020-12-10 11:00:05 +08:00
LDOUBLEV b8ba703548 delete data_num_per_epoch 2020-12-10 10:19:39 +08:00
LDOUBLEV a5b219127f fix conflicts 2020-12-09 22:07:20 +08:00
LDOUBLEV 7cce85cc5c fix conflicts 2020-12-09 20:44:43 +08:00
MissPenguin 055f207fcf
Merge pull request #1371 from tink2123/update_multi
update multi dic and export
2020-12-09 20:37:35 +08:00
LDOUBLEV e7ad27c399 fix conflicts 2020-12-09 20:30:50 +08:00
LDOUBLEV c0b4cefdcb fix comments and transform to transforms 2020-12-09 20:26:40 +08:00
tink2123 7eeef5933c update multi dic and export 2020-12-09 11:56:37 +00:00
MissPenguin 5b2f6b7524
Merge pull request #1368 from WenmuZhou/dygraph_rc
[Dygraph] add config file of DB, CRNN,Rosetta, StarNet
2020-12-09 17:36:37 +08:00
WenmuZhou 04b0318b56 Delete unused files 2020-12-09 17:27:50 +08:00
MissPenguin d42bf7a0b7 fix db postprocess 2020-12-09 08:51:43 +00:00
MissPenguin 661e459e3e fix character_type 2020-12-09 08:48:27 +00:00
LDOUBLEV 5f2f08a09c add ppocr_v2 ch_db 2020-12-09 14:59:04 +08:00
MissPenguin 021c1132a9 add east & sast 2020-12-09 06:45:25 +00:00
tink2123 bccf9edf61 update for multi-language 2020-12-08 19:10:57 +08:00