PaddleDetection icon indicating copy to clipboard operation
PaddleDetection copied to clipboard

Windows上无法使用Serving部署Detection模型

Open YishuiLi opened this issue 2 years ago • 1 comments

问题确认 Search before asking

  • [X] 我已经查询历史issue,没有发现相似的bug。I have searched the issues and found no similar bug report.

Bug组件 Bug Component

Deploy

Bug描述 Describe the Bug

Windows上按照示例使用Serving部署Detection服务失败。 执行 python3 -m paddle_serving_server.serve --model yolov4_model --port 9393 --gpu_ids 0 启动服务 首先会提示touch和mkdir -p命令在windows中无法正常执行,故根据代码直接创建相关目录和文件夹。 创建目录和文件后执行启动服务命令报“name 'fcntl' is not defined”错误,故注释掉fcntl的相关代码,再次执行报如下错误: image 发现serving-cpu-noavx-openblas-0.9.0中的内容如下,是linux的动态库 image

复现环境 Environment

  • OS: Windows10
  • Python: 3.8.10
  • Paddle: paddlepaddle-gpu 2.3.0.post112
  • Serving: 0.9.0
  • paddle-serving-app: 0.9.0
  • paddle-serving-client: 0.9.0
  • paddle-serving-server: 0.9.0

Bug描述确认 Bug description confirmation

  • [X] 我确认已经提供了Bug复现步骤、代码改动说明、以及环境信息,确认问题是可以复现的。I confirm that the bug replication steps, code change instructions, and environment information have been provided, and the problem can be reproduced.

是否愿意提交PR? Are you willing to submit a PR?

  • [ ] 我愿意提交PR!I'd like to help by submitting a PR!

YishuiLi avatar Jan 29 '23 02:01 YishuiLi

not good enough support on win, You can try using WSL as i do

kenwaytis avatar Apr 01 '23 08:04 kenwaytis