Introduction#
OpenVINO™ Training Extensions is a low-code transfer learning framework for Computer Vision.
The framework’s CLI commands and API allow users to easily train, infer, optimize and deploy models, even with limited deep learning expertise. OpenVINO™ Training Extensions offers diverse combinations of model architectures, learning methods, and task types based on PyTorch , Lightning and OpenVINO™ toolkit.
OpenVINO™ Training Extensions provide recipe for every supported task type, which consolidates necessary information to build a model. Model templates are validated on various datasets and serve one-stop shop for obtaining the best models in general. If you are an experienced user, you can configure your own model based on torchvision, mmcv and OpenVINO Model Zoo (OMZ) frameworks.
Furthermore, OpenVINO™ Training Extensions provides automatic configuration of task types and hyperparameters. The framework will identify the most suitable recipe based on your dataset, and choose the best hyperparameter configuration. The development team is continuously extending functionalities to make training as simple as possible so that single CLI command can obtain accurate, efficient and robust models ready to be integrated into your project.
Key Features#
OpenVINO™ Training Extensions supports the following computer vision tasks:
Classification, including multi-class, multi-label and hierarchical image classification tasks.
Object detection including rotated bounding box support
Semantic segmentation
Instance segmentation including tiling algorithm support
Action recognition including action classification and detection
Anomaly recognition tasks including anomaly classification, detection and segmentation
Visual Prompting tasks including segment anything model, zero-shot visual prompting
OpenVINO™ Training Extensions supports the following learning methods:
Supervised, incremental training, which includes class incremental scenario.
OpenVINO™ Training Extensions will provide the following features in coming releases:
Distributed training to accelerate the training process when you have multiple GPUs
Half-precision training to save GPUs memory and use larger batch sizes
Integrated, efficient hyper-parameter optimization module (HPO). Through dataset proxy and built-in hyper-parameter optimizer, you can get much faster hyper-parameter optimization compared to other off-the-shelf tools. The hyperparameter optimization is dynamically scheduled based on your resource budget.
OpenVINO™ Training Extensions uses Datumaro as the backend to handle datasets. On account of that, OpenVINO™ Training Extensions supports the most common academic field dataset formats for each task. In the future there will be more supported formats available to give more freedom of datasets format choice.
Improved auto-configuration functionality. OpenVINO™ Training Extensions analyzes provided dataset and selects the proper task and model recipe to provide the best accuracy/speed trade-off. It will also make a random auto-split of your dataset if there is no validation set provided.
Documentation content#
Quick start guide:
Learn more about how to install OpenVINO™ Training Extensions
Learn more about how to use OpenVINO™ Training Extensions Python API.
Learn more about how to use OpenVINO™ Training Extensions CLI commands
Tutorials:
Learn how to train a classification model
Learn how to train a detection model.
Learn how to train an instance segmentation model
Learn how to train a semantic segmentation model
Learn how to train an anomaly detection model
Learn how to train an action classification model
Learn how to train a visual prompting model
Learn how to use advanced features of OpenVINO™ Training Extensions
Explanation section:
This section consists of an algorithms explanation and describes additional features that are supported by OpenVINO™ Training Extensions. Algorithms section includes a description of all supported algorithms:
Explanation of the task and main supervised training pipeline.
Description of the supported datasets formats for each task.
Available recipes and models.
Incremental learning approach.
Additional Features section consists of:
Overview of model optimization algorithms.
Hyperparameters optimization functionality (HPO).
Auto-configuration algorithm to select the most appropriate training pipeline for a given dataset.
Reference:
This section gives an overview of the OpenVINO™ Training Extensions code base, where source code for Entities, classes and functions can be found.
Release Notes:
This section contains descriptions of current and previous releases.