Skip to main content

Odin

Odin is an open-source CLI framework for managing big computer vision projects that are based on YOLO.

Contents

Installation

pip install odin-vision

Features

Odin features includes not only, but mainly:

⚙️ Robust computer vision management tools, such as:

  • Dataset automated management (creation & version control)
  • Model automated management (training, testing & version control)
  • General project management with a robust project structure that can be automated to a pipeline.

📄 A detailed documentation is on the way!

Usage

Initial setup

  1. Create a new folder with the project's name.
> mkdir my-project & cd my-project
  1. Initialize your Odin project.
> odin start my-project --type detection

Creating and managing your first dataset

  1. Create your first dataset.
> odin dataset create --dataset_name my-dataset
  1. Add your dataset data to the Odin-managed my-dataset.

Label a new dataset using Label Studio, Roboflow or any other labelling tool. Once labelled, add your data to the staging folder inside your new dataset.

  1. Publish your new dataset.

With your new dataset inside the staging folder, it's time to "publish" your dataset (publishing means officializing your dataset inside your project, nothing inside your Odin project will ever touch the web or get out of your environment).

> odin dataset publish --dataset_name my-dataset

Training and maganing your first model

  1. Train a model on your published dataset.
> odin model train --dataset_name my-dataset

Once trained, your model will be available at /chronicles/{chronicle_name}/weights/{model_name}, but you should follow the good practices of the framework and just use the models inside /weights on the root of your project.

  1. Test the model
> odin model test --chronicle_name {chronicle_name}

Once tested, you can publish the model if you want, it will really just add the model to the weights folder at the root of the project and properly version it, but it's a very good practice to have, it may maintain your project organized.

  1. Publish your tested model
> odin model publish --chronicle_name {chronicle_name}

Roadmap

Features planned for the next updates:

  • Automated dataset generation
  • Dataset versioning
  • Dataset rollback
  • Automated training
  • Model versioning
  • Automated testing report generation
  • Odin programmatic API
  • Integration with PyTorch Lightning for performance

Special thanks and Acknowledgments

I'm very thankful for Ultralytics for disponibilizing the YOLO framework as an open-source project. This framework is used only in the training phase of the pipeline to, as it would be expected, train the models.

Special thanks for the OpenCV team for also maintaining the project alive and open-source, for the Ultralytics team as I've mentioned above, also the Albumentations team and of course, PyTorch, for providing the base for almost every deep neural network solution not just in this project, but most of the projects out there. tools like Odin wouldn't exist without these awesome solutions.

This project is powered by:

Contributing

If you find a bug, please open a bug report. If you have an idea for an improvement or new feature, please open a feature request.

Metadata

Release files for odin-vision 1.1.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for odin-vision 1.1.6
File Size Uploaded Provenance Actions
odin_vision-1.1.6.tar.gz 16.7 kB Without provenance Details for odin_vision-1.1.6.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for odin-vision 1.1.6
File Interpreter ABI Platform Actions
odin_vision-1.1.6-py3-none-any.whl Python 3 none any Details for odin_vision-1.1.6-py3-none-any.whl

Total release size: 41.1 kB

Release files / odin_vision-1.1.6.tar.gz

Download URL odin_vision-1.1.6.tar.gz
Size 16.7 kB
Tags Source
SHA-256 checksum
How to use checksums
c29f03e0ab1469a481fbebe402f787ac261d0aa83f774b059b5c4f6e7667dfe6
BLAKE2b-256 checksum
How to use checksums
6b21d6918732759e1e6f924407b35b29e6192a802c8859cadf157ac626c71fe5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.4 CPython/3.12.7 Windows/10

Release files / odin_vision-1.1.6-py3-none-any.whl

Download URL odin_vision-1.1.6-py3-none-any.whl
Size 24.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
771b14c9d113224d826a6dc2eba5fc05484df69eef51b2005a0626c8c1dfb62f
BLAKE2b-256 checksum
How to use checksums
fc4db596b82018e481dfc1708430681d1421f0e6f35484b0f1b2de2fe8a77821
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.4 CPython/3.12.7 Windows/10

Security for odin-vision 1.1.6

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page