Skip to content

v0.1.75 - Update Platform API contract (#96)

Choose a tag to compare

@github-actions github-actions released this 30 Sep 16:40
· 14 commits to main since this release
330d7c1

🌟 Summary

Release v0.1.75 brings video-frame skipping to cloud prediction, improves validation and saved video outputs, and synchronizes the Platform API contract with its Python SDK.

📊 Key Changes

  • 🎞️ Cloud video prediction supports vid_stride: The option is sent to Platform, which predicts every Nth frame. Local output saving now uses the same frame selection, keeping predictions, labels, crops, and video frame rate aligned.
  • 🛡️ Invalid prediction settings are rejected early: ul cloud predict checks arguments before uploading a local model or sending a Platform request. For example, vid_stride=0 fails before a prediction can incur a charge.
  • 🔗 API and SDK updated to version 0.1.75: The OpenAPI contract and generated Python SDK now include optional vid_stride for model and deployment prediction requests; its minimum value is 1.
  • 🧪 Expanded validation and clearer errors: CI now tests saved cloud-prediction outputs offline with CPU-based dependencies. CLI messages for authentication and connection failures are clearer, and SDK connection errors provide a fallback message when the underlying error is blank.

🎯 Purpose & Impact

  • ✅ Makes cloud video predictions behave more consistently with local YOLO prediction, especially when saving results.
  • 💸 Prevents invalid prediction arguments from triggering an unnecessary Platform request.
  • 📦 Keeps the API contract, generated SDK, and package version in sync, so developers can rely on the SDK reflecting the supported API behavior.

What's Changed

Full Changelog: v0.1.74...v0.1.75