Skip to content

Commit

Permalink
glog does not need to be enabled explictly
Browse files Browse the repository at this point in the history
  • Loading branch information
will-jl944 committed Sep 13, 2021
1 parent 48cfb19 commit a6f7563
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 a6f7563

Please sign in to comment.