Skip to content

v0.1.34 - Add unified ul CLI for Platform and YOLO (#59)

Choose a tag to compare

@github-actions github-actions released this 09 Sep 12:15
· 117 commits to main since this release
7b6cf17

🌟 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 ul CLI by @JaviChulvi:

    • Adds a single ul entry point for:
      • Platform cloud resources through ul cloud ...
      • Local YOLO commands such as training, prediction, validation, export, and benchmarking
      • Login, logout, and version checks
    • Cloud commands can run with the lightweight ultralytics-platform SDK alone.
    • Local YOLO commands are delegated to the installed ultralytics package.
    • Existing yolo behavior, including local training with ul:// inputs, remains unchanged.
  • More convenient Platform workflows ☁️:

    • Supports commands for datasets, projects, models, training, predictions, deployments, and exports.
    • Uses straightforward key=value arguments.
    • 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 login validates an API key before saving it.
    • Credentials can come from ULTRALYTICS_API_KEY or 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 initializeClassNames in the API contract.
    • Exposed the corresponding Python SDK parameter as initialize_class_names.
    • Regenerated and validated the Python SDK, updating ultralytics-platform to 0.1.34.

🎯 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

New Contributors

Full Changelog: v0.1.33...v0.1.34