Commit Graph

429 Commits

Author SHA1 Message Date
WenmuZhou fdaf1f1577 Extraction get_rotate_crop_image 2021-06-30 10:45:27 +08:00
WenmuZhou 4a7f7c7d7b add copy paste 2021-06-30 10:41:40 +08:00
WenmuZhou d218f8fb46 del comment 2021-06-30 10:37:43 +08:00
WenmuZhou 87a858e375 add copy paste 2021-06-30 10:20:08 +08:00
WenmuZhou 007223e933 add copy paste 2021-06-30 10:18:48 +08:00
Double_V be181cb3bd
add new load dygraph func (#3088)
* add new load dygraph func

* update load_pretrain_params

* update load_dygrah_params

* Update save_load.py

* Update train.py

* Update save_load.py

* return {} when path is None

* return {} when path is None
2021-06-28 20:44:06 +08:00
Double_V 465ef3bffd
Merge branch 'dygraph' into bm_dyg 2021-06-28 11:05:24 +08:00
MissPenguin 3f92af453f Merge branch 'dygraph' of https://github.com/MissPenguin/PaddleOCR into dygraph 2021-06-22 08:16:32 +00:00
MissPenguin 79e83a8d6c refine 2021-06-22 08:14:07 +00:00
MissPenguin 053cc43d82 refine 2021-06-22 04:23:27 +00:00
MissPenguin 79c0a0604c
Merge branch 'dygraph' into dygraph 2021-06-22 11:41:41 +08:00
MissPenguin c0492e02c7 refine 2021-06-22 03:32:00 +00:00
MissPenguin 89496d4ab7 refine 2021-06-21 12:27:03 +00:00
MissPenguin 8a4678aa59 refine 2021-06-21 12:25:41 +00:00
MissPenguin 16c247ac46 refine 2021-06-21 12:20:25 +00:00
littletomatodonkey 0938c44a0a
add embedding and fix eval when distillation (#3112) 2021-06-17 13:29:49 +08:00
MissPenguin 7c8b2c8d19 add train code for table 2021-06-16 08:47:33 +00:00
WenmuZhou 6e03b3de14 del unused params 2021-06-10 17:29:23 +08:00
WenmuZhou 5cce398ebb fix structure pipeline infer bug 2021-06-10 17:12:14 +08:00
WenmuZhou 330f08ffc7 fix table infer bug 2021-06-10 16:48:11 +08:00
WenmuZhou 037e17fc82 merge dygraph 2021-06-10 14:24:59 +08:00
Double_V 962a628d17
remove tmp variable 2021-06-09 19:30:52 +08:00
LDOUBLEV 616ad6a179 fix tps and fix trt 2021-06-09 19:15:57 +08:00
zhoujun 3302a0b1ad
Revert "add table eval and predict script" (#3062) 2021-06-09 19:06:44 +08:00
Double_V 85aeae712a
Merge pull request #3002 from littletomatodonkey/dyg/add_distillation
add distillation
2021-06-09 18:48:40 +08:00
littletomatodonkey 95d07675d4 fix kldiv input 2021-06-09 08:06:28 +00:00
WenmuZhou dfba983c82 remove unused code 2021-06-08 18:01:39 +08:00
WenmuZhou 2f0740685e whl package support send model url 2021-06-08 16:50:13 +08:00
WenmuZhou ac56eba7eb del pad 2021-06-08 15:41:25 +08:00
WenmuZhou 316a17b066 del pad 2021-06-08 15:40:08 +08:00
WenmuZhou 0ee6137d75 del pad 2021-06-08 15:28:40 +08:00
WenmuZhou dec76eb75d add pad for small image in det 2021-06-08 10:52:47 +08:00
littletomatodonkey e45ff48347 remove fpn name 2021-06-06 10:39:17 +00:00
WenmuZhou bc0d766425 init commit for paddlestructure 2021-06-05 22:00:17 +08:00
WenmuZhou a5f7511505 mv download func to ppocr/utils/network.py 2021-06-05 17:33:50 +08:00
littletomatodonkey 48d8537959 rm load_dyg_pretrain 2021-06-05 06:52:45 +00:00
littletomatodonkey 115955f722 fix metric 2021-06-04 02:46:45 +00:00
littletomatodonkey 0343756e46 fix metric 2021-06-03 13:31:25 +00:00
WenmuZhou eb7ce442a3 add table eval and predict script 2021-06-03 16:43:29 +08:00
WenmuZhou 794362481e add table eval and predict script 2021-06-03 16:39:31 +08:00
littletomatodonkey 6361a38ff5 fix export model for distillation model 2021-06-03 06:53:24 +00:00
littletomatodonkey ab4db2acce support dict output for basemodel 2021-06-03 05:57:31 +00:00
littletomatodonkey e5d3a2d880 fix distillation arch and model init 2021-06-03 05:30:43 +00:00
littletomatodonkey ed02b91d26 add distillation function 2021-06-02 08:31:57 +00:00
Double_V 47d0927f4d
Merge pull request #2859 from WenmuZhou/fix_dataset
fix lable parse error when \r in the end of line
2021-05-24 10:02:02 +08:00
YukSing d1a7d35c4b
Update save_load.py
Fixed variable name
2021-05-23 19:16:01 +08:00
WenmuZhou 9497580dce fix lable parse error when \r in the end of line 2021-05-21 12:02:03 +08:00
xiaoting 81aba737d3
[Cherry pick] fix srn for sub_layers (#2694)
* fix srn for sublayer

* update for paddle2.1
2021-05-07 10:50:12 +08:00
YukSing b40cefa6d2
Update rec_resnet_vd.py (#2681)
Fixed out_channels
2021-04-29 12:34:23 +08:00
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