Commit Graph

276 Commits

Author SHA1 Message Date
Timo 4bde18a1b7
Fix the incompatibility of gif saving
When cv2.imwirte() saves ".gif", it will cause _error: (-2:Unspecified error) could not find a writer for the specified extension in function 'cv::imwrite_'_. We add an if statement to check whether the saving file format is ".gif" so as to avoid the error.
2021-03-26 20:10:07 +01:00
caopu f56abaff7c Update eval.py
修改拼写错误
2021-03-18 14:07:13 +08:00
LDOUBLEV 1cfe43c9a6 enable memory optim 2021-03-11 16:42:06 +08:00
LDOUBLEV cf2bd52989 fix issue #2080 2021-02-24 20:38:07 +08:00
xiaoting c3d700fa41
fix test_hubserving (#2071) 2021-02-22 17:23:55 +08:00
LDOUBLEV 21ad9026d3 fix typo 2021-02-19 19:54:23 +08:00
Double_V 9deee44a7a
Merge branch 'release/2.0' into doc_cp 2021-02-18 19:27:25 +08:00
Double_V f23aa77757 Merge pull request #1920 from LDOUBLEV/trt_cpp
优化部署、安装相关文档
2021-02-18 19:25:06 +08:00
LDOUBLEV 5e555a8047 cherry-pick fix doc and fix dilation 2021-02-18 19:21:32 +08:00
zhoujun 364a777763
Merge pull request #1984 from WenmuZhou/update_reqire
[cherry-pick] predict_rec support rare and fix rare export error
2021-02-08 14:23:52 +08:00
WenmuZhou 4dfc583850 predict_rec support rare 2021-02-08 14:02:48 +08:00
tink2123 807cd824a5 fix srn for eval 2021-02-08 05:41:23 +00:00
xiaoting a3afc162fa
Merge pull request #1972 from tink2123/fix_eval_for_srn_2.0
polish code for srn eval
2021-02-07 15:34:51 +08:00
tink2123 ad15a64569 polish code for srn eval 2021-02-07 07:33:30 +00:00
WenmuZhou 8e9d851563 add dataset len check 2021-02-05 12:35:08 +08:00
littletomatodonkey 0c75cbc55b fix doc 2021-02-01 14:05:59 +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
LDOUBLEV f896032255 pre-commit 2021-02-01 03:12:38 +00:00
xiaoting 2a0c3d4dac
fix eval mode without srn (#1889)
* fix base model

* fix start time
2021-01-31 22:37:30 +08:00
xiaoting 6ebbbfe46c
Merge branch 'dygraph' into dygraph_for_srn 2021-01-29 11:37:19 +08:00
zhoujun b0d1dca688
fix starnet export (#1850)
* fix starnet export

* fix bug

* add note
2021-01-28 18:16:54 +08:00
Channingss cacf8f8a6c export_model support dynamic input shape 2021-01-26 11:44:52 +00: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 8f52a73718 polish code 2021-01-26 15:24:13 +08:00
LDOUBLEV 09fd94e781 fix typo 2021-01-26 15:16:02 +08:00
xiaoting f214437538
Merge branch 'dygraph' into dygraph_for_srn 2021-01-26 13:29:13 +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
tink2123 93670ab5a2 all ready 2021-01-19 06:48:52 +00:00
zhoujun 499ae66003 update utility 2021-01-01 21:53:15 +08:00
zhoujun c03b0b0604
Update utility.py 2020-12-31 16:31:21 +08: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
LDOUBLEV 2a04e1a12a add export to limit GPU-memory-usage 2020-12-22 15:57:21 +08:00
WenmuZhou 3a0090dc00 delete fluid 2020-12-21 17:13:32 +08:00
WenmuZhou 59af7359be inference adaptation 2.0 2020-12-21 17:10:00 +08:00
WenmuZhou ae12459015 Save configuration files and logs only during training 2020-12-18 18:51:19 +08:00
WenmuZhou 7f76986c28 Remove duplicate definitions 2020-12-18 18:29:13 +08:00
zhoujun 0492ba4f86
Merge pull request #1503 from LDOUBLEV/dyg_db
add tensorrt args
2020-12-18 15:39:48 +08:00
LDOUBLEV 9039cca26d add tensorrt args 2020-12-18 15:27:44 +08:00
MissPenguin 263a9fc5d4
Merge pull request #1498 from MissPenguin/dygraph
fix sast inference bug
2020-12-18 14:12:11 +08:00
MissPenguin d489d3c27d fix sast inference bug 2020-12-18 03:40:22 +00:00
LDOUBLEV a6fd8f8066 adjust cls_batch_num to 6 for speed-up 2020-12-18 11:11:02 +08:00
LDOUBLEV 65b4cc0cf3 adjust rec_batch_num as 1 2020-12-17 20:58:23 +08:00
WenmuZhou 41c2af4924 update predict_det 2020-12-16 00:03:50 +08:00
WenmuZhou d3b609ee09 change DBHead output to dict 2020-12-15 23:49:50 +08:00