未验证 提交 f20839bf 编写于 作者: B Bin Long 提交者: GitHub

Update seg_predictor.cpp

上级 7465623a
......@@ -43,6 +43,8 @@ namespace PaddleSolution {
auto param_file = utils::path_join(model_dir, params_filename);
config.SetModel(prog_file, param_file);
config.SwitchUseFeedFetchOps(false);
config.SwitchSpecifyInputNames(true);
config.EnableMemoryOptim();
_main_predictor = paddle::CreatePaddlePredictor(config);
}
else {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册