* enable --compress_to_fp16 by default in MO * corrected docs, added warning if user did't specify --compress_to_fp16 explicitly * fix failing MO unit-tests * do not wipe out data_type if user defined it explicitly by cli argument * updated warning message and docs * corrected phrasing * corrected phrasing in FP16_Compression.md * set compress_to_fp16=False for convert tests * leftover: set compress_to_fp16=False for convert tests * minor correction * print info message in main.py, som minor changes * typos fix * fix losing information whether arguments set by user or got from defaults * returned back default values instead of None * more selective correcting of test_mo_convert_pytorch.py; added test for cases when compression is enabled/disabled or left by default * fix test_mo_convert_pytorch.py
Layer tests
This folder layer tests framework code and test files.
Getting Started
Pre-requisites
- OpenVINO should be configured as usual.
Setup
- Install requirements:
pip3 install -r requirements.txt - Set up environment variables for layer tests (if you use wheel package path to python api could be removed):
export PYTHONPATH="path_to_openvino"/tests/layer_tests/:"path_to_openvino"/tools/mo:"path to python api" - If there is need to use specific libs it is possible to specify path to them using OV_LIBRARY_PATH env variable
export OV_LIBRARY_PATH="path_to_libs" - To parametrize tests by device and precision (optional)
export TEST_DEVICE="CPU;GPU" export TEST_PRECISION="FP32;FP16"
Run tests
py.test