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
e0908dd5
"src/lib/vscode:/vscode.git/clone" did not exist on "8bdbd2f9fb8aca3d30079a19fecd2a6ff9a74f53"
Unverified
Commit
e0908dd5
authored
Mar 12, 2021
by
Double_V
Committed by
GitHub
Mar 12, 2021
Browse files
Merge branch 'dygraph' into fix_mem
parents
6783c2a4
5eafd467
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
tools/infer/utility.py
tools/infer/utility.py
+2
-1
No files found.
tools/infer/utility.py
View file @
e0908dd5
...
...
@@ -128,7 +128,8 @@ def create_predictor(args, mode, logger):
#config.set_mkldnn_op({'conv2d', 'depthwise_conv2d', 'pool2d', 'batch_norm'})
args
.
rec_batch_num
=
1
# config.enable_memory_optim()
# enable memory optim
config
.
enable_memory_optim
()
config
.
disable_glog_info
()
config
.
delete_pass
(
"conv_transpose_eltwiseadd_bn_fuse_pass"
)
...
...
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