Skip to content

Commit

Permalink
Merge pull request #1591 from myhloli/dev
Browse files Browse the repository at this point in the history
fix(models): update unimernet_small model path
  • Loading branch information
myhloli authored Jan 21, 2025
2 parents 58d28c9 + 2a3a006 commit 6be3277
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion magic_pdf/resources/model_config/model_configs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ weights:
layoutlmv3: Layout/LayoutLMv3/model_final.pth
doclayout_yolo: Layout/YOLO/doclayout_yolo_docstructbench_imgsz1280_2501.pt
yolo_v8_mfd: MFD/YOLO/yolo_v8_ft.pt
unimernet_small: MFR/unimernet_small
unimernet_small: MFR/unimernet_small_2501
struct_eqtable: TabRec/StructEqTable
tablemaster: TabRec/TableMaster
rapid_table: TabRec/RapidTable
Binary file modified projects/gradio_app/examples/complex_layout.pdf
Binary file not shown.
2 changes: 1 addition & 1 deletion scripts/download_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def download_and_modify_json(url, local_filename, modifications):
"models/Layout/LayoutLMv3/*",
"models/Layout/YOLO/*",
"models/MFD/YOLO/*",
"models/MFR/unimernet_small/*",
"models/MFR/unimernet_small_2501/*",
"models/TabRec/TableMaster/*",
"models/TabRec/StructEqTable/*",
]
Expand Down
2 changes: 1 addition & 1 deletion scripts/download_models_hf.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def download_and_modify_json(url, local_filename, modifications):
"models/Layout/LayoutLMv3/*",
"models/Layout/YOLO/*",
"models/MFD/YOLO/*",
"models/MFR/unimernet_small/*",
"models/MFR/unimernet_small_2501/*",
"models/TabRec/TableMaster/*",
"models/TabRec/StructEqTable/*",
]
Expand Down

0 comments on commit 6be3277

Please sign in to comment.