Skip to main content

No project description provided

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 GitHub Actions:

  • 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.4.tar.gz (16.8 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.4-py3-none-any.whl (24.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: odin_vision-1.1.4.tar.gz
  • Upload date:
  • Size: 16.8 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.4.tar.gz
Algorithm Hash digest
SHA256 c04edbbe082058cfcb18e681ed25b722bd7801366d618149793714bf22b9f939
MD5 49a6860bc7d717ccfbefdfeb6894bce7
BLAKE2b-256 24d342cb260bb76e41cee37922af9a3a9fa87a8ff5cfa4a95775110a71d18794

See more details on using hashes here.

File details

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

File metadata

  • Download URL: odin_vision-1.1.4-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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 ea84a4fae9accf34a696ce91f2facb55b8a4db6f8e3d2e33a3b676b6e2a7f376
MD5 978b7a1de82df3a667ec06d9aae73a86
BLAKE2b-256 61b426a92e4efb881bba1aebf6b1b1a5e04d0dc68f216fc4f25df03c97123bba

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