* Some progress * refactoring * Refactor tests, run black * Refactor, flake * Minor change * Add support for num_output_channels * WIP * Add dependency * Almost done * Fix flake * Add MO convert * Minor changes * Add interpolation mode tests * Add requirements for preprocessing * Fix linter * Update tests * Fix type error * Introduce typing * Rename module * Code review * Update src/bindings/python/src/openvino/preprocess/torchvision/torchvision_preprocessing.py Co-authored-by: Anastasia Kuporosova <anastasia.kuporosova@intel.com> * Update src/bindings/python/src/openvino/preprocess/torchvision/preprocess_converter.py Co-authored-by: Anastasia Kuporosova <anastasia.kuporosova@intel.com> * CR changes * Fix mypy * Minor change * Minor change * Fix flake * typing change * Update types * Add tools to pythonpath * Add MO reqs * Minor change * Fix PT FE issue * bugfix * Use absolute path * Debug * Debug req path * Change MO to OVC * Enable PT FE building * Debug * Skip some tests on ARM * ADd ticket numbers * Some progress * refactoring * Refactor tests, run black * Refactor, flake * Minor change * Add support for num_output_channels * WIP * Add dependency * Almost done * Fix flake * Add MO convert * Minor changes * Add interpolation mode tests * Add requirements for preprocessing * Fix linter * Update tests * Fix type error * Introduce typing * Rename module * Code review * Update src/bindings/python/src/openvino/preprocess/torchvision/torchvision_preprocessing.py Co-authored-by: Anastasia Kuporosova <anastasia.kuporosova@intel.com> * Update src/bindings/python/src/openvino/preprocess/torchvision/preprocess_converter.py Co-authored-by: Anastasia Kuporosova <anastasia.kuporosova@intel.com> * CR changes * Fix mypy * Minor change * Minor change * Fix flake * typing change * Update types * Add tools to pythonpath * Add MO reqs * Minor change * Fix PT FE issue * bugfix * Use absolute path * Debug * Debug req path * Change MO to OVC * Enable PT FE building * Debug * Skip some tests on ARM * ADd ticket numbers * Update test val * Change pytest version * Modify GH workflow * Update cmake * Update cmake * fix cmake * Skip tests on ARM * Fix after OVC MO changes * Limit torch requirements * Raise allowed diff in test * Debug - remove new bindings * Debug - remove interpolation modes * Debug - change test * Cleanup * Minor change * Disable on ARM and Py<38 * Update ARM marker * limit torchvision for ARM --------- Co-authored-by: Anastasia Kuporosova <anastasia.kuporosova@intel.com> Co-authored-by: gklodkox <gracjanx.klodkowski@intel.com> Co-authored-by: Michal Lukaszewski <michal.lukaszewski@intel.com> |
||
|---|---|---|
| .. | ||
| docs | ||
| src | ||
| tests | ||
| tests_compatibility | ||
| thirdparty | ||
| wheel | ||
| .clang-format | ||
| .gitignore | ||
| CMakeLists.txt | ||
| README.md | ||
| constraints.txt | ||
| pyproject.toml | ||
| requirements.txt | ||
| requirements_test.txt | ||
| setup.cfg | ||
README.md
OpenVINO Python API
OpenVINO Python API is a part of the OpenVINO library. The component is responsible for:
- Bindings of OpenVINO - allowing users to use the OpenVINO library in their Python code. Python API provides bindings to basic and advanced APIs from OpenVINO Runtime.
- Extending OpenVINO with pythonic features - on top of direct translations from C++, Python API component:
- Adds specific extensions to support numpy-based data.
- Provides support for external frameworks inputs.
- Provides shortcuts and helpers with more pythonic design.
- Allows to apply advanced concepts, like shared memory, to take full advantage of OpenVINO.
OpenVINO Python API uses the common codestyle checks which are adjusted to project needs.
Key contacts
If you have any questions, feature requests or want us to review your PRs, send us a message or ping us on GitHub via openvino-ie-python-api-maintainers. You can always directly contact everyone from this group.
Components
OpenVINO PYTHON API has the following structure:
- docs - folder that contains developer documentation and code examples.
- src - folder with all source files for Python API.
- src/compatibility - sources for compatibility API, including older modules like
ngraphandopenvino.inference_engine. - src/openvino - Python sources for current API.
- src/pyopenvino - C++ sources for current API.
- src/compatibility - sources for compatibility API, including older modules like
- tests - tests directory for current API.
- tests_compatibility - tests directory for compatibility API.
- thirdparty - folder that contains third-party modules like
pybind11. - wheel - wheel-specific directory that contains all specific requirements and files used during wheel creation.
Tutorials
If you want to contribute to OpenVINO Python API, here is the list of learning materials and project guidelines:
- How to contribute
- How to extend OpenVINO Python API
- How to test OpenVINO Python API
- How to upgrade local Python version