Skip to content

PaddleServing 在请求时返回的报错信息为‘RecOp' object has no attribute sorted boxes  #1943

Closed
@Myzr1

Description

pipeline_http_client.py
运行时返回:

peline/error_catch.py , ine 97,in wrapperres = func(*args,**kw)File "/home/xieming/anaconda3/envs/paddle_env/lib/python3.8/site-packages/paddle_serving_server/poeline/operator.py , line 866,in preprocess helppreped_data,is_skip_process,prod_errcode,prod_errinfo = self.preprocess(File "deploy/pdserving/web_service.py ,line 83,in preprocessself.dt_list = self.sorted boxes(self.dt_list)AttributeError: RecOp' object has no attribute sorted_boxes Classname: Op._run_preprocess..preprocess_helpunctionName: preprocess_helpERROR 2023-05-09 07:49:19,551 [dagpy:418] (data_id-20 lgid=0) Failed to predict: Log-id: 0 RaisRecOp object has no attribute sorted_boxes ClassName: p._run_preprocess..preprocesssg:helpFunctionName: preprocess_helpINF 2023-05-09 07:49:19,563 [pipeline-server.py:62] (log-id=0) inference request name:ocr self.namocrt ime:1683618559.5639737INFO2023-05-09 07:49:19,564[operator.py:1788] RequestOp unpack one request. log_id:0,clientip:name:ocr,method:prediction,time:1683618559.564209INFO 2023-05-09 07:49:19,564 [dag.py:378] (data_id=21 10g_id=0) Succ Generate IDINFO 2023-05-09 07:49:19,740 [operator.py:1454] prometheus inf count +1ERROR 2023-05-09 07:49:19,754 [error_catch.py:125]og_id:0Traceback (most recent call last):File "/home/xieming/anaconda3/envs/paddle_env/lib/python3.8/site-packages/paddle_serving_server/ppeline/error_catch.py",ine 97,in wrapperres = func(*args,**kw)File "/home/xieming/anaconda3/envs/paddle_env/lib/python3.8/site-packages/paddle_serving_server/ppeline/operator.py", line 866,in preprocess_helppreped_data,is_skip_process,prod_errcode, prod_errinfo = self.preprocess(File deploy/pdserving/web_service.py ,line 83,in preprocessself.dt_list = self.sorted boxes(self.dt_list)AttributeError:RecOp' object has no attribute 'sorted_boxes'Classname: Op.run_preprocess..preprocess _helpFunctionName: preprocess_helpERROR 2023-05-09 07:49:19,757 [dag.py:418] (data_id=21 l0g-id=0) Failed to predict: Log-id: 0 Raisimsg: Rec0p object has no attribute sorted boxes ClassName: 0p.-run_preprocess.

这个是为什么呢

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions