OpenVINO™ Training Extensions¶
OpenVINO™ Training Extensions (OTE) provide a suite of advanced algorithms to train Deep Learning models and convert them using the OpenVINO™ toolkit for optimized inference. It allows you to export and convert the models to the needed format. OTE independently create and train the model. It is open-sourced and available on GitHub.
To start working with OTE, prepare and annotate your dataset. For example, on CVAT.
OTE train the model, using training interface, and evaluate the model quality on your dataset, using evaluation and inference interfaces.
Note: prepare a separate dataset or split the dataset you have for more accurate quality evaluation.
Having successful evaluation results received, you have an opportunity to deploy your model or continue optimizing it, using NNCF and POT. For more information about these frameworks, go to Optimization Guide.
If the results are unsatisfactory, add datasets and perform the same steps, starting with dataset annotation.
Clone repository in the working directory by running the following:
git clone https://github.com/openvinotoolkit/training_extensions.git cd training_extensions git checkout -b develop origin/develop git submodule update --init --recursive
Install prerequisites by running the following:
sudo apt-get install python3-pip python3-venv
Search for available scripts that create python virtual environments for different task types:
find external/ -name init_venv.sh
external/mmdetection/init_venv.sh external/mmsegmentation/init_venv.sh external/deep-object-reid/init_venv.sh
Create, activate Object Detection virtual environment, and install
./external/mmdetection/init_venv.sh det_venv source det_venv/bin/activate pip3 install -e ote_cli/
To learn more about OTE CLI commands go to GitHub.
If you want to contribute, refer to Contributing guide before starting work on a pull request.
Deep Learning Deployment Toolkit is licensed under Apache License Version 2.0. By contributing to the project, you agree to the license and copyright terms therein and release your contribution under these terms.