私的AI研究会 > OpenVINO13

OpenVINO™ Toolkit for Linux「Core™ i7-2620M」

 OpenVINO™ツールキットを手持ちのノートパソコンにインストールする。
 第2世代 CPU の実行速度の違いを調査する。

※ 最終更新:2021/04/16 

「OpenVINO™ Toolkit for Linux」のインストール

事前準備

OpenVINO™ Toolkit のダウンロード

OpenVINO™ Toolkit のインストール

  1. ダウンロードされたパッケージを解凍
  2. 解凍したパッケージの中にあるインストーラを起動
  3. 依存関係の外部パッケージをインストール
  4. 環境変数の設定
  5. Model Optimizer の設定
  6. サンプルデモの実行1 demo_security_barrier_camera.sh
  7. サンプルデモの実行2 demo_squeezenet_download_convert_run.sh
  8. サンプルデモの実行3 demo_benchmark_app.sh
  9. 推論モデルファイルの一括ダウンロード
  10. Pytorch をインストールする。
  11. パブリックモデルの一括コンバート
    $ python3 /opt/intel/openvino_2021/deployment_tools/tools/model_downloader/converter.py --all
        :
    
    [ SUCCESS ] Total execution time: 52.05 seconds. 
    [ SUCCESS ] Memory consumed: 1779 MB. 
    It's been a while, check for a new version of Intel(R) Distribution of OpenVINO(TM) toolkit here https://software.intel.com/content/www/us/en/develop/tools/openvino-toolkit/choose-download.html?cid=other&source=Prod&campid=ww_2021_bu_IOTG&content=upg_pro&medium=organic_uid_agjj or on the GitHub*
    
    FAILED:
    brain-tumor-segmentation-0001
    cocosnet
    efficientnet-b5-pytorch
    efficientnet-b7-pytorch
    face-recognition-mobilefacenet-arcface
    face-recognition-resnet100-arcface
    face-recognition-resnet34-arcface
    face-recognition-resnet50-arcface
    googlenet-v3-pytorch
    mobilefacedet-v1-mxnet
    octave-densenet-121-0.125
    octave-resnet-101-0.125
    octave-resnet-200-0.125
    octave-resnet-26-0.25
    octave-resnet-50-0.125
    octave-resnext-101-0.25
    octave-resnext-50-0.25
    octave-se-resnet-50-0.125
    retinaface-anti-cov
    retinaface-resnet50
    vgg19-caffe2
     コンバートできないモデルは 21

  12. 学習済みモデルをまとめる。

OpenVINO™ ツールキット サンプルデモのインストール

 詳しくは ここ を参照。
 オフィシャルサイト Open Model Zoo Demos の手順で付属のデモを構築する。

Open Model Zoo Demos を動かす 3

3D Human Pose Estimation Python* Demo

デモの実行

速度比較

項目Core™
i5-10210
Hyper-V Core™
i7-6700
Celeron®
J4005
Celeron®
J4005 + NCS2
Hyper-v Core™
i7-2620M
fps13.56.61.13.91.5

Action Recognition Python* Demo

デモの実行

速度比較

項目Core™
i5-10210
Hyper-V Core™
i7-6700
Celeron®
J4005
Celeron®
J4005 + NCS2
Hyper-v Core™
i7-2620M
Data totaifps11521469984642
ms0.871010121.56
Encoder totalfps235951117521.4
ms4.310.5915.746.8
Decoder totalfps44202.5537.9
ms235040019126
Render totalfps27152.026.64.66
ms376749438215

Object Detection Python* Demo

デモの実行

速度比較

項目Core™
i5-10210
Hyper-V Core™
i7-6700
Celeron®
J4005
Celeron®
J4005 + NCS2
Hyper-v Core™
i7-2620M
Latency(ms)219.2431657515152623
fps4.52.50.21.90.4

Human Pose Estimation Python* Demo

デモの実行

速度比較

項目Core™
i5-10210
Hyper-V Core™
i7-6700
Celeron®
J4005
Celeron®
J4005 + NCS2
Hyper-v Core™
i7-2620M
USER_SPECIFIDE modeFPS17.39.21.20.51.9
Latency (ms)44.1104714236534
MIN_LATENCY modeFPS19.99.51.23.91.7
Latency (ms)48.1101701236.5563

