Skip to main content

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

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

odin_vision-1.1.6.tar.gz (16.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

odin_vision-1.1.6-py3-none-any.whl (24.3 kB view details)

Uploaded Python 3

File details

Details for the file odin_vision-1.1.6.tar.gz.

File metadata

  • Download URL: odin_vision-1.1.6.tar.gz
  • Upload date:
  • Size: 16.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.4 CPython/3.12.7 Windows/10

File hashes

Hashes for odin_vision-1.1.6.tar.gz
Algorithm Hash digest
SHA256 c29f03e0ab1469a481fbebe402f787ac261d0aa83f774b059b5c4f6e7667dfe6
MD5 791de0186108536da7acc431eb3a3abc
BLAKE2b-256 6b21d6918732759e1e6f924407b35b29e6192a802c8859cadf157ac626c71fe5

See more details on using hashes here.

File details

Details for the file odin_vision-1.1.6-py3-none-any.whl.

File metadata

  • Download URL: odin_vision-1.1.6-py3-none-any.whl
  • Upload date:
  • Size: 24.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.4 CPython/3.12.7 Windows/10

File hashes

Hashes for odin_vision-1.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 771b14c9d113224d826a6dc2eba5fc05484df69eef51b2005a0626c8c1dfb62f
MD5 b3b19b377b9e9b627f8c479250beb62c
BLAKE2b-256 fc4db596b82018e481dfc1708430681d1421f0e6f35484b0f1b2de2fe8a77821

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page