Skip to content

Latest commit

 

History

History
32 lines (27 loc) · 937 Bytes

DEVELOPER.md

File metadata and controls

32 lines (27 loc) · 937 Bytes

Instruction for launching tests of Model Analyzer on Ubuntu

NOTE: The Model Analyzer branches are synced with branches in the OpenVINO repository.

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

  1. 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. 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