more Qwen2.5-VL tests
This commit is contained in:
1 parent
5af13c0f8c
commit
a99015ac2d
1 file changed
+12
@@ -357,6 +357,18 @@ def test_from_paligemma(
|
||||
np.array(["dog", "cat"], dtype=str),
|
||||
),
|
||||
), # truncated response, last object unfinished, previous ones recovered
|
||||
(
|
||||
pytest.raises(ValueError),
|
||||
"""```json
|
||||
[
|
||||
{"bbox_2d": [10, 20, 110, 120], "label": "cat"}
|
||||
]
|
||||
```""",
|
||||
(0, 640),
|
||||
(1280, 720),
|
||||
None,
|
||||
None, # invalid input_wh
|
||||
),
|
||||
(
|
||||
pytest.raises(ValueError),
|
||||
"""```json
|
||||
|
||||
Reference in new issue
Block a user