v0.12.0
🔨 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 #437
🌱 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:
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:
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 #436
Other changes
- Replaced
sv.BoxAnnotator
withsv.BoundingBoxAnnotator
combined withsv.LabelAnnotator
to be prepare forsv.BoxAnnotator
deprecation by @grzegorz-roboflow in #434 - Add PaliGemma documentation, update table of contents by @capjamesg in #429
- Add http get support for legacy model inference by @PacificDou in #449
- Fix dead supported blocks link by @LinasKo in #448
- Docs: Remove banner saying Sv Keypoint annotators are experimental by @LinasKo in #450
🥇 New Contributors
- @jameslahm made their first contribution in #437
Full Changelog: v0.11.2...v0.12.0