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.3.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.3-py3-none-any.whl (24.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: odin_vision-1.1.3.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.3.tar.gz
Algorithm Hash digest
SHA256 db8d2dd625286be2aeb86d12ce9960a0ac769f94660672b5ffbcd42cd4497f55
MD5 de09c1396ff8944f5d7944481f8f6f61
BLAKE2b-256 80708c4abebe819630a6dda948071e65a2672196ef7d6abd6a98345ba5085baa

See more details on using hashes here.

File details

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

File metadata

  • Download URL: odin_vision-1.1.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 88db4b54e7920cb42708499bc962e5c2d31b8f710c2c0cbeb7d6bb2b91bdfa8d
MD5 cea919e1d70d9d0c1d24935ce1f4f49f
BLAKE2b-256 1f973ac3dc4ea75ff58b0cbc643cf9116ce7b53f5b812845ba390b11135884bf

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