提交 9f621279 编写于 作者: G gaotingquan 提交者: Tingquan Gao

fix infer output

上级 73f4d8e4
......@@ -522,7 +522,9 @@ class Engine(object):
if isinstance(out, dict) and "output" in out:
out = out["output"]
results.extend(self.postprocess_func(out, image_file_list))
result = self.postprocess_func(out, image_file_list)
logger.info(result)
results.extend(result)
batch_data.clear()
image_file_list.clear()
return results
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册