mirror of
https://github.com/opendatalab/MinerU.git
synced 2026-03-27 11:08:32 +07:00
- Add new layout model option: DocLayout-YOLO - Implement model initialization and prediction for DocLayout-YOLO - Update configuration options to include new model- Modify existing code to support both LayoutLMv3 and DocLayout-YOLO models - Update Gradio app to support more Custom Switch
23 lines
566 B
JSON
23 lines
566 B
JSON
{
|
|
"bucket_info":{
|
|
"bucket-name-1":["ak", "sk", "endpoint"],
|
|
"bucket-name-2":["ak", "sk", "endpoint"]
|
|
},
|
|
"models-dir":"/tmp/models",
|
|
"layoutreader-model-dir":"/tmp/layoutreader",
|
|
"device-mode":"cpu",
|
|
"layout-config": {
|
|
"model": "layoutlmv3"
|
|
},
|
|
"formula-config": {
|
|
"mfd_model": "yolo_v8_mfd",
|
|
"mfr_model": "unimernet_small",
|
|
"enable": true
|
|
},
|
|
"table-config": {
|
|
"model": "tablemaster",
|
|
"enable": false,
|
|
"max_time": 400
|
|
},
|
|
"config_version": "1.0.0"
|
|
} |