Skip to main content

MLOps tools for training models for Luxonis devices

Project description

LuxonisML

License PyBadge PyPI PyPI - Downloads

CI codecov

Ruff Docformatter Black

This library includes a collection of helper functions and utilities for the Luxonis MLOps stack. This includes the following submodules:

  • Dataset Management: Creating computer vision datasets focused around Luxonis hardware and to be used with our LuxonisTrain framework. Additional documentation can be found here.
  • Embeddings: Methods to compute image embeddings.
  • Tracking: Our implementation of a logger for use with PyTorch Lightning or in LuxonisTrain
  • Utils: Miscellaneous utils for developers.

NOTE: The project is in a beta state, it might be missing certain features or contain bugs - please report any feedback!

Table of Contents

Installation

The luxonis_ml package is hosted on PyPI, so you can install it with pip.

We offer several versions of the package:

  • luxonis-ml[data]: installs necessary dependencies for using luxonis_ml.data module
  • luxonis-ml[utils]: installs necessary dependencies for using luxonis_ml.utils module
  • luxonis-ml[embedd]: installs necessary dependencies for using luxonis_ml.embeddings module
  • luxonis-ml[tracker]: installs necessary dependencies for using luxonis_ml.tracker module
  • luxonis-ml[all]: installs all dependencies
  • luxonis-ml[dev]: installs all dependencies, including development dependencies

Additional dependencies

Additional dependencies for working with specific cloud services can be installed using the following extras:

  • gcs: Dependencies for working with Google Cloud Storage
  • s3: Dependencies for working with AWS S3
  • roboflow: Dependencies for downloading datasets from Roboflow
  • mlflow: Dependencies for working with MLFlow

[!NOTE] If some of the additional dependencies are required but not installed (e.g. attempting to use Google Cloud Storage without installing the gcs extra), then the missing dependencies will be installed automatically.

Example:

Installing the package with the data extra and dependencies for gcs and roboflow:

pip install luxonis-ml[data,gcs,roboflow]

Installing the package with all dependencies:

pip install luxonis-ml[all]

CLI

The luxonis-ml package comes with a CLI that can be used to interact with the library.

To see the available commands, run:

luxonis_ml --help

Contributing

If you want to contribute to this project, read the instructions in CONTRIBUTING.md

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

luxonis_ml-0.6.2.tar.gz (161.6 kB view details)

Uploaded Source

Built Distribution

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

luxonis_ml-0.6.2-py3-none-any.whl (207.5 kB view details)

Uploaded Python 3

File details

Details for the file luxonis_ml-0.6.2.tar.gz.

File metadata

  • Download URL: luxonis_ml-0.6.2.tar.gz
  • Upload date:
  • Size: 161.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.21

File hashes

Hashes for luxonis_ml-0.6.2.tar.gz
Algorithm Hash digest
SHA256 386f46f0473253724db89f1b2543f0d23566bde538897457e78feedc26212a32
MD5 de2e1fda82f32f2e92ef069b2a2e27c1
BLAKE2b-256 232823a24628a03646f74c276a062239583451ae03d3493c7dcc606105d701fb

See more details on using hashes here.

File details

Details for the file luxonis_ml-0.6.2-py3-none-any.whl.

File metadata

  • Download URL: luxonis_ml-0.6.2-py3-none-any.whl
  • Upload date:
  • Size: 207.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.21

File hashes

Hashes for luxonis_ml-0.6.2-py3-none-any.whl
Algorithm Hash digest
SHA256 5d5110a9e3f57933644f4396c63cf21251b8cc99cd9a86e24bb7174507ea2170
MD5 e90064966d36c8a3ae1af973f1dcb773
BLAKE2b-256 a6f1c3acc8a479eec351a2a30661a30018d7e097581d4bdac546da2ea3883d1b

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