Commit Graph

222 Commits

Author SHA1 Message Date
zhoujun 3b1ecb1339
Update predict_system.py 2020-08-22 20:15:56 +08:00
WenmuZhou 684676f611 init commit for build whl 2020-08-22 19:42:14 +08:00
littletomatodonkey 3ebebae3e5 replace zero_copy_run to run for memory leak 2020-08-22 07:13:06 +00:00
MissPenguin 75cdc7dc9a
Merge pull request #519 from ZhangXinNan/zxdev
修改路径为绝对问题
2020-08-19 13:52:47 +08:00
licx 0c3b5d8e76 fix bug in predict_det for sast & update docs 2020-08-18 20:32:00 +08:00
licx cb7e481b4a fix bug in predict_det for sast & update docs 2020-08-18 16:05:12 +08:00
licx 6c11bce9e4 modify infer tools for sast 2020-08-17 20:31:28 +08:00
licx f96b873aa4 modify infer tools for sast 2020-08-17 20:29:28 +08:00
MissPenguin 2852335e59
Merge branch 'develop' into develop 2020-08-16 18:21:59 +08:00
tink2123 a3b291928b polish code 2020-08-16 16:46:22 +08:00
tink2123 d0d5de7f4d fix bug 2020-08-16 13:30:25 +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 da75ef8b9e fix conflict 2020-08-15 21:54: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
zhangxin ab8d8aeab8 修改所有文件路径为绝对路径,避免在同级目录下时出问题 2020-08-12 12:56:44 +08:00
LDOUBLEV e494595945 fix score is nan 2020-08-03 22:22:08 +08:00
LDOUBLEV 2bec473e89 fix typo and opt doc 2020-08-03 17:44:41 +08:00
LDOUBLEV aa6e29cf04 remove unused code 2020-07-28 16:42:15 +08:00
LDOUBLEV 60ec95469a read gif read func 2020-07-28 11:18:48 +08:00
littletomatodonkey 0aebfbc26f fix save img for pred_det 2020-07-26 11:23:47 +00:00
shaohua.zhang dcd2626e11
The if condition is not sufficient
when you trian the det model , there is not the var: loss_type in the Global, so  train_alg_type == 'rec' is necessary
2020-07-24 17:26:37 +08:00
shaohua.zhang 4d541eb364
repair a var 2020-07-23 14:07:21 +08:00
shaohua.zhang 94e8c3b66d
repair a var 2020-07-23 14:04:24 +08:00
shaohua.zhang af8740330b
fix the assignment of a var 2020-07-23 13:59:58 +08:00
shaohua.zhang cd56032479
Update program.py 2020-07-21 14:41:49 +08:00
shaohua.zhang 13bc04eb8f
Update export_model.py 2020-07-21 14:02:59 +08:00
shaohua.zhang 20d26b767c
rename a var and a function 2020-07-21 14:02:01 +08:00
shaohua.zhang eb208af146
rename a var and a function 2020-07-21 14:00:20 +08:00
shaohua.zhang 5f13f6e08a
rename a var 2020-07-21 13:59:02 +08:00
shaohua.zhang 91df2b6448
rename a function 2020-07-21 13:57:42 +08:00
shaohua.zhang 7c0042edf3
rename a function 2020-07-21 13:56:52 +08:00
shaohua.zhang 941a629dbe
remame a var 2020-07-21 13:55:28 +08:00
shaohua.zhang 19da8ba843
update the export_model.py 2020-07-21 09:03:21 +08:00
shaohua.zhang ea542b51b4
resolve the ValueError: too many values to unpack
resolve the  ValueError: too many values to unpack (expected 4)
2020-07-21 08:53:28 +08:00
shaohua.zhang d59077f4db
Update train.py 2020-07-20 17:38:44 +08:00
shaohua.zhang 0add8bdec6
remove the duplication codes 2020-07-20 17:37:55 +08:00
shaohua.zhang 49668934fd
remove the duplication codes
remove the  duplication codes
2020-07-20 17:35:48 +08:00
shaohua.zhang 4ce2826c71
Update export_model.py 2020-07-20 17:33:21 +08:00
shaohua.zhang 5be223ba52
remove the duplication code
remove the  duplication code
2020-07-20 17:32:25 +08:00
shaohua.zhang 481240549a
add common code to reduce code duplication
this funtion is mainly for the train ,evel,export_model
2020-07-20 17:24:07 +08:00
littletomatodonkey 3667498bad fix cv exception 2020-07-16 12:14:46 +00:00
MissPenguin a3170045b0
Update test_hubserving.py 2020-07-16 11:41:25 +08:00
dyning 01227c981b
Merge pull request #328 from LDOUBLEV/fixocr
fix bug det train
2020-07-14 16:35:20 +08:00
LDOUBLEV eed41762b7 fix bug det train 2020-07-14 14:52:12 +08:00
dyning 4e427410a0 add parameter enable_mkldnn 2020-07-14 14:39:00 +08:00
dyning 814dc2fa37 add parameter enable_mkldnn 2020-07-14 14:35:18 +08:00
dyning fbdf80dc13 add parameter enable_mkldnn 2020-07-14 14:13:13 +08:00
dyning 8e05ffed7e move out visulization from hubserving 2020-07-13 17:25:30 +08:00
tink2123 0a92617cb0 update readme for space and add thanks for user 2020-07-13 11:22:23 +08:00
xiaoting f2a2f5950d
Merge pull request #304 from lyl120117/dev_vis
dump model structure
2020-07-12 12:54:39 +08:00
dyning e68ea88ddc fix cpu memory problem for a short time 2020-07-12 11:59:11 +08:00
lyl120117 d89d3384a0 dump model structure 2020-07-11 12:14:05 +08:00
dyning be48652127
Merge pull request #296 from LDOUBLEV/cpu_opt
opt cpu speed and fix wrong link of weights
2020-07-09 21:33:53 +08:00
dyning f09d1f730b add hub serving 2020-07-09 20:34:42 +08:00
LDOUBLEV dcf46b0c86 opt cpu speed and fix wrong link of weights 2020-07-09 20:29:33 +08:00
xiaoting f8a3c3f920
Merge branch 'develop' into add_distort_space 2020-07-08 16:17:32 +08:00
tink2123 bfdb7b7781 change name for use_space_char 2020-07-07 14:29:45 +08:00
tink2123 db3d78d8ea revert dict and add space in character 2020-07-07 14:13:13 +08:00
LDOUBLEV f5e0e9d050 update 2020-07-07 02:51:50 +00:00
LDOUBLEV e222bc9e64 set evaluation interval 2020-07-07 02:35:17 +00:00
Double_V f2c4d6697e
Merge pull request #279 from LDOUBLEV/fixocr
fix Nan results and add test_reader func
2020-07-01 17:12:01 +08:00
LDOUBLEV 6f456775b0 fix bug 2020-07-01 13:30:03 +08:00
LDOUBLEV ed454d1423 print to logger.info 2020-07-01 13:09:44 +08:00
LDOUBLEV 3892a8ca02 fix Nan results and add test_reader func 2020-07-01 12:45:59 +08:00
tink2123 42a9a47ce5 close memory_optim for attention 2020-06-30 19:28:29 +08:00
tink2123 2cc1d00b04 revert modified for predict_rec 2020-06-30 14:47:24 +08:00
tink2123 25f16f2429 revert interpolate type 2020-06-30 11:18:49 +08:00
zhangxin 2eb6244c1f 修改英文注释 2020-06-27 23:29:29 +08:00
zhangxin f3172214d6 Merge remote-tracking branch 'upstream/develop' into zxdev 2020-06-26 16:44:39 +08:00
littletomatodonkey c25c636d23 fix ch comment to support py2 and some other typo 2020-06-25 18:41:22 +00:00
zhangxin 9e9a9a45da 识别infer时改回不同字符类型采用不同归一化 2020-06-24 19:50:10 +08:00
zhangxin 38192934ac 有几行没有用新的代码,旧代码注释了。 2020-06-24 19:42:46 +08:00
zhangxin 9136cba8cb Merge remote-tracking branch 'upstream/develop' into zxdev 2020-06-24 19:06:18 +08:00
dyning a21bd9b77a raise exception when concatenate error 2020-06-24 10:52:57 +08:00
dyning 6a6c97f92b raise exception when concatenate error 2020-06-24 10:46:40 +08:00
zhangxin 2814d997a4 Merge remote-tracking branch 'upstream/develop' into zxdev 2020-06-23 22:15:13 +08:00
zhangxin 9717944cde 识别文本框时,对文本框按宽高比进行排序。 2020-06-23 22:14:47 +08:00
MissPenguin db0aa24b5b
Merge pull request #237 from MissPenguin/develop
replace python lanms with c++ version, fix infer_det bug, fix test_im…
2020-06-23 16:55:24 +08:00
Double_V 4ca78a0748
Merge pull request #241 from ZhangXinNan/zxdev
优化predict_system.py代码
2020-06-23 15:59:04 +08:00
dyning b115cb4417 use enable_memory_optim for cpu and gpu, add paddlehelp QRcode 2020-06-23 15:02:13 +08:00
MissPenguin 160bb06e70
add config.enable_memory_optim() 2020-06-23 11:46:45 +08:00
zhangxin ef156b19e1 优化tools/infer/predict_system.py代码 2020-06-20 03:03:39 +08:00
xiaoting ed4313d611
Merge pull request #222 from tink2123/fix_cosine_decay
fix can not find tmp_4
2020-06-17 16:38:53 +08:00
tink2123 bce596cd54 fix can not find tmp_4 2020-06-17 16:11:29 +08:00
Double_V fea9454dee
Merge pull request #210 from ZhangXinNan/zxdev
增加一个可视化函数
2020-06-17 13:56:15 +08:00
zhangxin 5d63991136 不增加args.out_dir 2020-06-16 13:29:01 +08:00
zhangxin af6b5fef00 增加可视化效果图 2020-06-16 13:24:19 +08:00
zhangxin 22e8cf8c6b 修改显示方式,微调显示参数 2020-06-15 20:05:34 +08:00
zhangxin 3f402caea7 增加一个画图函数,可以更方便更直观的看检测和识别结果,对横排、竖排文本都可以显示 2020-06-15 18:40:01 +08:00
LDOUBLEV 1636c8c156 discard export PYTHONPATH manually 2020-06-15 10:00:36 +08:00
LDOUBLEV cc6c606f14 discard export PYTHONPATH manually 2020-06-12 13:49:24 +08:00
zhangxin ed9065c72b 在程序中使用os.path.append添加环境变量,不再使用命令设置 2020-06-11 09:45:01 +08:00
LDOUBLEV c6a0e8d79d fix rec doc typo 2020-06-08 12:43:34 +00:00
tink2123 9393a1b311 polish error message 2020-06-05 11:29:02 +08:00
tink2123 b55b8eda22 add windows doc 2020-06-04 19:41:42 +08:00