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

Merge pull request #3751 from LDOUBLEV/fix_pgnet

fix predict_e2e.py
...@@ -74,7 +74,7 @@ class TextE2E(object): ...@@ -74,7 +74,7 @@ class TextE2E(object):
self.preprocess_op = create_operators(pre_process_list) self.preprocess_op = create_operators(pre_process_list)
self.postprocess_op = build_post_process(postprocess_params) self.postprocess_op = build_post_process(postprocess_params)
self.predictor, self.input_tensor, self.output_tensors = utility.create_predictor( self.predictor, self.input_tensor, self.output_tensors, _ = utility.create_predictor(
args, 'e2e', logger) # paddle.jit.load(args.det_model_dir) args, 'e2e', logger) # paddle.jit.load(args.det_model_dir)
# self.predictor.eval() # self.predictor.eval()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册