mirror of
https://github.com/deepseek-ai/DeepSeek-VL2.git
synced 2026-11-05 01:07:23 +00:00
[GH-ISSUE #76] bad results with OCR inferece #62
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
deepseek-ai/DeepSeek-VL2#62
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @katie312 on GitHub (Feb 12, 2025).
Original GitHub issue: https://github.com/deepseek-ai/DeepSeek-VL2/issues/76
I input a pic like this:
it seems like a very easy task, but there is so much problem in the output (structure is fine, but some words are wrong). Is there something wrong with the inference code? or does it only support English.
the code:
@ibbol commented on GitHub (Feb 12, 2025):
我用没问题啊
@ibbol commented on GitHub (Feb 12, 2025):
@katie312 commented on GitHub (Feb 12, 2025):
请问这个在线的是什么模型呀,我这边本地下载用的small版本。
其实原图不是这张,因为是公司的数据不方便放出来,但是大致布局差不多,就几个图标+段文字,输出效果特别差🥲
@ibbol commented on GitHub (Feb 12, 2025):
tiny版本,我也想部署small版,但是我是4张24G的4090,不知道怎么分配显存,按照别人的方法拆分layer好像还是显存不够。
@katie312 commented on GitHub (Feb 12, 2025):
我用的L40作推理,能跑起来,但是为什么tiny比small效果还好,严重怀疑我代码有问题了🥲,或者麻烦测试一下复杂一点的文档看看效果呢?
@ibbol commented on GitHub (Feb 12, 2025):
@ibbol commented on GitHub (Feb 12, 2025):
@Giserlei123 commented on GitHub (Feb 12, 2025):
我直接使用可视化界面,识别效果很好,但是我自己用你这段代码效果也是很差
@ibbol commented on GitHub (Feb 12, 2025):
我用楼主的代码好像没问题啊?
@katie312 commented on GitHub (Feb 12, 2025):
这个看起来也还可以,不过pdf貌似也不太复杂,但是这张图估计我这边测试效果都不行,我明天换张图试试
@katie312 commented on GitHub (Feb 12, 2025):
不会真是代码问题吧,请问您用的可视化界面是例程里给的吗?
@katie312 commented on GitHub (Feb 12, 2025):