-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GOT-OCR-2-GUI 安装经验分享(我在自己的另外一台电脑又安装了,希望作者能再完善看看呢) #5
Comments
写的很详细,pin了!至于改默认依赖的事情,我现在没有别的设备可以用来确定问题,所以先把torch从requirements里独立出来看看,要是还能碰到新的issue的话就改默认吧👍🏻👍🏻👍🏻 |
嗯嗯,其实这些东西,我也是自己乱写,然后交给Claude来补充、整理下就行了,可以省很多事情。 |
请问这个项目,最低的显卡配置是多少呢。 |
空闲1.4GB,加载模型4.xGB,跑OCR7.3GB,我刚刚拿普通ocr测的 |
GOT-OCR-2-GUI |
就在huggingface上 |
GOT-OCR-2-GUI 安装经验分享
环境配置
创建并激活 Conda 环境:
进入项目目录:
安装依赖:
备注:requirements-noversion.txt这次使用也没有问题,建议作者是否把这个作为默认?
conda install pytorch torchvision torchaudio pytorch-cuda=12.4 -c pytorch -c nvidia是根据依赖里面指定的
torch==2.4.1+cu124
到https://pytorch.org/get-started/locally/
找到的相应版本。下载必要文件(这里根据作者原来的来就行了)
Edge WebDriver
edge_driver
文件夹中模型文件
models
文件夹中运行程序
执行以下命令:
遇到 OpenMP 运行时相关错误,可尝试以下解决方案:
错误信息示例:
解决方法:
在运行程序前,设置环境变量:
然后重新运行程序:
按照以上步骤操作,您应该能够成功安装并运行 GOT-OCR-2-GUI。如遇其他问题,请参考项目文档或寻求进一步帮助。
The text was updated successfully, but these errors were encountered: