Skip to content

Latest commit

 

History

History
38 lines (31 loc) · 1.01 KB

DEVELOPER.md

File metadata and controls

38 lines (31 loc) · 1.01 KB

Instruction for launching tests of Model Analyzer on Ubuntu

NOTE: It is recommended to use Python virtual environment to work with the repository

  1. Install OpenVINO package

  2. OPTIONAL Create and activate Python virtual environment:

python3 -m pip install virtualenv
python3 -m virtualenv venv
source venv/bin/activate
  1. Install required packages:
pip install -r requirements.txt
pip install -r requirements_dev.txt
  1. Initialize the OpenVINO environment:
source ~/intel/openvino_2022/setupvars.sh
  1. Run the script to download models for tests:
python tests/download_models.py --config tests/data/IRv10_models.json
python tests/download_models.py --config tests/data/onnx_models.json
  1. Set environment variables to the downloaded models directory:
export MODELS_PATH=tests/data/models
  1. Run the tests
pytest --disable-warnings -r A