Gesture Recognition Python* Demo

デモの実行

速度比較

項目Core™
i5-10210
Hyper-V Core™
i7-6700
Celeron®
J4005
Celeron®
J4005 + NCS2
Hyper-v Core™
i7-2620M
fps14.38.70.95X1.9
fps14.58.80.94X1.9

Handwritten Text Recognition Demo

デモの実行

速度比較

項目Core™
i5-10210
Hyper-V Core™
i7-6700
Celeron®
J4005
Celeron®
J4005 + NCS2
Hyper-v Core™
i7-2620M
Average throughput(ms)27760343538662742

Text Detection C++ Demo

デモの実行

速度比較

項目Core™
i5-10210
Hyper-V Core™
i7-6700
Celeron®
J4005
Celeron®
J4005 + NCS2
Hyper-v Core™
i7-2620M
detection model inferencems10218511546851079
fps9.85.40.871.460.93
detection model postprocessingms40.469148154111
fps24.714.46.766.509.0
recognition model inferencems7.114.610376.077.3
fps14068.79.7013.212.9
recognition model postprocessingms0.0070.010.0150.040.012
fps13636491731633482316081328

Crossroad Camera C++ Demo

デモの実行

速度比較

項目Core™
i5-10210
Hyper-V Core™
i7-6700
Celeron®
J4005
Celeron®
J4005 + NCS2
Hyper-v Core™
i7-2620M
detection time(ms)3050.1312.2275.3342
fps32143,13.63.0

Human Pose Estimation C++ Demo

デモの実行

速度比較

項目Core™
i5-10210
Hyper-V Core™
i7-6700
Celeron®
J4005
Celeron®
J4005 + NCS2
Hyper-v Core™
i7-2620M
SYNCOpwnCV cap/render timems59.6363716.5
Wallclock timems45100710248510
fps13101.44.11.93
Detection timems4595677205503
fps22101.54.01.8
ASYNCOpwnCV cap/render timems914693628
Wallclock timems509571242536
fps19101.4242.0

Object Detection C++ Demo

デモの実行

速度比較

項目Core™
i5-10210
Hyper-V Core™
i7-6700
Celeron®
J4005
Celeron®
J4005 + NCS2
Hyper-v Core™
i7-2620M
Latency(ms)2245259.3145.1162
fps73.042.37.513.011.8

Smart Classroom C++ Demo

デモの実行

速度比較

項目Core™
i5-10210
Hyper-V Core™
i7-6700
Celeron®
J4005
Celeron®
J4005 + NCS2
Hyper-v Core™
i7-2620M
fps2112132.3

Pedestrian Tracker C++ Demo

デモの実行

Super Resolution C++ Demo

デモの実行

Single Human Pose Estimation Demo (top-down pipeline)

デモの実行

速度比較

項目Core™
i5-10210
Hyper-V Core™
i7-6700
Celeron®
J4005
Celeron®
J4005 + NCS2
Hyper-v Core™
i7-2620M
summary (fps)0.90.70.10.50.2
estimation (fps)5.62.40.31.60.5
detection (fps)109.969.19.122.214.3

Interactive Face Detection C++ Demo

デモの実行

速度比較

項目Core™
i5-10210
Hyper-V Core™
i7-6700
Celeron®
J4005
Celeron®
J4005 + NCS2
Hyper-v Core™
i7-2620M
throughput (fps)19.39.160.450.61.9

Gaze Estimation Demo

デモの実行

速度比較

項目Core™
i5-10210
Hyper-V Core™
i7-6700
Celeron®
J4005
Celeron®
J4005 + NCS2
Hyper-v Core™
i7-2620M
Overeli (fps)110635514
Interface (fps)2021065716

Security Barrier Camera C++ Demo

デモの実行

速度比較

項目Core™
i5-10210
Hyper-V Core™
i7-6700
Celeron®
J4005
Celeron®
J4005 + NCS2
Hyper-v Core™
i7-2620M
fps164.510611.724.725.9

テスト環境

更新履歴

参考資料


Last-modified: 2021-05-18 (火) 13:30:00