Unverified Commit dc20feb1 authored by Double_V's avatar Double_V Committed by GitHub
Browse files

Merge pull request #40 from LDOUBLEV/fixocr

solve predicts diff between cpu and gpu running
parents e807901b 7259370c
......@@ -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()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment