PaddleOCR icon indicating copy to clipboard operation
PaddleOCR copied to clipboard

本地下载模型解压,layout模型会校验失败

Open sq1139172570 opened this issue 4 months ago • 1 comments

🔎 Search before asking

  • [X] I have searched the PaddleOCR Docs and found no similar bug report.
  • [X] I have searched the PaddleOCR Issues and found no similar bug report.
  • [X] I have searched the PaddleOCR Discussions and found no similar bug report.

🐛 Bug (问题描述)

下载模型到本地运行发现layout会验证失败,导致无论如何都校验不过,在network.py 的maybe_download中校验inference.pdiparams和inference.pdmodel,手动下载layout解压没有这两个模型,会导致无论如何都会自动联网下载layout模型

🏃‍♂️ Environment (运行环境)

OS : ubuntu22.04

🌰 Minimal Reproducible Example (最小可复现问题的Demo)

必现问题

sq1139172570 avatar Oct 16 '24 02:10 sq1139172570