main
HuangHai 3 weeks ago
parent 9f5f1480dc
commit 14a46815c5

@ -81,30 +81,6 @@ class MineruParser:
# https://github.com/opendatalab/MinerU/blob/master/README_zh-CN.md#本地部署
# mineru-models-download
# 居然在下载 OCR/paddleocr_torch/ 果然是个好东西!
"""
(raganything) PS D:\dsWork\dsProject\dsRagAnything> mineru-models-download
Please select the model download source: (huggingface, modelscope) [huggingface]: modelscope
Please select the model type to download: (pipeline, vlm, all) [all]: all
Downloading all model from modelscope...
Downloading model: models/Layout/YOLO/doclayout_yolo_docstructbench_imgsz1280_2501.pt
Download failed: Missing dependencies for SOCKS support.
(raganything) PS D:\dsWork\dsProject\dsRagAnything> mineru-models-download
Please select the model download source: (huggingface, modelscope) [huggingface]: modelscope
Please select the model type to download: (pipeline, vlm, all) [all]: all
Downloading all model from modelscope...
Downloading model: models/Layout/YOLO/doclayout_yolo_docstructbench_imgsz1280_2501.pt
Downloading Model from https://www.modelscope.cn to directory: C:\Users\Administrator\.cache\modelscope\hub\models\OpenDataLab\PDF-Extract-Kit-1.0
2025-07-04 21:46:23,860 - modelscope - INFO - Got 1 files, start to download ...
Downloading [models/Layout/YOLO/doclayout_yolo_docstructbench_imgsz1280_2501.pt]: 100%|| 37.9M/37.9M [00:02<00:00, 15.
Processing 1 items: 100%|| 1.00/1.00 [00:02<00:00, 2.64s/it]
2025-07-04 21:46:26,507 - modelscope - INFO - Download model 'OpenDataLab/PDF-Extract-Kit-1.0' successfully.
2025-07-04 21:46:26,507 - modelscope - INFO - Creating symbolic link [C:\Users\Administrator\.cache\modelscope\hub\models\OpenDataLab\PDF-Extract-Kit-1.0].
Downloading model: models/MFD/YOLO/yolo_v8_ft.pt
Downloading Model from https://www.modelscope.cn to directory: C:\Users\Administrator\.cache\modelscope\hub\models\OpenDataLab\PDF-Extract-Kit-1.0
2025-07-04 21:46:29,616 - modelscope - INFO - Got 1 files, start to download ...
Processing 1 items: 0%| | 0.00/1.00 [00:00<?, ?it/s]
Downloading [models/MFD/YOLO/yolo_v8_ft.pt]: 31%| | 104M/334M [00:06<00:13, 17.7MB/s]
"""
cmd = [
"mineru",
"-p",

Loading…
Cancel
Save