未验证 提交 dc20feb1 编写于 作者: D Double_V 提交者: GitHub

Merge pull request #40 from LDOUBLEV/fixocr

solve predicts diff between cpu and gpu running
...@@ -91,6 +91,7 @@ def create_predictor(args, mode): ...@@ -91,6 +91,7 @@ def create_predictor(args, mode):
config.disable_glog_info() config.disable_glog_info()
# use zero copy # use zero copy
config.delete_pass("conv_transpose_eltwiseadd_bn_fuse_pass")
config.switch_use_feed_fetch_ops(False) config.switch_use_feed_fetch_ops(False)
predictor = create_paddle_predictor(config) predictor = create_paddle_predictor(config)
input_names = predictor.get_input_names() input_names = predictor.get_input_names()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册