Commit Graph

203 Commits

Author SHA1 Message Date
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
tink2123 9023a5c57a update infer doc and fix yml 2020-06-03 17:38:44 +08:00
tink2123 be3a164424 fix inference in tps 2020-06-03 15:49:18 +08:00
tink2123 b722eb56c8 fix infer_rec for attention 2020-06-03 13:44:07 +08:00
tink2123 24757ba6bc modified infer single 2020-06-02 19:03:27 +08:00
dyning ade18e13be add score in rec_infer 2020-06-02 15:53:02 +08:00
LDOUBLEV 9058e002d8 fix multi-line txt display 2020-05-29 15:23:09 +08:00
LDOUBLEV e0b641cc57 fix visual bug 2020-05-28 20:06:26 +08:00
LDOUBLEV 00e9e07976 fix bug in results visualization 2020-05-28 15:46:05 +08:00
LDOUBLEV b090627a11 opt visualized func and add docker usage in cpu 2020-05-27 15:03:12 +08:00
LDOUBLEV 59d0a00e1d opt visualized func and add docker usage in cpu 2020-05-27 14:58:22 +08:00
LDOUBLEV 4af1810909 opt visualized func and add docker usage in cpu 2020-05-27 14:55:58 +08:00
LDOUBLEV fcfdd0a39e set mode of DB head as 'export' when export model 2020-05-26 21:02:27 +08:00
LDOUBLEV 93bd46e9e2 delete support multi-line txt display 2020-05-25 20:54:26 +08:00
LDOUBLEV eec9155ee8 adjust txt word in line 2020-05-25 20:31:40 +08:00
LDOUBLEV afecc4973a Merge branch 'develop' of https://github.com/PaddlePaddle/PaddleOCR into fixocr 2020-05-25 20:28:36 +08:00
LDOUBLEV 75d2c47d8a support multi-line text display 2020-05-25 20:28:25 +08:00
Double_V 6081c67b96
Merge pull request #95 from LDOUBLEV/fixocr
fix predict_det not found unclip_ratio
2020-05-25 18:16:43 +08:00
LDOUBLEV 8a6f106237 fix predict_det not found unclip_ratio 2020-05-25 18:14:13 +08:00
Double_V e8a1696327
Merge pull request #91 from tink2123/fix_eval
fix eval_rec
2020-05-25 13:28:37 +08:00