Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
wangsen
paddle_dbnet
Commits
5df41e83
Unverified
Commit
5df41e83
authored
Jan 04, 2021
by
MissPenguin
Committed by
GitHub
Jan 04, 2021
Browse files
Merge pull request #1639 from WenmuZhou/dygraph_rc
add tensorrt to hubserving
parents
67ef25d5
c465f404
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
5 deletions
+5
-5
deploy/hubserving/ocr_cls/params.py
deploy/hubserving/ocr_cls/params.py
+1
-1
deploy/hubserving/ocr_det/params.py
deploy/hubserving/ocr_det/params.py
+1
-1
deploy/hubserving/ocr_rec/params.py
deploy/hubserving/ocr_rec/params.py
+2
-2
deploy/hubserving/ocr_system/params.py
deploy/hubserving/ocr_system/params.py
+1
-1
No files found.
deploy/hubserving/ocr_cls/params.py
View file @
5df41e83
...
@@ -18,7 +18,7 @@ def read_params():
...
@@ -18,7 +18,7 @@ def read_params():
cfg
.
cls_batch_num
=
30
cfg
.
cls_batch_num
=
30
cfg
.
cls_thresh
=
0.9
cfg
.
cls_thresh
=
0.9
cfg
.
use_zero_copy_run
=
False
cfg
.
use_pdserving
=
False
cfg
.
use_pdserving
=
False
cfg
.
use_tensorrt
=
False
return
cfg
return
cfg
deploy/hubserving/ocr_det/params.py
View file @
5df41e83
...
@@ -27,7 +27,7 @@ def read_params():
...
@@ -27,7 +27,7 @@ def read_params():
# cfg.det_east_cover_thresh = 0.1
# cfg.det_east_cover_thresh = 0.1
# cfg.det_east_nms_thresh = 0.2
# cfg.det_east_nms_thresh = 0.2
cfg
.
use_zero_copy_run
=
False
cfg
.
use_pdserving
=
False
cfg
.
use_pdserving
=
False
cfg
.
use_tensorrt
=
False
return
cfg
return
cfg
deploy/hubserving/ocr_rec/params.py
View file @
5df41e83
...
@@ -13,7 +13,7 @@ def read_params():
...
@@ -13,7 +13,7 @@ def read_params():
#params for text recognizer
#params for text recognizer
cfg
.
rec_algorithm
=
"CRNN"
cfg
.
rec_algorithm
=
"CRNN"
cfg
.
rec_model_dir
=
"./inference/ch_ppocr_mobile_v
1.1
_rec_infer/"
cfg
.
rec_model_dir
=
"./inference/ch_ppocr_mobile_v
2.0
_rec_infer/"
cfg
.
rec_image_shape
=
"3, 32, 320"
cfg
.
rec_image_shape
=
"3, 32, 320"
cfg
.
rec_char_type
=
'ch'
cfg
.
rec_char_type
=
'ch'
...
@@ -23,7 +23,7 @@ def read_params():
...
@@ -23,7 +23,7 @@ def read_params():
cfg
.
rec_char_dict_path
=
"./ppocr/utils/ppocr_keys_v1.txt"
cfg
.
rec_char_dict_path
=
"./ppocr/utils/ppocr_keys_v1.txt"
cfg
.
use_space_char
=
True
cfg
.
use_space_char
=
True
cfg
.
use_zero_copy_run
=
False
cfg
.
use_pdserving
=
False
cfg
.
use_pdserving
=
False
cfg
.
use_tensorrt
=
False
return
cfg
return
cfg
deploy/hubserving/ocr_system/params.py
View file @
5df41e83
...
@@ -47,8 +47,8 @@ def read_params():
...
@@ -47,8 +47,8 @@ def read_params():
cfg
.
cls_batch_num
=
30
cfg
.
cls_batch_num
=
30
cfg
.
cls_thresh
=
0.9
cfg
.
cls_thresh
=
0.9
cfg
.
use_zero_copy_run
=
False
cfg
.
use_pdserving
=
False
cfg
.
use_pdserving
=
False
cfg
.
use_tensorrt
=
False
cfg
.
drop_score
=
0.5
cfg
.
drop_score
=
0.5
return
cfg
return
cfg
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment