From a64c12385d27dafedf543e6321071f052746ea23 Mon Sep 17 00:00:00 2001 From: Bin Lu Date: Thu, 16 Dec 2021 14:21:01 +0800 Subject: [PATCH] Update classification_web_service.py --- deploy/paddleserving/classification_web_service.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy/paddleserving/classification_web_service.py b/deploy/paddleserving/classification_web_service.py index 307e48c0..75eb335a 100644 --- a/deploy/paddleserving/classification_web_service.py +++ b/deploy/paddleserving/classification_web_service.py @@ -49,7 +49,7 @@ class ImagenetOp(Op): input_imgs = np.concatenate(imgs, axis=0) return {"inputs": input_imgs}, False, None, "" - def postprocess(self, input_dicts, fetch_dict, log_id): + def postprocess(self, input_dicts, fetch_dict, data_id, log_id): score_list = fetch_dict["prediction"] result = {"label": [], "prob": []} for score in score_list: -- GitLab