diff --git a/deploy/paddleserving/classification_web_service.py b/deploy/paddleserving/classification_web_service.py index 307e48c09c20578f7443ab6a99ee38860459162c..75eb335a80f726e9e15fe116f2e2271c2ae445d3 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: