MinerU
MinerU copied to clipboard
File not found
Description of the bug | 错误描述
No such file or directory: '~/tools/PDF-Extract-Kit/models/MFD/weights.pt'
But the file is here:
My config file:
{
"bucket_info":{
"bucket-name-1":["ak", "sk", "endpoint"],
"bucket-name-2":["ak", "sk", "endpoint"]
},
"models-dir":"~/tools/PDF-Extract-Kit/models/",
"device-mode":"cpu",
"table-config": {
"is_table_recog_enable": false,
"max_time": 400
}
}
How to reproduce the bug | 如何复现
Just run the command:
magic-pdf -p /Volumes/Collect/ebook/xxxxx.pdf -o ~/Documents/emacs/org/ref/ -m auto
Operating system | 操作系统
MacOS
Python version | Python 版本
3.10
Software version | 软件版本 (magic-pdf --version)
0.7.x
Device mode | 设备模式
cpu
"models-dir":"~/tools/PDF-Extract-Kit/models/" ==> "models-dir":"/abs/path/to/tools/PDF-Extract-Kit/models/",