-
Notifications
You must be signed in to change notification settings - Fork 979
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
Colab mineru_demo.ipynb failing; bad /MFD/weights.pt
file reference
#732
Comments
->
is correct. Of course, to simplify the process for users downloading model files and to prevent issues similar to the feedback received, we have updated the model download script. When you use the latest
|
Description of the bug | 错误描述
I was trying to get this running on Colab. When running step
!magic-pdf -p demo1.pdf -o output/ -m auto
was getting[Errno 2] No such file or directory: '/root/.cache/huggingface/hub/models--opendatalab--PDF-Extract-Kit/snapshots/a29caa466f6d07be0e4863bba64204009128931a/MFD/weights.pt'
. It seems that reference is missing a subfoldermodels
that sits aboveMFD/weights.pt
.Also, T4 on Colab has following cuda verison.
For step
!pip install paddlepaddle-gpu==3.0.0b1 -i https://www.paddlepaddle.org.cn/packages/stable/cu118/
, what do you suggest? I notice there is nohttps://www.paddlepaddle.org.cn/packages/stable/cu122/
.Thanks.
How to reproduce the bug | 如何复现
Open colab demo from https://colab.research.google.com/gist/papayalove/b5f4913389e7ff9883c6b687de156e78/mineru_demo.ipynb.
Operating system | 操作系统
Linux
Python version | Python 版本
3.10
Software version | 软件版本 (magic-pdf --version)
0.8.x
Device mode | 设备模式
cuda
The text was updated successfully, but these errors were encountered: