Colab mineru_demo.ipynb failing; bad /MFD/weights.pt
file reference
#732
Labels
bug
Something isn't working
/MFD/weights.pt
file reference
#732
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: