Commit Graph

506 Commits

Author SHA1 Message Date
tink2123 7c9a5bd68c fix args 2021-07-08 16:34:05 +08:00
Double_V 4066478ea4
fix precision 2021-07-08 11:56:52 +08:00
WenmuZhou 61e77849f2 fix a bug of train log not save 2021-07-07 18:59:52 +08:00
LDOUBLEV 0742f5c521 fix metric etc.al 2021-07-07 07:54:02 +00:00
LDOUBLEV 185d1e1f92 fix bug 2021-07-07 01:54:03 +00:00
LDOUBLEV 10e3729fd5 minsubgraph_size 3 to 10 2021-07-06 14:49:38 +08:00
littletomatodonkey 51193f8820 fix bug of inference 2021-07-06 14:03:03 +08:00
tink2123 e51e2b2bb9 add autolog for infer_rec 2021-07-06 13:11:27 +08:00
LDOUBLEV 902ee2c483 fix comment and delete shrink memory 2021-07-05 06:04:41 +00:00
LDOUBLEV 4042247c97 fix ci and output 2021-07-05 03:51:14 +00:00
LDOUBLEV 65118f3099 fix trt dynamic shape 2021-07-05 03:33:10 +00:00
MissPenguin 9c813bb332
Merge pull request #3218 from WenmuZhou/copy_paste
add copy paste
2021-07-01 15:45:00 +08:00
WenmuZhou 7d4805468e add get_rotate_crop_image 2021-07-01 14:36:33 +08:00
Double_V 5661c6865c
Merge pull request #3182 from LDOUBLEV/autolog
enhance auto_log
2021-07-01 11:52:56 +08:00
WenmuZhou f1f5a4d255 merge dygraph 2021-06-30 18:04:50 +08:00
Double_V f58ad9dd5b
Merge pull request #3203 from LDOUBLEV/fix_infer_mode
delete benchmark
2021-06-30 17:15:56 +08:00
WenmuZhou ac8c2a8946 merge dygraph 2021-06-30 10:55:05 +08:00
WenmuZhou 88a8be1297 add assert 2021-06-30 10:50:13 +08:00
WenmuZhou fdaf1f1577 Extraction get_rotate_crop_image 2021-06-30 10:45:27 +08:00
Double_V cdd98d085f
Update predict_det.py 2021-06-29 10:01:24 +08:00
LDOUBLEV 602b6c1878 Merge branch 'fix_infer_mode' of https://github.com/LDOUBLEV/PaddleOCR into fix_infer_mode 2021-06-28 21:57:47 +08:00
LDOUBLEV d87be123d2 delete benchmark_util 2021-06-28 21:56:59 +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 ade33ef3d1
Merge branch 'dygraph' into fix_infer_mode 2021-06-28 20:35:14 +08:00
Double_V e4d49819e2
Merge branch 'dygraph' into autolog 2021-06-28 20:34:37 +08:00
LDOUBLEV 586775a945 delete benchmark 2021-06-28 20:19:10 +08:00
LDOUBLEV 729ff65f68 Merge branch 'autolog' of https://github.com/LDOUBLEV/PaddleOCR into autolog 2021-06-28 09:11:06 +00:00
LDOUBLEV b37c597d17 fix subprocess error 2021-06-28 09:10:10 +00:00
LDOUBLEV fa2d08f211 add elapse to cls 2021-06-28 13:50:29 +08:00
LDOUBLEV b88349335b delete benchmark 2021-06-28 13:47:25 +08:00
Double_V 465ef3bffd
Merge branch 'dygraph' into bm_dyg 2021-06-28 11:05:24 +08:00
xiaoting bc99998693
Merge pull request #3185 from LDOUBLEV/fix_vis
save visualized image
2021-06-25 10:13:12 +08:00
LDOUBLEV 42853ff0de save visualized image 2021-06-24 12:00:58 +00:00
Double_V f8441cffa4
Update predict_det.py 2021-06-24 17:48:58 +08:00
Double_V 4c52e3857d
Update predict_det.py 2021-06-24 17:48:36 +08:00
LDOUBLEV ea60a03487 enhance auto_log 2021-06-24 07:18:08 +00:00
WenmuZhou bf1a716855 rename structure 2 table 2021-06-23 12:28:32 +08:00
MissPenguin 7bcabe0f36 refine 2021-06-22 12:39:43 +00:00
MissPenguin 6e1cfb0525 fix cpu infer error for table structure 2021-06-22 08:39:03 +00:00
MissPenguin 3f92af453f Merge branch 'dygraph' of https://github.com/MissPenguin/PaddleOCR into dygraph 2021-06-22 08:16:32 +00:00
MissPenguin 97a668747c refine 2021-06-22 04:24:14 +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 de6bc4458b refine 2021-06-21 12:33:19 +00:00
MissPenguin 16c247ac46 refine 2021-06-21 12:20:25 +00:00
xiaoting 8fbc59d233
Merge pull request #3061 from LDOUBLEV/warmup
add warmup
2021-06-18 16:52:31 +08:00
littletomatodonkey 0938c44a0a
add embedding and fix eval when distillation (#3112) 2021-06-17 13:29:49 +08:00
LDOUBLEV 7588fc082a delete benchmark utils 2021-06-17 02:24:00 +00:00
MissPenguin 7c8b2c8d19 add train code for table 2021-06-16 08:47:33 +00:00
LDOUBLEV 13f5ee1e93 revert mp process, test=develop 2021-06-16 10:04:27 +08:00
WenmuZhou 5cce398ebb fix structure pipeline infer bug 2021-06-10 17:12:14 +08:00
LDOUBLEV ab0b1ace8f add params min_subgraph_size 2021-06-10 14:29:56 +08:00
LDOUBLEV 96a53fb4be add params min_subgraph_size 2021-06-10 14:29:06 +08:00
WenmuZhou 037e17fc82 merge dygraph 2021-06-10 14:24:59 +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
LDOUBLEV 796898e0f8 adjust the min_subgraph_size for trt 2021-06-09 18:22:29 +08:00
LDOUBLEV 7ad663119a fix save_log_path as null 2021-06-09 18:20:36 +08:00
Double_V 7f102639b6
Merge branch 'dygraph' into warmup 2021-06-09 14:54:08 +08:00
LDOUBLEV 1de1f30a97 add warmup 2021-06-09 13:27:13 +08:00
Double_V aa1d40b1d9
Merge branch 'dygraph' into bm_dyg 2021-06-09 13:09:07 +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
Double_V b796c91649
Merge branch 'dygraph' into bm_dyg 2021-06-07 13:50:36 +08:00
WenmuZhou bc0d766425 init commit for paddlestructure 2021-06-05 22:00:17 +08:00
littletomatodonkey 48d8537959 rm load_dyg_pretrain 2021-06-05 06:52:45 +00:00
littletomatodonkey bd1820b784 fix infer rec 2021-06-05 03:58:17 +00:00
littletomatodonkey 115955f722 fix metric 2021-06-04 02:46:45 +00: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
WenmuZhou bb5c6f3b2c slim code 2021-06-02 20:10:59 +08:00
littletomatodonkey ed02b91d26 add distillation function 2021-06-02 08:31:57 +00:00
WenmuZhou f896d5afa4 merge upstream 2021-06-01 19:09:24 +08:00
WenmuZhou 359d81e585 change infer args format from dict to list 2021-05-28 17:31:48 +08:00
LDOUBLEV c8cc0fb4b7 pre-commit 2021-05-26 10:55:53 +00:00
LDOUBLEV 0fd13fa410 process else 2021-05-26 10:54:54 +00:00
LDOUBLEV b8972b3675 add python benchmark for ocr 2021-05-26 10:40:16 +00:00
WenmuZhou eaf38b9b12 combine args in paddleocr and ppocr/infer/utility 2021-05-26 17:34:47 +08:00
LDOUBLEV 0707f74348 delete debug code 2021-05-26 07:36:44 +00:00
LDOUBLEV c946b386fd add trt min max opt shape 2021-05-26 07:18:40 +00:00
LDOUBLEV 9a68a6123a fix hub server error 2021-05-26 07:09:52 +00:00
LDOUBLEV 16d70fb74b add cpu_math_library_num_threads params 2021-05-26 07:08:56 +00:00
Jane-Ding d5651dfa99 fix win train loader 2021-04-29 14:17:48 +00:00
MissPenguin 3b19311dc1
Merge pull request #2678 from WenmuZhou/fix_srn_post_process
add max_text_length to export model
2021-04-28 14:36:51 +08:00
WenmuZhou d36c19ce1a add max_text_length to export model 2021-04-28 13:41:04 +08:00
WenmuZhou b566bcbbaa add max_text_length to export model 2021-04-28 13:36:16 +08:00
littletomatodonkey 099957c907
fix eval laoder on win (#2654) 2021-04-27 10:32:17 +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
MissPenguin 64a3580f1b
Modify the resize operation to be consistent with the python version (#2651) 2021-04-27 00:08:53 +08:00
littletomatodonkey 1b959e3eaa add save rec res 2021-04-25 12:53:29 +00:00
littletomatodonkey eafb157a05 add py impl of pr 2574 2021-04-23 08:23:24 +00: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
Jethong be5fdae573 fix config format 2021-04-14 15:02:54 +08:00
Jethong 84e25c556b fix dygraph infer post process 2021-04-12 18:59:05 +08:00
zhoujun 60ecbd0ba4
Merge branch 'dygraph' into fix_doc 2021-04-09 18:26:21 -05:00
MissPenguin 3563c0f91f
Merge pull request #2429 from littletomatodonkey/dev/add_thread_pred
add supprt for multi process inference
2021-04-09 23:23:38 +08:00
littletomatodonkey 3de964a4b8 fix print 2021-04-09 12:30:42 +00:00
littletomatodonkey d6eb34f65c fix infer 2021-04-09 12:28:49 +00:00
littletomatodonkey 916cec34c6 unify predict mp and sp 2021-04-09 11:50:01 +00: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 e19bedf523 fix infer 2021-04-09 10:28:06 +00:00
littletomatodonkey 86f4abf7d5 add supprt for multi process inference 2021-04-09 10:19:34 +00:00
zhoujun 52f45bc357
Merge branch 'dygraph' into dygraph_rc 2021-04-09 18:12:37 +08:00
zhoujun 3e289f6acf
Merge branch 'dygraph' into fix_doc 2021-04-09 18:12:00 +08:00
Jethong a0d1f9236d add different post process 2021-04-09 16:04:02 +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
zhoujun f5315349e7
Merge branch 'dygraph' into dygraph_rc 2021-03-30 16:27:03 +08:00
zhoujun d354020d2d
Merge branch 'dygraph' into fix_doc 2021-03-30 16:26:12 +08:00
Double_V 7171d78b31
Merge branch 'dygraph' into pgnet-v1 2021-03-30 16:21:41 +08:00
littletomatodonkey 9e7dc2b88e fix logger info for empty log 2021-03-24 06:32:38 +00:00
WenmuZhou 683cb55649 fix typo error 2021-03-22 12:54:17 +08:00
WenmuZhou ef620c2a20 remove unused func 2021-03-22 12:49:10 +08: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 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
WenmuZhou a0fd1a48a1 fix srn infer error when use custom max_text_length 2021-03-12 17:15:48 +08:00
Double_V e0908dd523
Merge branch 'dygraph' into fix_mem 2021-03-12 11:07:04 +08:00
LDOUBLEV 4c9d141c6f enable memory optim 2021-03-11 16:44:24 +08:00
WenmuZhou 1271db6d7c fix mem 2021-03-11 15:24:49 +08:00
Jethong 051fe64a0d fix config add e2e_ch.md e2e_res_img623_pg 2021-03-10 14:14:21 +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 08efbb9608
Merge branch 'dygraph' into dygraph 2021-03-02 17:01:49 +08:00
LDOUBLEV 85fd65c8f0 fix typo 2021-02-24 20:20:17 +08:00
tingquangao add9faa822 Fix the log about length of valid_dataloader 2021-02-24 07:42:20 +00:00
LDOUBLEV 87f0aeed70 fix gap between train_model predict and inference 2021-02-24 15:09:37 +08:00
littletomatodonkey 3ce97f18ec
fix predict rec (#2065)
* fix predict rec

* fix lopp
2021-02-22 15:12:32 +08:00
LDOUBLEV cf550d0524 set dilation as False 2021-02-18 19:00:30 +08:00
LDOUBLEV bbd7665c47 fix commit 2021-02-18 18:53:28 +08:00
LDOUBLEV 5fc33c1213 keep dilation as False 2021-02-18 18:45:53 +08:00
LDOUBLEV bbdbf598d4 keep dilation as False 2021-02-18 18:42:47 +08:00
LDOUBLEV 6ec9aa4def Merge branch 'dygraph' of https://github.com/PaddlePaddle/PaddleOCR into trt_cpp 2021-02-18 13:44:13 +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 4eb351866c predict_rec support rare 2021-02-08 14:05:48 +08:00
tink2123 b658e10b35 fix srn for eval 2021-02-08 05:42:30 +00:00
xiaoting 895d44bc39
Merge pull request #1971 from tink2123/fix_eval_for_srn
polish code for srn eval
2021-02-07 15:32:56 +08:00
tink2123 ff6b193a61 polish code for srn eval 2021-02-07 07:31:24 +00:00
WenmuZhou 3b1703e3eb add dataset len check 2021-02-04 12:01:56 +08:00
WenmuZhou b9d3e8eeec add dataset len check 2021-02-04 11:33:48 +08:00
LDOUBLEV df1c97af80 fix bug 2021-02-02 21:27:48 +08:00
LDOUBLEV adc83ca9ae opt deploy doc 2021-02-02 21:08:13 +08:00
littletomatodonkey 077fcabcbc fix doc 2021-02-01 14:03:32 +00:00
MissPenguin dd6f6f5cf3
Merge pull request #1869 from LDOUBLEV/rare
upload rare code
2021-02-01 16:55:33 +08:00
iamyoyo be94977426
program.py 257行 变量名问题
PaddleOCR/tools/program.py的第254行的变量名原为cur_metirc,需要修改为cur_metric,如果不修改在运行是,会提示
The variable name of line 254 can be changed to cur_ Metric. If you do not modify it, you will be prompted when it is running
"E:\XXX\PaddleOCR\tools\program.py", line 257, in train
['{}: {}'.format(k, v) for k, v in cur_metric.items()]))
NameError: name 'cur_metric' is not defined
2021-02-01 15:27:56 +08:00
iamyoyo a92bb6d310
Update program.py
PaddleOCR/tools/program.py的第254行的变量名原为cur_metirc,需要修改为cur_metric,如果不修改在运行是,会提示
The variable name of line 254 can be changed to cur_ Metric. If you do not modify it, you will be prompted when it is running
"E:\XXX\PaddleOCR\tools\program.py", line 257, in train
    ['{}: {}'.format(k, v) for k, v in cur_metric.items()]))
NameError: name 'cur_metric' is not defined
2021-02-01 15:09:14 +08:00
LDOUBLEV 56cbbdfb01 fix conflict 2021-02-01 03:19:56 +00:00