PaddleDetection
PaddleDetection copied to clipboard
Windows上无法使用Serving部署Detection模型
问题确认 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的相关代码,再次执行报如下错误:
发现serving-cpu-noavx-openblas-0.9.0中的内容如下,是linux的动态库

复现环境 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!
not good enough support on win, You can try using WSL as i do