Steven Li

Results 12 comments of Steven Li

1. 你有GPU吗?有的话尝试使用Pytorch gpu的版本 https://github.com/microsoft/OmniParser/issues/258#issuecomment-2727244522 3. 第二个报错应该是你的网络有问题,换个网络或者换个梯子。也有可能是因为对方服务器暂时下线了

![Image](https://github.com/user-attachments/assets/bb2bb7e1-1719-4b2a-91fe-0cd000fa09fa)

所以你啥问题?我看你日志里写的已经启动了啊 ```bash * Running on local URL: http://0.0.0.0:7861 ``` 访问一下http://127.0.0.1:7861 frpc启动失败是正常的

1. 确实没在windows上跑起来 我这里的主要问题是PaddleOCR的加载路径写的是linux风格的 在wsl上跑起来了 2. 不过gradio框架会是正常显示,也就是说html的页面是正常的

能提供一下Python版本号吗? 我看能不能复现。 我再次检查了一遍除了paddleocr我还是有问题以外(我注释掉了这部分),gradio的页面是没问题的 ![Image](https://github.com/user-attachments/assets/23bf8420-2bc3-46b7-affb-40b92f90632c) ![Image](https://github.com/user-attachments/assets/b603f9dd-9c9a-4626-95c1-3632b0eecfb3)

我的建议是用WSL,好像paddle和pytorch都需要单独处理。 linux上这两个包似乎都是自动安装GPU版本的,然后windows还有中文文件夹名的问题。。。 torch 需要用 https://pytorch.org/get-started/locally/ ```bash pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118 ``` paddle 需要用 https://www.paddlepaddle.org.cn/install/quick?docurl=/documentation/docs/zh/install/pip/windows-pip.html ```bash pip install paddlepaddle-gpu==2.6.2 -i https://www.paddlepaddle.org.cn/packages/stable/cu118/ pip install paddleocr ``` 然后如果你用户名是中文的话路径也需要手动指定本地不含中文的路径

你安装最新版的pytorch没问题,向下兼容 主要看cuda版本,pytorch版本跟着cuda版本就没啥问题

如果你有已经安装的CUDA和对应版本的Pytorch(你的例子里是12.8>12.3)。你就不需要动cuda和pytorch 根据nvidia的兼容性:https://docs.nvidia.com/deploy/cuda-compatibility/index.html 直接安装paddle12.3可以运行

WSL 中不需要手动安装 Linux下直接跟着 @readme.md 走一遍就行 Windows native里需要手动 > On Mar 16, 2025, at 23:45, 彼方 ***@***.***> wrote: > > > BiFangKNT > left a comment > (microsoft/OmniParser#258) > @StevenLi-phoenix wsl中手动安装了torch...

这个toolbox我真不清楚来自李树雨的iPhoneOn Mar 18, 2025, at 3:59 AM, 彼方 ***@***.***> wrote: @StevenLi-phoenix 我在wsl中安装docker就会这样: sudo docker logs omni-windows ❯ Starting OmniParser Windows for Docker v0.00... ❯ For support visit https://github.com/microsoft/OmniParser ❯ CPU:...