微软开源神器OmniParser-v2.0本地部署教程_omniparserv2一键部署-CSDN博客参考这个大腿的安装OmniParser-v2.0
第一个问题:许多人找不到 constants.py 文件路径。在创建的虚拟环境路径下,omni 就是我的虚拟环境。用软件很好找。
第二个问题:
python gradio_demo.py 时提示错误如下
Could not create share link. Missing file: C:\Users\Administrator\Miniconda3\envs\omni\Lib\site-packages\gradio\frpc_windows_amd64_v0.3.
Please check your internet connection. This can happen if your antivirus software blocks the download of this file. You can install manually by following these steps:
1. Download this file: https://cdn-media.huggingface.co/frpc-gradio-0.3/frpc_windows_amd64.exe
2. Rename the downloaded file to: frpc_windows_amd64_v0.3
3. Move the file to this location: C:\Users\Administrator\Miniconda3\envs\omni\Lib\site-packages\gradio
可以看到缺少一个文件,找到下载地址下载 链接如下:
下载下来,其中 frpc.exe 改成 frpc_windows_amd64_v0.3.exe放到 提示的路径下。我是不知道下载包里文件有用没用全拖过去了。
再次执行。 访问:http://127.0.0.1:7861/
感觉识别效果一般。