/openvino_practice

Practice git, Travis CI and Intel OpenVINO

Primary LanguageC++

Intel OpenVINO practice

This is a set of interactive modules which will help you study and practice:

chat

📊 Check your progress at https://dkurt.github.io/openvino_practice

Getting started

An every task is a separate folder in modules subfolder. To start new module always do:

  1. Nagivate to a base branch

    git checkout master
    
  2. Create a new local branch with unique name

    git checkout -b practice_classification
    

Start with Git, GitHub and Travis CI module to complete first task.

Build instruction

Download OpenVINO: https://software.seek.intel.com/openvino-toolkit

Linux

  1. Open terminal and navigate to the project folder. Create build folder.
cd openvino_practice
mkdir build
cd build
  1. Setup environment
source /opt/intel/openvino/bin/setupvars.sh
  1. Build
cmake -DCMAKE_BUILD_TYPE=Release .. && make --j$(nproc --all)
  1. Run tests for specific module
./bin/test_classification

Windows

  1. Download useful programs
  1. Open terminal (Start -> Developer Command Prompt) and navigate to the project folder. Create a build folder.
cd openvino_practice
mkdir build
cd build
  1. Setup environment (in Start -> Developer Command Prompt)
"C:\Program Files (x86)\IntelSWTools\openvino\bin\setupvars.bat"
  1. Prepare project files (NOTE: value after -G flag might be different for your version of Visual Studio)
"C:\Program Files\CMake\bin\cmake.exe" -G "Visual Studio 15 2017 Win64" ..
  1. Build (choose one of the options)

    4.1 Using Visual Studio:

     Open `openvino_practice/build/openvino_practice.sln`.
    
     Choose Relese x64 configuration. Press `Build -> Build Solution`
    

    4.2 Using terminal:

     "C:\Program Files\CMake\bin\cmake.exe" --build . --config Release
    
  2. Run tests for specific module (in terminal)

.\bin\Release\test_classification.exe