From 84b9a36ff773ad7a7109a43ed9cfb147eb543997 Mon Sep 17 00:00:00 2001 From: TeslaZhao Date: Wed, 24 Nov 2021 20:29:37 +0800 Subject: [PATCH] Update FAQ_CN.md --- doc/FAQ_CN.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/FAQ_CN.md b/doc/FAQ_CN.md index 0c509b6a..7713f0ee 100644 --- a/doc/FAQ_CN.md +++ b/doc/FAQ_CN.md @@ -6,7 +6,7 @@ ``` Failed to predict: (data_id=1 log_id=0) [det|0] Failed to postprocess: postprocess() takes 4 positional arguments but 5 were given ``` -**A:** 在服务端程序(例如 web_service.py)中postprocess函数中增加参数data_id,改为 def postprocess(self, input_dicts, fetch_dict, **data_id**, log_id) 即可。 +**A:** 在服务端程序(例如 web_service.py)的postprocess函数定义中增加参数data_id,改为 def postprocess(self, input_dicts, fetch_dict, **data_id**, log_id) 即可。 ## 基础知识 -- GitLab