Skip to content

Commit

Permalink
Merge pull request PaddlePaddle#1135 from will-jl944/2.0_bug_fix
Browse files Browse the repository at this point in the history
[cherry-pick]glog does not need to be enabled explictly
  • Loading branch information
will-jl944 authored Sep 13, 2021
2 parents 48cfb19 + a6f7563 commit 7ded06a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions paddlex/deploy.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,9 +116,7 @@ def create_predictor(self,
)
pass

if use_glog:
config.enable_glog_info()
else:
if not use_glog:
config.disable_glog_info()
if memory_optimize:
config.enable_memory_optim()
Expand Down

0 comments on commit 7ded06a

Please sign in to comment.