Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ocr解析pdf,部分pdf会出现乱码问题 #558

Closed
stormchen-cell opened this issue Sep 6, 2024 · 5 comments
Closed

ocr解析pdf,部分pdf会出现乱码问题 #558

stormchen-cell opened this issue Sep 6, 2024 · 5 comments
Labels
bug Something isn't working

Comments

@stormchen-cell
Copy link

Description of the bug | 错误描述

微信图片_20240906110217
微信图片_20240906110328
微信图片_20240906110340
基础镜像 /cuda-12.1.1-cudnn-8-python-3.10-ubuntu-22.04-coocaa

How to reproduce the bug | 如何复现

微信图片_20240906110217
微信图片_20240906110328
微信图片_20240906110340
基础镜像 /cuda-12.1.1-cudnn-8-python-3.10-ubuntu-22.04-coocaa
尝试过换成 /cuda-11.8.0-cudnn-8-python-3.10-ubuntu-22.04-coocaa还是乱码
使用cpu进行解析的话不会出现乱码

Operating system | 操作系统

Linux

Python version | Python 版本

3.10

Software version | 软件版本 (magic-pdf --version)

0.7.x

Device mode | 设备模式

cuda

@stormchen-cell stormchen-cell added the bug Something isn't working label Sep 6, 2024
@stormchen-cell
Copy link
Author

我这边乱码的pdf,在官方demo调用不会出现乱码

@myhloli
Copy link
Collaborator

myhloli commented Sep 6, 2024

看这个症状,应该是paddle框架和显卡不兼容导致的,可以去paddleocr仓库提一下issue

@stormchen-cell
Copy link
Author

pip install paddlepaddle-gpu==3.0.0b1 -i https://www.paddlepaddle.org.cn/packages/stable/cu123/
把paddlepaddle-gpu 118升级成123就好了

@myhloli myhloli closed this as completed Sep 6, 2024
@myhloli
Copy link
Collaborator

myhloli commented Sep 7, 2024

已添加该案例到FAQ

@ChenZiHong-Gavin
Copy link

pip install paddlepaddle-gpu==3.0.0b1 -i https://www.paddlepaddle.org.cn/packages/stable/cu123/ 把paddlepaddle-gpu 118升级成123就好了

pytorch无法兼容cu123,所有paddlepaddle-gpu cu123版本总是安装失败,有遇到类似的情况吗?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants