mirror of
https://github.com/deepseek-ai/DeepSeek-VL2.git
synced 2026-11-05 01:07:23 +00:00
[GH-ISSUE #33] Incorrect Output in Visual Grounding Task #27
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#27
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 @sleepyshep on GitHub (Jan 9, 2025).
Original GitHub issue: https://github.com/deepseek-ai/DeepSeek-VL2/issues/33
Hello! I've encountered an issue with the visual grounding task where the model frequently outputs meaningless bounding boxes. I'm testing the
deepseek-vl2-smallmodel. Below, I'll provide the test code and a wrong case.Test Code
Wrong Case
Image:

Prompt:
<image>\n<|ref|>The hat which is white.<|/ref|>.Response:
<|ref|>The hat which is white. .<|/ref|><|det|>[[2, 159, 4, 43958, 970]]<|/det|>Sometimes, the response is even more nonsensical, such as:
<|ref|>Small and silver, this mirror gle.<|/ref|><|det|>[[0, 60, 30, 999999, 9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999There are many similar errors where the model outputs nonsensical bounding boxes. I would appreciate any guidance on how to resolve this issue.
Thank you!
@deepML2020 commented on GitHub (Jan 9, 2025):
Hello, I've also encountered the same problem when I use the small version.
<|User|>:
<|ref|>The giraffe at the back.<|/ref|>.
DeepSeek-VL2-small reponse:
<|Assistant|>: <|ref|>The giraffe at back.<|/ref|><|det|>[[555560, 269, 9617895, 173171, 199999, 19999, 19, 99, 999, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 。<|end▁of▁sentence|>
Expected response:
<|Assistant|>: <|ref|>The giraffe at the back.<|/ref|><|det|>580, 270, 999, 900<|/det|><|end▁of▁sentence|>
@captainfffsama commented on GitHub (Jan 14, 2025):
maybe can try this? https://github.com/deepseek-ai/DeepSeek-VL2/issues/17#issuecomment-2559035376
I test tiny,the wrong version transformers will lead some incorrect output. when I change transformers version to 4.38,deepseekvl2 work good
@sleepyshep commented on GitHub (Jan 14, 2025):
Thank you! My testing environment is:
The tiny version works fine, but the output of the small version is incorrect.
@Mr-Bigworth commented on GitHub (Feb 3, 2025):
Same problem with testing environment: torch==2.6.0
transformers==4.38.2
@rubentorresbonet commented on GitHub (Feb 6, 2025):
same issues, it will not even output the coordinates. In my case I had to upgrade to cuda 12.8 and all its friends to support rtx 5000
@haoxiangzhao12138 commented on GitHub (Apr 1, 2025):
same issue. tiny model works fine. Small and vl2 cannot get correct coordinates
'<|ref|>A blue checkered fabric hangs behind the image.<|/ref|><|det|>0, 0, 0, 99999, 498512<|/det|><|end▁of▁sentence|>'
'<|ref|>Girl wearing purple<|/ref|><|det|>2, 33319, 333333, 66666<|/det|><|end▁of▁sentence|>'