Summary
Quick step to build the Open Model Zoo Python* Model API package
Description
- Ran Open Model Zoo Demos and downloader.py in model_tools from Open Model Zoo GitHub* Repository.
- Encountered the following error:
from openvino.model_zoo.model_api.performance_metrics import PerformanceMetrics
ModuleNotFoundError: No module named 'openvino.model_zoo.model_api'
Resolution
As of OpenVINO™ Toolkit 2022.1 release, Open Model Zoo Demos requires the installation of the Python* Model API Package before running the Demos or Model Tools.
- Run pip install <omz_dir>/demos/common/python