提交 8587b40c 编写于 作者: L LDOUBLEV

fix predict_e2e.py

上级 49382181
...@@ -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.
先完成此消息的编辑!
想要评论请 注册