-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Open
Description
Checklist:
- 查找历史相关issue寻求解答
- 翻阅FAQ
- 翻阅PaddleX 文档
- 确认bug是否在新版本里还未修复
描述问题
复现
- 服务化部署
paddlex_hps_table_recognition_v2_sdk 服务端启动正常,当通过命令:python client.py --file /develop/huizhi/73746cc5-3765-48a7-9e0c-f4f7b41492dd.png --file-type 1 --no-visualization
进行服务调用时,服务端报错如下:

- 请提供您出现的报错信息及相关log
Traceback (most recent call last):
File "/paddlex/py310/lib/python3.10/site-packages/paddlex_hps_server/base_model.py", line 88, in execute
result_or_output = self.run(input_, log_id)
File "/paddlex/var/paddlex_model_repo/table-recognition/1/model.py", line 77, in run
visualize_enabled = input.visualize if input.visualize is not None else self.app_config.visualize
File "/paddlex/py310/lib/python3.10/site-packages/pydantic/main.py", line 891, in getattr
raise AttributeError(f'{type(self).name!r} object has no attribute {item!r}')
AttributeError: 'InferRequest' object has no attribute 'visualize'
[ INFO] [2025-10-11 07:06:57,009] [6ac57a60e9ef4cd28bacd329740224fb] [02e765c5-624d-45ba-9538-da5a11b796c6] - Time taken: 17.182 ms
环境
paddelx 镜像版本为: ccr-2vdh3abv-pub.cnc.bj.baidubce.com/paddlex/hps:paddlex3.0.0-gpu
Metadata
Metadata
Assignees
Labels
No labels