RapidAI / RapidOCRPDF

Based on RapidOCR, extract the PDF content.
Apache License 2.0
133 stars 14 forks source link

打包成exe时运行exe时显示找不到config.yaml这个问题怎么搞。是用pyinstaller打包的 #13

Closed tslxxcxy closed 8 months ago

tslxxcxy commented 8 months ago

Snipaste_2024-04-07_16-44-26

tslxxcxy commented 8 months ago

FileNotFoundError: models\ch_PP-OCRv4_det_infer.onnx does not exists.前面报一个找不到config.yaml文件解决了。现在这个是一个相对路径怎么搞,也修改了config.yaml里面的model也不行,帮忙看看