π¨ Fixed
π₯ `YOLOv10` in `inference` now has pre- and post-processing issues solved
Thanks to jameslahm we have inconsistencies in results from `YOLOv10` model in `inference` package sorted out. PR https://github.com/roboflow/inference/pull/437
<p align="center">
<img src="https://github.com/roboflow/inference/assets/146137186/beaafb53-8c99-433c-8a53-45ca002238e6" width="70%"/>
</p>
π± Changed
β`breaking change`βInference from PaliGemma
PaliGemma models changes model category from foundation one into Roboflow model. That implies the following change in a way how it is exposed by `inference server`:
**Before:**
python
def do_gemma_request(prompt: str, image_path: str):
infer_payload = {
"image": {
"type": "base64",
"value": encode_bas64(image_path),
},
"api_key": "<ROBOFLOW-API-KEY>",
"prompt": prompt,
}
response = requests.post(
f'http://localhost:{PORT}/llm/paligemma',
json=infer_payload,
)
resp = response.json()
**Now:**
python
def do_gemma_request(prompt: str, image_path: str):
infer_payload = {
"image": {
"type": "base64",
"value": encode_bas64(image_path),
},
"prompt": prompt,
"model_id": "paligemma-3b-mix-224",
}
response = requests.post(
f'http://localhost:{PORT}/infer/lmm',
json=infer_payload,
)
resp = response.json()
PR https://github.com/roboflow/inference/pull/436
Other changes
* Replaced `sv.BoxAnnotator` with `sv.BoundingBoxAnnotator` combined with `sv.LabelAnnotator` to be prepare for `sv.BoxAnnotator` deprecation by grzegorz-roboflow in https://github.com/roboflow/inference/pull/434
* Add PaliGemma documentation, update table of contents by capjamesg in https://github.com/roboflow/inference/pull/429
* Add http get support for legacy model inference by PacificDou in https://github.com/roboflow/inference/pull/449
* Fix dead supported blocks link by LinasKo in https://github.com/roboflow/inference/pull/448
* Docs: Remove banner saying Sv Keypoint annotators are experimental by LinasKo in https://github.com/roboflow/inference/pull/450
π₯ New Contributors
* jameslahm made their first contribution in https://github.com/roboflow/inference/pull/437
**Full Changelog**: https://github.com/roboflow/inference/compare/v0.11.2...v0.12.0