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
dc20feb1
Unverified
Commit
dc20feb1
authored
May 15, 2020
by
Double_V
Committed by
GitHub
May 15, 2020
Browse files
Merge pull request #40 from LDOUBLEV/fixocr
solve predicts diff between cpu and gpu running
parents
e807901b
7259370c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
tools/infer/utility.py
tools/infer/utility.py
+1
-0
No files found.
tools/infer/utility.py
View file @
dc20feb1
...
...
@@ -91,6 +91,7 @@ def create_predictor(args, mode):
config
.
disable_glog_info
()
# use zero copy
config
.
delete_pass
(
"conv_transpose_eltwiseadd_bn_fuse_pass"
)
config
.
switch_use_feed_fetch_ops
(
False
)
predictor
=
create_paddle_predictor
(
config
)
input_names
=
predictor
.
get_input_names
()
...
...
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