Prechádzať zdrojové kódy

feat: add new models to download list and update changelog for version 2.2.1

myhloli 2 mesiacov pred
rodič
commit
3eda0d10a0
3 zmenil súbory, kde vykonal 10 pridanie a 1 odobranie
  1. 3 0
      README.md
  2. 3 0
      README_zh-CN.md
  3. 4 1
      mineru/cli/models_download.py

+ 3 - 0
README.md

@@ -44,6 +44,9 @@
 
 # Changelog
 
+- 2025/09/08 2.2.1 Released  
+  - Fixed the issue where some newly added models were not downloaded when using the model download command.
+
 - 2025/09/05 2.2.0 Released
   - Major Updates
     - In this version, we focused on improving table parsing accuracy by introducing a new [wired table recognition model](https://github.com/RapidAI/TableStructureRec) and a brand-new hybrid table structure parsing algorithm, significantly enhancing the table recognition capabilities of the `pipeline` backend.

+ 3 - 0
README_zh-CN.md

@@ -44,6 +44,9 @@
 
 # 更新记录
 
+- 2025/09/08 2.2.1 发布
+  - 修复使用模型下载命令时,部分新增模型未下载的问题
+
 - 2025/09/05 2.2.0 发布
   - 主要更新
     - 在这个版本我们重点提升了表格的解析精度,通过引入新的[有线表识别模型](https://github.com/RapidAI/TableStructureRec)和全新的混合表格结构解析算法,显著提升了`pipeline`后端的表格识别能力。

+ 4 - 1
mineru/cli/models_download.py

@@ -66,7 +66,10 @@ def download_pipeline_models():
         ModelPath.unimernet_small,
         ModelPath.pytorch_paddle,
         ModelPath.layout_reader,
-        ModelPath.slanet_plus
+        ModelPath.slanet_plus,
+        ModelPath.unet_structure,
+        ModelPath.paddle_table_cls,
+        ModelPath.paddle_orientation_classification,
     ]
     download_finish_path = ""
     for model_path in model_paths: