Open yibie opened 2 weeks ago
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 } }
Just run the command:
magic-pdf -p /Volumes/Collect/ebook/xxxxx.pdf -o ~/Documents/emacs/org/ref/ -m auto
MacOS
3.10
0.7.x
cpu
"models-dir":"~/tools/PDF-Extract-Kit/models/" ==> "models-dir":"/abs/path/to/tools/PDF-Extract-Kit/models/",
"models-dir":"~/tools/PDF-Extract-Kit/models/"
"models-dir":"/abs/path/to/tools/PDF-Extract-Kit/models/",
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:
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