PaddlePaddle / PaddleDetection

Object Detection toolkit based on PaddlePaddle. It supports object detection, instance segmentation, multiple object tracking and real-time multi-person keypoint detection.
Apache License 2.0
12.79k stars 2.89k forks source link

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

Open YishuiLi opened 1 year ago

YishuiLi commented 1 year ago

问题确认 Search before asking

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

Bug描述确认 Bug description confirmation

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

kenwaytis commented 1 year ago

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