Commit Graph

429 Commits

Author SHA1 Message Date
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
tink2123 dd0f8c1d89 update for multi-language 2020-12-08 19:07:39 +08:00
xiaoting 8a5566c974
add multi lang yml and dict (#1312)
* add multi lang yml and dict

* update yml
2020-12-08 13:32:17 +08:00
zhoujun 9b2c0e4838
Merge pull request #1235 from WenmuZhou/dygraph_rc
修复ips计算过少的问题
2020-11-30 22:48:28 -06:00
WenmuZhou 5983e1af14 Remove redundant functions 2020-11-27 15:30:31 +08:00
littletomatodonkey c4fcd14354
refine dynamic sampling (#1256) 2020-11-26 21:32:33 +08:00
WenmuZhou 606a387354 删掉多余的判断 2020-11-24 16:01:00 +08:00
littletomatodonkey 169b629b0f
fix error (#1177) 2020-11-21 23:02:18 +08:00
zhoujun bc563c642c
添加方向分类器 (#1184)
add cls module
2020-11-21 22:10:45 +08:00
zhoujun fc7b5d225b
Merge pull request #1181 from WenmuZhou/dygraph_rc
日志符合benckmark规范
2020-11-16 22:54:44 -06:00
WenmuZhou 931d138bb3 更新日志格式 2020-11-16 19:11:42 +08:00
Double_V 10b54d6696
Merge pull request #1168 from WenmuZhou/dygraph_rc
delete fluid
2020-11-15 15:01:22 +08:00
WenmuZhou d4facfe4e5 delete fluid 2020-11-13 17:01:41 +08:00
Double_V a40731aaac
Merge pull request #1164 from littletomatodonkey/2.0rc/add_rec_mobile
add ch lite yaml file
2020-11-13 11:36:19 +08:00
littletomatodonkey a0e72cf317 add try-catch to catch beautiful bugs 2020-11-12 15:55:52 +00:00
littletomatodonkey 1dc7e8942f fix some cute typos 2020-11-12 12:47:28 +00:00
WenmuZhou d1affce65a delete fluid 2020-11-12 17:14:33 +08:00
WenmuZhou 367c49dffd 删除 db torch后处理 2020-11-10 18:16:07 +08:00
WenmuZhou 33d9688014 更新NumpyArrayInitializer为Assign 2020-11-10 17:25:44 +08:00
WenmuZhou 65d3dfc729 rnn支持导出 2020-11-10 17:18:50 +08:00
WenmuZhou 2f9f258ff4 添加tps网络 2020-11-10 17:18:32 +08:00
WenmuZhou b2004fe586 添加resnet backbone 2020-11-09 18:29:33 +08:00
WenmuZhou 4d775dc98f rc版本适配 2020-11-09 18:20:03 +08:00
WenmuZhou 44840726ff 后处理添加类型判断 2020-11-09 18:19:42 +08:00
WenmuZhou 49958dca61 适配rc版本 2020-11-09 13:27:31 +08:00
WenmuZhou cafb2df8a6 change log name to root 2020-11-06 19:11:42 +08:00
WenmuZhou 60f8f1e181 del unuse import 2020-11-06 19:09:52 +08:00
WenmuZhou 592bd60fe2 switch learning_rate and lr 2020-11-06 18:22:31 +08:00
WenmuZhou d9e921c743 change align_mode to 1 2020-11-06 18:15:44 +08:00
WenmuZhou 8f81956fc4 rename metric 2020-11-06 15:43:04 +08:00
WenmuZhou 695c4db7ea switch learning_rate and lr 2020-11-05 20:49:44 +08:00
WenmuZhou 41b33c9e9c change KaimingNormal to KaimingUniform 2020-11-05 20:45:19 +08:00
dyning 1ae379198e trans to paddle-rc 2020-11-05 15:13:36 +08:00
dyning fa675f8954 updata structure of dygraph 2020-11-04 20:43:27 +08:00
WenmuZhou bbe375352e 删除check_static函数 2020-10-27 11:23:26 +08:00
WenmuZhou 122c82e93f 测试模式时将输出softmax后返回 2020-10-23 12:07:44 +08:00
WenmuZhou 08b3f98c4f 去掉注释 2020-10-22 18:22:56 +08:00
WenmuZhou 0968363a89 修复一处注释错误 2020-10-20 17:39:07 +08:00
WenmuZhou a88ce7a5b6 修正对label decode时重复字符会消失的bug 2020-10-20 16:08:03 +08:00
WenmuZhou ca9ea622a9 添加im2seq实现 2020-10-20 16:07:19 +08:00
WenmuZhou bdad0cefe6 检测和识别的resnet使用paddleclass里的 2020-10-16 20:19:17 +08:00
WenmuZhou 8f1b9c8b0d 对齐静态图时使用random数据 2020-10-16 20:18:45 +08:00
WenmuZhou 2463355632 hidden_size添加默认参数 2020-10-16 16:39:37 +08:00
WenmuZhou aad3093a91 dygraph first commit 2020-10-13 17:13:33 +08:00
xiaoting 31e62cb8ba
Merge pull request #626 from tink2123/format_code
format code
2020-08-31 10:04:34 +08:00
tink2123 b626aa3e41 formate code 2020-08-28 11:10:57 +08:00
tink2123 91f6f24385 formate code 2020-08-27 20:57:53 +08:00
xiaoting e3fd6db0bf
Merge branch 'develop' into adaptation_ch 2020-08-26 20:24:42 +08:00
tink2123 5edb619cdd rename rec_resnet_fpn 2020-08-26 20:14:13 +08:00
tink2123 1b19050391 Adaptation of Chinese and r34/18 2020-08-25 15:04:49 +08:00
littletomatodonkey 047fcb527a add warmup 2020-08-21 08:49:11 +00:00
MissPenguin 75cdc7dc9a
Merge pull request #519 from ZhangXinNan/zxdev
修改路径为绝对问题
2020-08-19 13:52:47 +08:00
Neo b2e1a84981
Update dataset_traversal.py
CUDA_VISIBLE_DEVICES 默认值必须为str, 否则split会报错
2020-08-18 15:07:25 +08:00
MissPenguin aecbbe1cbf
Merge pull request #552 from MissPenguin/develop
modify infer tools for sast
2020-08-18 10:04:33 +08:00
licx f96b873aa4 modify infer tools for sast 2020-08-17 20:29:28 +08:00
tink2123 9c59ae1cd5 fix bug 2020-08-17 01:43:59 +08:00
licx 78d89d3496 modify docs for updates 2020-08-16 19:44:07 +08:00
MissPenguin 2852335e59
Merge branch 'develop' into develop 2020-08-16 18:21:59 +08:00
MissPenguin 612e801470
Merge pull request #537 from tink2123/add_srn
Add SRN
2020-08-16 18:08:32 +08:00
tink2123 9c89310292 polish code 2020-08-16 17:19:00 +08:00
tink2123 ab0acf78b4 polish code 2020-08-16 17:09:17 +08:00
tink2123 fe8ce9afdf polish code 2020-08-16 16:51:24 +08:00
tink2123 a3b291928b polish code 2020-08-16 16:46:22 +08:00
tink2123 d179c7c446 fix bug 2020-08-16 12:58:05 +08:00
tink2123 9cb3072033 fix bug and update doc 2020-08-16 12:53:26 +08:00
MissPenguin fee2c17bf7
Merge branch 'develop' into develop 2020-08-16 10:21:59 +08:00
licx 224667b895 add sast code 2020-08-15 17:26:00 +08:00
tink2123 bf4863c950 update infer_rec for srn 2020-08-15 15:45:55 +08:00
tink2123 6832ca029f update config 2020-08-15 12:39:07 +08:00
tink2123 09d8cb6d98 update for srn 2020-08-14 16:31:13 +08:00
littletomatodonkey 92841044bf fix error 2020-08-12 13:21:31 +00:00
littletomatodonkey 2918feb90e add stride config of backbone and fix load ckp 2020-08-12 07:08:07 +00:00
zhangxin 70c1145a31 修改一处路径问题 2020-08-12 13:00:44 +08:00
zhangxin ab8d8aeab8 修改所有文件路径为绝对路径,避免在同级目录下时出问题 2020-08-12 12:56:44 +08:00
dyning 57e0565a5b
Merge pull request #481 from tink2123/add_error_message
add error message
2020-08-06 16:50:00 +08:00
tink2123 f498a63f10 update error message 2020-08-05 16:42:21 +08:00
dyning 1866fdabe8
Merge pull request #472 from BeyondYourself/BeyondYourself-patch-2
add a file path separator
2020-08-04 22:18:46 +08:00
littletomatodonkey 7ea23776c4
Merge pull request #479 from littletomatodonkey/add_piecewise
add piecewise decay
2020-08-04 16:36:40 +08:00
tink2123 15fd0b31db add error message 2020-08-04 07:05:32 +00:00
shaohua.zhang c538c4cba9
Merge pull request #10 from PaddlePaddle/develop
update-08-04
2020-08-04 14:01:48 +08:00
littletomatodonkey 5e5ea853bf add piecewise decay 2020-08-04 03:43:26 +00:00
shaohua.zhang a4abf1322c
Update save_load.py 2020-08-03 21:54:09 +08:00
shaohua.zhang c12e9ec564
Update east_process.py 2020-08-03 21:47:25 +08:00
shaohua.zhang 08055099a8
add a file separator
add a  file separator, it mainly  to avoid  missing the file path separator in yml
2020-08-03 21:01:53 +08:00
shaohua.zhang e0f3bcb494
add a necessary check for checkpoints
add a necessary check for checkpoints, if you miss the file prefix and it will not execute the checkpoints codes
2020-08-03 14:07:20 +08:00
shaohua.zhang 1a0848a464
Merge branch 'develop' into develop 2020-07-30 22:33:17 +08:00
shaohua.zhang fce0a57dec
move the shuffer into def sample_iter_reader 2020-07-30 22:29:19 +08:00
littletomatodonkey 14fdead9ab fix windows ms 2020-07-30 02:00:25 +00:00
shaohua.zhang 701adba2d6
Merge pull request #7 from PaddlePaddle/develop
update-2020-7-29
2020-07-29 16:13:02 +08:00
LDOUBLEV 8b499c3769 move import to the front 2020-07-28 13:58:14 +08:00
LDOUBLEV b5a1fe643f if gif is None, return 2020-07-28 11:29:55 +08:00
LDOUBLEV 60ec95469a read gif read func 2020-07-28 11:18:48 +08:00
littletomatodonkey 23658296ec fix image list postfix 2020-07-27 11:37:55 +00:00
shaohua.zhang 036e11364b
Update save_load.py 2020-07-27 17:17:45 +08:00
shaohua.zhang 80f0a35580
Update utility.py 2020-07-27 17:13:10 +08:00
shaohua.zhang c4ca35a251
Update utility.py 2020-07-27 17:11:33 +08:00
shaohua.zhang d7d355783b
Update utility.py 2020-07-27 17:06:33 +08:00
shaohua.zhang 82a48a7216
update import and fix some codes
remove the  useless parameters  and  update import
2020-07-27 16:11:14 +08:00
shaohua.zhang b5f1f89abf
put the shuffer into iter 2020-07-26 10:24:57 +08:00
shaohua.zhang dd32d0f636
Update dataset_traversal.py 2020-07-25 11:54:03 +08:00
shaohua.zhang 65042ff602
Common modules are executed repeatedly
the function sample_iter_reader  is executed repatedly,so the common modules do not need to be executed repeatedly
2020-07-25 11:49:52 +08:00
LDOUBLEV 8a11d97da8 typo 2020-07-23 11:12:35 +08:00