Commit Graph

181 Commits

Author SHA1 Message Date
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
tink2123 552d427422 fix eval_rec 2020-05-25 13:25:16 +08:00
LDOUBLEV fdad3d4d88 single_img_path to infer_img as rec model, fix eval Hmean=0 2020-05-20 20:12:53 +08:00
LDOUBLEV 60f8c36c86 fix eval_det_utils 2020-05-20 17:46:48 +08:00
LDOUBLEV 2bd6323642 modify batch num in rec and fix sorted_box func 2020-05-20 16:19:49 +08:00
LDOUBLEV 0758f91361 modify batch num in rec and fix sorted_box func 2020-05-20 16:05:46 +08:00
tink2123 6de43fbb47 update check_gpu 2020-05-19 17:30:22 +08:00
tink2123 e884da9ebe fix use_gpu=False 2020-05-19 12:01:10 +08:00
tink2123 f806d8d872 format code 2020-05-19 11:32:40 +08:00
tink2123 d9757c7ec2 fix program 2020-05-19 11:29:52 +08:00
tink2123 3ffb3879c6 save weights at epoch_0 2020-05-19 11:15:51 +08:00
LDOUBLEV 7da14fddfe fix bug when running det eval 2020-05-18 18:38:31 +08:00
LDOUBLEV bfcc9381e9 fix inference md 2020-05-18 12:09:22 +08:00
dyning 25a5ca6cca
Update utility.py 2020-05-15 22:46:06 +08:00
dyning f5fb36e88c
Update program.py 2020-05-15 22:25:37 +08:00
dyning d661c3d8c3
Update predict_det.py 2020-05-15 22:18:09 +08:00
dyning c7ef62df04 updata doc of infer 2020-05-15 22:07:18 +08:00
LDOUBLEV 7259370cbd solve predicts diff between cpu and gpu running 2020-05-15 17:32:32 +08:00
LDOUBLEV 1e9683b426 add visualized code for det results 2020-05-15 17:06:43 +08:00
LDOUBLEV 72ebbf2de1 sorted outputs when export model 2020-05-15 16:51:45 +08:00
LDOUBLEV d539508e76 valid det inference 2020-05-15 14:22:57 +08:00
dyning 3b931056c4
Update predict_system.py 2020-05-14 14:43:20 +08:00
Double_V 2a6f5046c1
Merge pull request #20 from LDOUBLEV/fixocr
RGB 2 BGR
2020-05-14 14:40:33 +08:00