opendatalab / PDF-Extract-Kit

A Comprehensive Toolkit for High-Quality PDF Content Extraction
https://pdf-extract-kit.readthedocs.io/zh-cn/latest/index.html
GNU Affero General Public License v3.0
5.82k stars 384 forks source link

离线部署paddleocr模型下载及存放地址 #108

Closed 724852499 closed 2 months ago

724852499 commented 2 months ago

离线部署时,paddleocr需要联网下载模型,自己离线下载放在指定位置(/root/.paddleocr/whl/det/ch/ch_PP-OCRv4_det_infer/ch_PP-OCRv4_det_infer.tar)还是不行,能请教下模型放哪个位置呢 image

myhloli commented 2 months ago

要解压,你可以在另一台有网的机器下载,然后把整个.paddleocr目录拷贝过去

724852499 commented 2 months ago

感谢,用你说的方法可以运行了