Repository navigation
v0.1.34 - Add unified ul CLI for Platform and YOLO (#59)
🌟 Summary
Release v0.1.34 introduces the unified ul command-line interface, bringing Ultralytics Platform cloud operations and local YOLO workflows together under one consistent command. 🚀
📊 Key Changes
-
Unified
ulCLI by @JaviChulvi:- Adds a single
ulentry point for:- Platform cloud resources through
ul cloud ... - Local YOLO commands such as training, prediction, validation, export, and benchmarking
- Login, logout, and version checks
- Platform cloud resources through
- Cloud commands can run with the lightweight
ultralytics-platformSDK alone. - Local YOLO commands are delegated to the installed
ultralyticspackage. - Existing
yolobehavior, including local training withul://inputs, remains unchanged.
- Adds a single
-
More convenient Platform workflows ☁️:
- Supports commands for datasets, projects, models, training, predictions, deployments, and exports.
- Uses straightforward
key=valuearguments. - Provides automatic help discovery from SDK methods and docstrings.
- Supports JSON values, JSON files, standard input, and binary uploads such as images.
- Automatically infers a missing resource owner from the logged-in account where appropriate.
-
Improved authentication and error handling 🔐:
ul loginvalidates an API key before saving it.- Credentials can come from
ULTRALYTICS_API_KEYor shared Ultralytics settings. - Clear exit codes distinguish API failures, local input errors, and interruptions.
- Cloud jobs submit a request and exit without automatically polling or downloading results.
-
Platform API and SDK update:
- Added the dataset update option
initializeClassNamesin the API contract. - Exposed the corresponding Python SDK parameter as
initialize_class_names. - Regenerated and validated the Python SDK, updating
ultralytics-platformto 0.1.34.
- Added the dataset update option
🎯 Purpose & Impact
- One simpler interface makes it easier to move from Platform tasks to local YOLO workflows without learning separate command styles. 🧩
- Faster automation enables scripting for dataset management, model operations, training submissions, predictions, and exports.
- Lower installation overhead means Platform cloud commands do not require the full machine-learning package.
- Safer and clearer CLI usage comes from type-aware argument parsing, validation, structured errors, and predictable exit codes.
- Better dataset setup control lets users initialize class names during dataset updates when needed.
- No major model architecture changes are included in this release; the primary focus is developer experience, Platform integration, and SDK usability.
What's Changed
- Update Platform API contract by @UltralyticsAssistant in #60
- Add unified ul CLI for Platform and YOLO by @JaviChulvi in #59
New Contributors
- @JaviChulvi made their first contribution in #59
Full Changelog: v0.1.33...v0.1.34