使用Intel NCS2 算力棒 安装部署记录Windows 10, Intel openvino_toolkit_p_2019.1.148

Intel® Distribution of OpenVINO™ toolkit for macOS*.
Serial number : C2FN-7JNFLHRJ


Intel® Distribution of OpenVINO™ toolkit for Windows*.
Serial number : C9PJ-MNJ8TJ9B


Processors

6th to 8th generation Intel® Core™ and Intel® Xeon® processors
Compatible Operating Systems

    Ubuntu* 16.04.3 LTS (64 bit)
    Windows® 10 (64 bit)
    CentOS* 7.4 (64 bit)
    macOS* 10.13, 10.14 (64 bit)

 

cd C:\Program Files (x86)\IntelSWTools\openvino\bin\


Microsoft Windows [版本 10.0.18362.239]
(c) 2019 Microsoft Corporation。保留所有权利。

C:\Users\jamin>cd C:\Program Files (x86)\IntelSWTools\openvino\bin\

C:\Program Files (x86)\IntelSWTools\openvino\bin>setupvars.bat
Python 3.7.1
ECHO 处于关闭状态。
PYTHONPATH=C:\Program Files (x86)\IntelSWTools\openvino\python\python3.7;
[setupvars.bat] OpenVINO environment initialized

C:\Program Files (x86)\IntelSWTools\openvino\bin>cd C:\Program Files (x86)\IntelSWTools\openvino\deployment_tools\model_optimizer\install_prerequisites

C:\Program Files (x86)\IntelSWTools\openvino\deployment_tools\model_optimizer\install_prerequisites>install_prerequisites.bat
Python 3.7.1
ECHO 处于关闭状态。
Collecting tensorflow>=1.2.0 (from -r ..\requirements.txt (line 1))
  Downloading https://files.pythonhosted.org/packages/f7/08/25e47a53692c2e0dcd2211a493ddfe9007a5cd92e175d6dffa6169a0b392/tensorflow-1.14.0-cp37-cp37m-win_amd64.whl (68.3MB)
    100% |████████████████████████████████| 68.3MB 330kB/s
Collecting mxnet<=1.3.1,>=1.0.0 (from -r ..\requirements.txt (line 2))
  Downloading https://files.pythonhosted.org/packages/35/1d/b27b1f37ba21dde4bb4c84a1b57f4a4e29c576f2a0e6982dd091718f89c0/mxnet-1.3.1-py2.py3-none-win_amd64.whl (21.5MB)
    100% |████████████████████████████████| 21.5MB 425kB/s
Requirement already satisfied: networkx>=1.11 in c:\users\jamin\appdata\roaming\python\python37\site-packages (from -r ..\requirements.txt (line 3)) (2.2)
Requirement already satisfied: numpy>=1.12.0 in c:\users\jamin\appdata\roaming\python\python37\site-packages (from -r ..\requirements.txt (line 4)) (1.15.4)
Collecting protobuf==3.6.1 (from -r ..\requirements.txt (line 5))
  Downloading https://files.pythonhosted.org/packages/77/78/a7f1ce761e2c738e209857175cd4f90a8562d1bde32868a8cd5290d58926/protobuf-3.6.1-py2.py3-none-any.whl (390kB)
    100% |████████████████████████████████| 399kB 6.4MB/s
Collecting onnx>=1.1.2 (from -r ..\requirements.txt (line 6))
  Downloading https://files.pythonhosted.org/packages/e3/60/afe38e81d39109a545e4533bca8efcad48d4c616ec8be8bf46aed620f4e2/onnx-1.5.0-cp37-cp37m-win_amd64.whl (4.1MB)
    100% |████████████████████████████████| 4.1MB 513kB/s
Collecting test-generator==0.1.1 (from -r ..\requirements.txt (line 7))
  Downloading https://files.pythonhosted.org/packages/4a/52/e5eec4d926eb466844eaeeaac84af5372e946dd520fb2b6adf3388e620b0/test_generator-0.1.1-py2.py3-none-any.whl
Collecting defusedxml>=0.5.0 (from -r ..\requirements.txt (line 8))
  Downloading https://files.pythonhosted.org/packages/06/74/9b387472866358ebc08732de3da6dc48e44b0aacd2ddaa5cb85ab7e986a2/defusedxml-0.6.0-py2.py3-none-any.whl
Collecting keras-preprocessing>=1.0.5 (from tensorflow>=1.2.0->-r ..\requirements.txt (line 1))
  Downloading https://files.pythonhosted.org/packages/28/6a/8c1f62c37212d9fc441a7e26736df51ce6f0e38455816445471f10da4f0a/Keras_Preprocessing-1.1.0-py2.py3-none-any.whl (41kB)
    100% |████████████████████████████████| 51kB 3.0MB/s
Collecting absl-py>=0.7.0 (from tensorflow>=1.2.0->-r ..\requirements.txt (line 1))
  Downloading https://files.pythonhosted.org/packages/da/3f/9b0355080b81b15ba6a9ffcf1f5ea39e307a2778b2f2dc8694724e8abd5b/absl-py-0.7.1.tar.gz (99kB)
    100% |████████████████████████████████| 102kB 541kB/s
Collecting tensorflow-estimator<1.15.0rc0,>=1.14.0rc0 (from tensorflow>=1.2.0->-r ..\requirements.txt (line 1))
  Downloading https://files.pythonhosted.org/packages/3c/d5/21860a5b11caf0678fbc8319341b0ae21a07156911132e0e71bffed0510d/tensorflow_estimator-1.14.0-py2.py3-none-any.whl (488kB)
    100% |████████████████████████████████| 491kB 534kB/s
Collecting wrapt>=1.11.1 (from tensorflow>=1.2.0->-r ..\requirements.txt (line 1))
  Downloading https://files.pythonhosted.org/packages/23/84/323c2415280bc4fc880ac5050dddfb3c8062c2552b34c2e512eb4aa68f79/wrapt-1.11.2.tar.gz
Collecting grpcio>=1.8.6 (from tensorflow>=1.2.0->-r ..\requirements.txt (line 1))
  Downloading https://files.pythonhosted.org/packages/7a/f5/fe046577387a3589ab3092096ca423fcf9a8c7ac876f56c6f3b4c9b9e533/grpcio-1.22.0-cp37-cp37m-win_amd64.whl (1.6MB)
    100% |████████████████████████████████| 1.6MB 870kB/s
Collecting tensorboard<1.15.0,>=1.14.0 (from tensorflow>=1.2.0->-r ..\requirements.txt (line 1))
  Downloading https://files.pythonhosted.org/packages/91/2d/2ed263449a078cd9c8a9ba50ebd50123adf1f8cfbea1492f9084169b89d9/tensorboard-1.14.0-py3-none-any.whl (3.1MB)
    100% |████████████████████████████████| 3.2MB 51kB/s
Collecting astor>=0.6.0 (from tensorflow>=1.2.0->-r ..\requirements.txt (line 1))
  Downloading https://files.pythonhosted.org/packages/d1/4f/950dfae467b384fc96bc6469de25d832534f6b4441033c39f914efd13418/astor-0.8.0-py2.py3-none-any.whl
Collecting gast>=0.2.0 (from tensorflow>=1.2.0->-r ..\requirements.txt (line 1))
  Downloading https://files.pythonhosted.org/packages/4e/35/11749bf99b2d4e3cceb4d55ca22590b0d7c2c62b9de38ac4a4a7f4687421/gast-0.2.2.tar.gz
Requirement already satisfied: wheel>=0.26 in c:\python37\lib\site-packages (from tensorflow>=1.2.0->-r ..\requirements.txt (line 1)) (0.32.3)
Requirement already satisfied: six>=1.10.0 in c:\users\jamin\appdata\roaming\python\python37\site-packages (from tensorflow>=1.2.0->-r ..\requirements.txt (line 1)) (1.12.0)
Collecting google-pasta>=0.1.6 (from tensorflow>=1.2.0->-r ..\requirements.txt (line 1))
  Downloading https://files.pythonhosted.org/packages/d0/33/376510eb8d6246f3c30545f416b2263eee461e40940c2a4413c711bdf62d/google_pasta-0.1.7-py3-none-any.whl (52kB)
    100% |████████████████████████████████| 61kB 3.6MB/s
Collecting termcolor>=1.1.0 (from tensorflow>=1.2.0->-r ..\requirements.txt (line 1))
  Downloading https://files.pythonhosted.org/packages/8a/48/a76be51647d0eb9f10e2a4511bf3ffb8cc1e6b14e9e4fab46173aa79f981/termcolor-1.1.0.tar.gz
Collecting keras-applications>=1.0.6 (from tensorflow>=1.2.0->-r ..\requirements.txt (line 1))
  Downloading https://files.pythonhosted.org/packages/71/e3/19762fdfc62877ae9102edf6342d71b28fbfd9dea3d2f96a882ce099b03f/Keras_Applications-1.0.8-py3-none-any.whl (50kB)
    100% |████████████████████████████████| 51kB 3.0MB/s
Collecting graphviz<0.9.0,>=0.8.1 (from mxnet<=1.3.1,>=1.0.0->-r ..\requirements.txt (line 2))
  Downloading https://files.pythonhosted.org/packages/53/39/4ab213673844e0c004bed8a0781a0721a3f6bb23eb8854ee75c236428892/graphviz-0.8.4-py2.py3-none-any.whl
Collecting requests<2.19.0,>=2.18.4 (from mxnet<=1.3.1,>=1.0.0->-r ..\requirements.txt (line 2))
  Downloading https://files.pythonhosted.org/packages/49/df/50aa1999ab9bde74656c2919d9c0c085fd2b3775fd3eca826012bef76d8c/requests-2.18.4-py2.py3-none-any.whl (88kB)
    100% |████████████████████████████████| 92kB 4.0MB/s
Requirement already satisfied: decorator>=4.3.0 in c:\users\jamin\appdata\roaming\python\python37\site-packages (from networkx>=1.11->-r ..\requirements.txt (line 3)) (4.3.0)
Requirement already satisfied: setuptools in c:\python37\lib\site-packages (from protobuf==3.6.1->-r ..\requirements.txt (line 5)) (40.6.2)
Collecting typing>=3.6.4 (from onnx>=1.1.2->-r ..\requirements.txt (line 6))
  Downloading https://files.pythonhosted.org/packages/28/b8/a1d6b7cf322f91305bcb5e7d8f6c3028954d1e3e716cddc1cdce2ac63247/typing-3.7.4-py3-none-any.whl
Collecting typing-extensions>=3.6.2.1 (from onnx>=1.1.2->-r ..\requirements.txt (line 6))
  Downloading https://files.pythonhosted.org/packages/27/aa/bd1442cfb0224da1b671ab334d3b0a4302e4161ea916e28904ff9618d471/typing_extensions-3.7.4-py3-none-any.whl
Collecting markdown>=2.6.8 (from tensorboard<1.15.0,>=1.14.0->tensorflow>=1.2.0->-r ..\requirements.txt (line 1))
  Downloading https://files.pythonhosted.org/packages/c0/4e/fd492e91abdc2d2fcb70ef453064d980688762079397f779758e055f6575/Markdown-3.1.1-py2.py3-none-any.whl (87kB)
    100% |████████████████████████████████| 92kB 4.6MB/s
Collecting werkzeug>=0.11.15 (from tensorboard<1.15.0,>=1.14.0->tensorflow>=1.2.0->-r ..\requirements.txt (line 1))
  Downloading https://files.pythonhosted.org/packages/d1/ab/d3bed6b92042622d24decc7aadc8877badf18aeca1571045840ad4956d3f/Werkzeug-0.15.5-py2.py3-none-any.whl (328kB)
    100% |████████████████████████████████| 337kB 534kB/s
Collecting h5py (from keras-applications>=1.0.6->tensorflow>=1.2.0->-r ..\requirements.txt (line 1))
  Downloading https://files.pythonhosted.org/packages/4f/1e/89aa610afce8df6fd1f12647600a05e902238587ae6375442a3164b59d51/h5py-2.9.0-cp37-cp37m-win_amd64.whl (2.4MB)
    100% |████████████████████████████████| 2.4MB 515kB/s
Requirement already satisfied: certifi>=2017.4.17 in c:\users\jamin\appdata\roaming\python\python37\site-packages (from requests<2.19.0,>=2.18.4->mxnet<=1.3.1,>=1.0.0->-r ..\requirements.txt (line 2)) (2018.11.29)
Collecting urllib3<1.23,>=1.21.1 (from requests<2.19.0,>=2.18.4->mxnet<=1.3.1,>=1.0.0->-r ..\requirements.txt (line 2))
  Downloading https://files.pythonhosted.org/packages/63/cb/6965947c13a94236f6d4b8223e21beb4d576dc72e8130bd7880f600839b8/urllib3-1.22-py2.py3-none-any.whl (132kB)
    100% |████████████████████████████████| 133kB 544kB/s
Collecting idna<2.7,>=2.5 (from requests<2.19.0,>=2.18.4->mxnet<=1.3.1,>=1.0.0->-r ..\requirements.txt (line 2))
  Downloading https://files.pythonhosted.org/packages/27/cc/6dd9a3869f15c2edfab863b992838277279ce92663d334df9ecf5106f5c6/idna-2.6-py2.py3-none-any.whl (56kB)
    100% |████████████████████████████████| 61kB 3.6MB/s
Requirement already satisfied: chardet<3.1.0,>=3.0.2 in c:\users\jamin\appdata\roaming\python\python37\site-packages (from requests<2.19.0,>=2.18.4->mxnet<=1.3.1,>=1.0.0->-r ..\requirements.txt (line 2)) (3.0.4)
Building wheels for collected packages: absl-py, wrapt, gast, termcolor
  Running setup.py bdist_wheel for absl-py ... done
  Stored in directory: C:\Users\jamin\AppData\Local\pip\Cache\wheels\ee\98\38\46cbcc5a93cfea5492d19c38562691ddb23b940176c14f7b48
  Running setup.py bdist_wheel for wrapt ... done
  Stored in directory: C:\Users\jamin\AppData\Local\pip\Cache\wheels\d7\de\2e\efa132238792efb6459a96e85916ef8597fcb3d2ae51590dfd
  Running setup.py bdist_wheel for gast ... done
  Stored in directory: C:\Users\jamin\AppData\Local\pip\Cache\wheels\5c\2e\7e\a1d4d4fcebe6c381f378ce7743a3ced3699feb89bcfbdadadd
  Running setup.py bdist_wheel for termcolor ... done
  Stored in directory: C:\Users\jamin\AppData\Local\pip\Cache\wheels\7c\06\54\bc84598ba1daf8f970247f550b175aaaee85f68b4b0c5ab2c6
Successfully built absl-py wrapt gast termcolor
tensorboard 1.14.0 has requirement setuptools>=41.0.0, but you'll have setuptools 40.6.2 which is incompatible.
mxnet 1.3.1 has requirement numpy<1.15.0,>=1.8.2, but you'll have numpy 1.15.4 which is incompatible.
Installing collected packages: keras-preprocessing, absl-py, protobuf, tensorflow-estimator, wrapt, grpcio, markdown, werkzeug, tensorboard, astor, gast, google-pasta, termcolor, h5py, keras-applications, tensorflow, graphviz, urllib3, idna, requests, mxnet, typing, typing-extensions, onnx, test-generator, defusedxml
  Found existing installation: protobuf 3.5.1
    Uninstalling protobuf-3.5.1:
      Successfully uninstalled protobuf-3.5.1
  The script markdown_py.exe is installed in 'C:\Users\jamin\AppData\Roaming\Python\Python37\Scripts' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
  The script tensorboard.exe is installed in 'C:\Users\jamin\AppData\Roaming\Python\Python37\Scripts' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
  The scripts freeze_graph.exe, saved_model_cli.exe, tensorboard.exe, tf_upgrade_v2.exe, tflite_convert.exe, toco.exe and toco_from_protos.exe are installed in 'C:\Users\jamin\AppData\Roaming\Python\Python37\Scripts' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
  Found existing installation: urllib3 1.24.1
    Uninstalling urllib3-1.24.1:
      Successfully uninstalled urllib3-1.24.1
  Found existing installation: idna 2.8
    Uninstalling idna-2.8:
      Successfully uninstalled idna-2.8
  Found existing installation: requests 2.21.0
    Uninstalling requests-2.21.0:
      Successfully uninstalled requests-2.21.0
  The scripts backend-test-tools.exe, check-model.exe and check-node.exe are installed in 'C:\Users\jamin\AppData\Roaming\Python\Python37\Scripts' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
Successfully installed absl-py-0.7.1 astor-0.8.0 defusedxml-0.6.0 gast-0.2.2 google-pasta-0.1.7 graphviz-0.8.4 grpcio-1.22.0 h5py-2.9.0 idna-2.6 keras-applications-1.0.8 keras-preprocessing-1.1.0 markdown-3.1.1 mxnet-1.3.1 onnx-1.5.0 protobuf-3.6.1 requests-2.18.4 tensorboard-1.14.0 tensorflow-1.14.0 tensorflow-estimator-1.14.0 termcolor-1.1.0 test-generator-0.1.1 typing-3.7.4 typing-extensions-3.7.4 urllib3-1.22 werkzeug-0.15.5 wrapt-1.11.2
You are using pip version 18.1, however version 19.2.1 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.
*****************************************************************************************
Warning: please expect that Model Optimizer conversion might be slow.
You can boost conversion speed by installing protobuf-*.egg located in the
"model-optimizer\install_prerequisites" folder or building protobuf library from sources.
For more information please refer to Model Optimizer FAQ, question #80.

C:\Program Files (x86)\IntelSWTools\openvino\deployment_tools\model_optimizer\install_prerequisites>cd C:\Program Files (x86)\IntelSWTools\openvino\deployment_tools\demo\

C:\Program Files (x86)\IntelSWTools\openvino\deployment_tools\demo>demo_squeezenet_download_convert_run.bat
target_precision = FP32
Python 3.7.1
ECHO 处于关闭状态。
PYTHONPATH=C:\Program Files (x86)\IntelSWTools\openvino\python\python3.7;C:\Program Files (x86)\IntelSWTools\openvino\python\python3.7;
[setupvars.bat] OpenVINO environment initialized
INTEL_OPENVINO_DIR is set to C:\Program Files (x86)\IntelSWTools\openvino
Python 3.7.1
ECHO 处于关闭状态。
Requirement already satisfied: pyyaml in c:\users\jamin\appdata\roaming\python\python37\site-packages (3.13)
Requirement already satisfied: requests in c:\users\jamin\appdata\roaming\python\python37\site-packages (2.18.4)
Requirement already satisfied: idna<2.7,>=2.5 in c:\users\jamin\appdata\roaming\python\python37\site-packages (from requests) (2.6)
Requirement already satisfied: chardet<3.1.0,>=3.0.2 in c:\users\jamin\appdata\roaming\python\python37\site-packages (from requests) (3.0.4)
Requirement already satisfied: certifi>=2017.4.17 in c:\users\jamin\appdata\roaming\python\python37\site-packages (from requests) (2018.11.29)
Requirement already satisfied: urllib3<1.23,>=1.21.1 in c:\users\jamin\appdata\roaming\python\python37\site-packages (from requests) (1.22)
You are using pip version 18.1, however version 19.2.1 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.
Download public squeezenet1.1 model
python "C:\Program Files (x86)\IntelSWTools\openvino\deployment_tools\tools\model_downloader\downloader.py" --name squeezenet1.1 --output_dir C:\Users\jamin\Documents\Intel\OpenVINO\openvino_models\models\FP32 --cache_dir C:\Users\jamin\Documents\Intel\OpenVINO\openvino_models\ir\cache

###############|| Downloading topologies ||###############

========= Downloading C:\Users\jamin\Documents\Intel\OpenVINO\openvino_models\models\FP32\classification\squeezenet\1.1\caffe\squeezenet1.1.prototxt


========= Downloading C:\Users\jamin\Documents\Intel\OpenVINO\openvino_models\models\FP32\classification\squeezenet\1.1\caffe\squeezenet1.1.caffemodel
... 100%, 4834 KB, 81 KB/s, 59 seconds passed


###############|| Post processing ||###############

========= Replacing text in C:\Users\jamin\Documents\Intel\OpenVINO\openvino_models\models\FP32\classification\squeezenet\1.1\caffe\squeezenet1.1.prototxt =========
squeezenet1.1 model downloading completed

等待 1 秒,按一个键继续 ...

###############|| Install Model Optimizer prerequisites ||###############


等待 0 秒,按一个键继续 ...
Python 3.7.1
ECHO 处于关闭状态。
Requirement already satisfied: networkx>=1.11 in c:\users\jamin\appdata\roaming\python\python37\site-packages (from -r ..\requirements_caffe.txt (line 1)) (2.2)
Requirement already satisfied: numpy>=1.12.0 in c:\users\jamin\appdata\roaming\python\python37\site-packages (from -r ..\requirements_caffe.txt (line 2)) (1.15.4)
Requirement already satisfied: protobuf==3.6.1 in c:\users\jamin\appdata\roaming\python\python37\site-packages (from -r ..\requirements_caffe.txt (line 3)) (3.6.1)
Requirement already satisfied: test-generator==0.1.1 in c:\users\jamin\appdata\roaming\python\python37\site-packages (from -r ..\requirements_caffe.txt (line 4)) (0.1.1)
Requirement already satisfied: defusedxml>=0.5.0 in c:\users\jamin\appdata\roaming\python\python37\site-packages (from -r ..\requirements_caffe.txt (line 5)) (0.6.0)
Requirement already satisfied: decorator>=4.3.0 in c:\users\jamin\appdata\roaming\python\python37\site-packages (from networkx>=1.11->-r ..\requirements_caffe.txt (line 1)) (4.3.0)
Requirement already satisfied: setuptools in c:\python37\lib\site-packages (from protobuf==3.6.1->-r ..\requirements_caffe.txt (line 3)) (40.6.2)
Requirement already satisfied: six>=1.9 in c:\users\jamin\appdata\roaming\python\python37\site-packages (from protobuf==3.6.1->-r ..\requirements_caffe.txt (line 3)) (1.12.0)
You are using pip version 18.1, however version 19.2.1 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.
*****************************************************************************************
Warning: please expect that Model Optimizer conversion might be slow.
You can boost conversion speed by installing protobuf-*.egg located in the
"model-optimizer\install_prerequisites" folder or building protobuf library from sources.
For more information please refer to Model Optimizer FAQ, question #80.

等待 0 秒,按一个键继续 ...

###############|| Run Model Optimizer ||###############


等待 0 秒,按一个键继续 ...
python mo.py --input_model "C:\Users\jamin\Documents\Intel\OpenVINO\openvino_models\models\FP32\classification\squeezenet\1.1\caffe\squeezenet1.1.caffemodel" --output_dir "C:\Users\jamin\Documents\Intel\OpenVINO\openvino_models\ir\FP32\classification\squeezenet\1.1\caffe" --data_type FP32
Model Optimizer arguments:
Common parameters:
        - Path to the Input Model:      C:\Users\jamin\Documents\Intel\OpenVINO\openvino_models\models\FP32\classification\squeezenet\1.1\caffe\squeezenet1.1.caffemodel
        - Path for generated IR:        C:\Users\jamin\Documents\Intel\OpenVINO\openvino_models\ir\FP32\classification\squeezenet\1.1\caffe
        - IR output name:       squeezenet1.1
        - Log level:    ERROR
        - Batch:        Not specified, inherited from the model
        - Input layers:         Not specified, inherited from the model
        - Output layers:        Not specified, inherited from the model
        - Input shapes:         Not specified, inherited from the model
        - Mean values:  Not specified
        - Scale values:         Not specified
        - Scale factor:         Not specified
        - Precision of IR:      FP32
        - Enable fusing:        True
        - Enable grouped convolutions fusing:   True
        - Move mean values to preprocess section:       False
        - Reverse input channels:       False
Caffe specific parameters:
        - Enable resnet optimization:   True
        - Path to the Input prototxt:   C:\Users\jamin\Documents\Intel\OpenVINO\openvino_models\models\FP32\classification\squeezenet\1.1\caffe\squeezenet1.1.prototxt
        - Path to CustomLayersMapping.xml:      extensions\front\caffe\CustomLayersMapping.xml
        - Path to a mean file:  Not specified
        - Offsets for a mean file:      Not specified
Model Optimizer version:        2019.1.1-83-g28dfbfd
Please expect that Model Optimizer conversion might be slow. You are currently using Python protobuf library implementation.
However you can use the C++ protobuf implementation that is supplied with the OpenVINO toolkitor build protobuf library from sources.
Navigate to "install_prerequisites" folder and run: python -m easy_install protobuf-3.5.1-py($your_python_version)-win-amd64.egg
set PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=cpp


 For more information please refer to Model Optimizer FAQ (/deployment_tools/documentation/docs/MO_FAQ.html), question #80.

[ SUCCESS ] Generated IR model.
[ SUCCESS ] XML file: C:\Users\jamin\Documents\Intel\OpenVINO\openvino_models\ir\FP32\classification\squeezenet\1.1\caffe\squeezenet1.1.xml
[ SUCCESS ] BIN file: C:\Users\jamin\Documents\Intel\OpenVINO\openvino_models\ir\FP32\classification\squeezenet\1.1\caffe\squeezenet1.1.bin
[ SUCCESS ] Total execution time: 7.10 seconds.

等待 0 秒,按一个键继续 ...

###############|| Generate VS solution for Inference Engine samples using cmake ||###############


等待 0 秒,按一个键继续 ...
"vswhere tool is not found"
Creating Visual Studio 14 2015 x64 files in C:\Users\jamin\Documents\Intel\OpenVINO\inference_engine_samples_build...
-- Selecting Windows SDK version 10.0.14393.0 to target Windows 10.0.18362.
-- The C compiler identification is MSVC 19.0.24215.1
-- The CXX compiler identification is MSVC 19.0.24215.1
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/x86_amd64/cl.exe
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/x86_amd64/cl.exe -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/x86_amd64/cl.exe
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/x86_amd64/cl.exe -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Check size of __int32
-- Check size of __int32 - done
-- Found InferenceEngine: C:/Program Files (x86)/IntelSWTools/openvino/deployment_tools/inference_engine/lib/intel64/Release/inference_engine.lib (Required is at least version "1.6")
-- Performing Test HAVE_CPUID_INFO
-- Performing Test HAVE_CPUID_INFO - Success
-- Host CPU features:
--   3DNOW not supported
--   3DNOWEXT not supported
--   ABM not supported
--   ADX supported
--   AES supported
--   AVX supported
--   AVX2 supported
--   AVX512CD not supported
--   AVX512F not supported
--   AVX512ER not supported
--   AVX512PF not supported
--   BMI1 supported
--   BMI2 supported
--   CLFSH supported
--   CMPXCHG16B supported
--   CX8 supported
--   ERMS supported
--   F16C supported
--   FMA supported
--   FSGSBASE supported
--   FXSR supported
--   HLE not supported
--   INVPCID supported
--   LAHF supported
--   LZCNT supported
--   MMX supported
--   MMXEXT not supported
--   MONITOR supported
--   MOVBE supported
--   MSR supported
--   OSXSAVE supported
--   PCLMULQDQ supported
--   POPCNT supported
--   PREFETCHWT1 not supported
--   RDRAND supported
--   RDSEED supported
--   RDTSCP supported
--   RTM not supported
--   SEP supported
--   SHA not supported
--   SSE supported
--   SSE2 supported
--   SSE3 supported
--   SSE4.1 supported
--   SSE4.2 supported
--   SSE4a not supported
--   SSSE3 supported
--   SYSCALL supported
--   TBM not supported
--   XOP not supported
--   XSAVE supported
-- TBB include: C:/Program Files (x86)/IntelSWTools/openvino/deployment_tools/inference_engine/external/tbb/include
-- TBB Release lib: C:/Program Files (x86)/IntelSWTools/openvino/deployment_tools/inference_engine/lib/intel64/Release/tbb.lib
-- TBB Debug lib: C:/Program Files (x86)/IntelSWTools/openvino/deployment_tools/inference_engine/lib/intel64/Debug/tbb_debug.lib
-- Looking for pthread.h
-- Looking for pthread.h - not found
-- Found Threads: TRUE
-- Configuring done
-- Generating done
-- Build files have been written to: C:/Users/jamin/Documents/Intel/OpenVINO/inference_engine_samples_build

等待 0 秒,按一个键继续 ...

###############|| Build Inference Engine samples using MS Visual Studio (MSBuild.exe) ||###############


等待 0 秒,按一个键继续 ...
C:\Program Files (x86)\MSBuild\14.0\Bin\MSBuild.exe" Samples.sln /p:Configuration=Release /t:classification_sample /clp:ErrorsOnly /m
Microsoft (R) 生成引擎版本 14.0.25420.1
版权所有(C) Microsoft Corporation。保留所有权利。


等待 0 秒,按一个键继续 ...

###############|| Run Inference Engine classification sample ||###############


等待 0 秒,按一个键继续 ...
已复制         1 个文件。
classification_sample.exe -i "C:\Program Files (x86)\IntelSWTools\openvino\deployment_tools\demo\\car.png" -m "C:\Users\jamin\Documents\Intel\OpenVINO\openvino_models\ir\FP32\classification\squeezenet\1.1\caffe\squeezenet1.1.xml" -d CPU
[ INFO ] InferenceEngine:
        API version ............ 1.6
        Build .................. 23780
[ INFO ] Parsing input parameters
[ INFO ] Files were added: 1
[ INFO ]     C:\Program Files (x86)\IntelSWTools\openvino\deployment_tools\demo\\car.png
[ INFO ] Loading plugin

        API version ............ 1.6
        Build .................. 23780
        Description ....... MKLDNNPlugin
[ INFO ] Loading network files:
        C:\Users\jamin\Documents\Intel\OpenVINO\openvino_models\ir\FP32\classification\squeezenet\1.1\caffe\squeezenet1.1.xml
        C:\Users\jamin\Documents\Intel\OpenVINO\openvino_models\ir\FP32\classification\squeezenet\1.1\caffe\squeezenet1.1.bin
[ INFO ] Preparing input blobs
[ WARNING ] Image is resized from (787, 259) to (227, 227)
[ INFO ] Batch size is 1
[ INFO ] Preparing output blobs
[ INFO ] Loading model to the plugin
[ INFO ] Starting inference (1 iterations)
[ INFO ] Processing output blobs

Top 10 results:

Image C:\Program Files (x86)\IntelSWTools\openvino\deployment_tools\demo\\car.png

classid probability label
------- ----------- -----
817     0.8363345   sports car, sport car
511     0.0946488   convertible
479     0.0419131   car wheel
751     0.0091071   racer, race car, racing car
436     0.0068161   beach wagon, station wagon, wagon, estate car, beach waggon, station waggon, waggon
656     0.0037564   minivan
586     0.0025741   half track
717     0.0016069   pickup, pickup truck
864     0.0012027   tow truck, tow car, wrecker
581     0.0005882   grille, radiator grille


total inference time: 5.9635998
Average running time of one iteration: 5.9635998 ms

Throughput: 167.6839556 FPS

[ INFO ] Execution successful

###############|| Classification demo completed successfully ||###############

等待  0 秒,按一个键继续 ...

C:\Program Files (x86)\IntelSWTools\openvino\deployment_tools\demo>demo_security_barrier_camera.bat
target_precision = FP32
Python 3.7.1
ECHO 处于关闭状态。
PYTHONPATH=C:\Program Files (x86)\IntelSWTools\openvino\python\python3.7;C:\Program Files (x86)\IntelSWTools\openvino\python\python3.7;
[setupvars.bat] OpenVINO environment initialized
INTEL_OPENVINO_DIR is set to C:\Program Files (x86)\IntelSWTools\openvino
Python 3.7.1
ECHO 处于关闭状态。
Requirement already satisfied: pyyaml in c:\users\jamin\appdata\roaming\python\python37\site-packages (3.13)
Requirement already satisfied: requests in c:\users\jamin\appdata\roaming\python\python37\site-packages (2.18.4)
Requirement already satisfied: urllib3<1.23,>=1.21.1 in c:\users\jamin\appdata\roaming\python\python37\site-packages (from requests) (1.22)
Requirement already satisfied: certifi>=2017.4.17 in c:\users\jamin\appdata\roaming\python\python37\site-packages (from requests) (2018.11.29)
Requirement already satisfied: idna<2.7,>=2.5 in c:\users\jamin\appdata\roaming\python\python37\site-packages (from requests) (2.6)
Requirement already satisfied: chardet<3.1.0,>=3.0.2 in c:\users\jamin\appdata\roaming\python\python37\site-packages (from requests) (3.0.4)
You are using pip version 18.1, however version 19.2.1 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.
python "C:\Program Files (x86)\IntelSWTools\openvino\deployment_tools\tools\model_downloader\downloader.py" --name vehicle-license-plate-detection-barrier-0106 --output_dir C:\Users\jamin\Documents\Intel\OpenVINO\openvino_models\ir\FP32 --cache_dir C:\Users\jamin\Documents\Intel\OpenVINO\openvino_models\ir\cache

###############|| Downloading topologies ||###############

========= Downloading C:\Users\jamin\Documents\Intel\OpenVINO\openvino_models\ir\FP32\Security\object_detection\barrier\0106\dldt\vehicle-license-plate-detection-barrier-0106.xml
... 100%, 95 KB, 84 KB/s, 1 seconds passed

========= Downloading C:\Users\jamin\Documents\Intel\OpenVINO\openvino_models\ir\FP32\Security\object_detection\barrier\0106\dldt\vehicle-license-plate-detection-barrier-0106.bin
... 100%, 2512 KB, 397 KB/s, 6 seconds passed


###############|| Post processing ||###############

python "C:\Program Files (x86)\IntelSWTools\openvino\deployment_tools\tools\model_downloader\downloader.py" --name vehicle-attributes-recognition-barrier-0039 --output_dir C:\Users\jamin\Documents\Intel\OpenVINO\openvino_models\ir\FP32 --cache_dir C:\Users\jamin\Documents\Intel\OpenVINO\openvino_models\ir\cache

###############|| Downloading topologies ||###############

========= Downloading C:\Users\jamin\Documents\Intel\OpenVINO\openvino_models\ir\FP32\Security\object_attributes\vehicle\resnet10_update_1\dldt\vehicle-attributes-recognition-barrier-0039.xml


========= Downloading C:\Users\jamin\Documents\Intel\OpenVINO\openvino_models\ir\FP32\Security\object_attributes\vehicle\resnet10_update_1\dldt\vehicle-attributes-recognition-barrier-0039.bin
... 100%, 2445 KB, 590 KB/s, 4 seconds passed


###############|| Post processing ||###############

python "C:\Program Files (x86)\IntelSWTools\openvino\deployment_tools\tools\model_downloader\downloader.py" --name license-plate-recognition-barrier-0001 --output_dir C:\Users\jamin\Documents\Intel\OpenVINO\openvino_models\ir\FP32 --cache_dir C:\Users\jamin\Documents\Intel\OpenVINO\openvino_models\ir\cache

###############|| Downloading topologies ||###############

========= Downloading C:\Users\jamin\Documents\Intel\OpenVINO\openvino_models\ir\FP32\Security\optical_character_recognition\license_plate\dldt\license-plate-recognition-barrier-0001.xml
... 100%, 24 KB, 64 KB/s, 0 seconds passed

========= Downloading C:\Users\jamin\Documents\Intel\OpenVINO\openvino_models\ir\FP32\Security\optical_character_recognition\license_plate\dldt\license-plate-recognition-barrier-0001.bin
... 100%, 4757 KB, 305 KB/s, 15 seconds passed


###############|| Post processing ||###############


###############|| Generate VS solution for Inference Engine samples using cmake ||###############


等待 0 秒,按一个键继续 ...
"vswhere tool is not found"
Creating Visual Studio 14 2015 x64 files in C:\Users\jamin\Documents\Intel\OpenVINO\inference_engine_samples_build...
-- Selecting Windows SDK version 10.0.14393.0 to target Windows 10.0.18362.
-- The C compiler identification is MSVC 19.0.24215.1
-- The CXX compiler identification is MSVC 19.0.24215.1
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/x86_amd64/cl.exe
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/x86_amd64/cl.exe -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/x86_amd64/cl.exe
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/x86_amd64/cl.exe -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Check size of __int32
-- Check size of __int32 - done
-- Found InferenceEngine: C:/Program Files (x86)/IntelSWTools/openvino/deployment_tools/inference_engine/lib/intel64/Release/inference_engine.lib (Required is at least version "1.6")
-- Performing Test HAVE_CPUID_INFO
-- Performing Test HAVE_CPUID_INFO - Success
-- Host CPU features:
--   3DNOW not supported
--   3DNOWEXT not supported
--   ABM not supported
--   ADX supported
--   AES supported
--   AVX supported
--   AVX2 supported
--   AVX512CD not supported
--   AVX512F not supported
--   AVX512ER not supported
--   AVX512PF not supported
--   BMI1 supported
--   BMI2 supported
--   CLFSH supported
--   CMPXCHG16B supported
--   CX8 supported
--   ERMS supported
--   F16C supported
--   FMA supported
--   FSGSBASE supported
--   FXSR supported
--   HLE not supported
--   INVPCID supported
--   LAHF supported
--   LZCNT supported
--   MMX supported
--   MMXEXT not supported
--   MONITOR supported
--   MOVBE supported
--   MSR supported
--   OSXSAVE supported
--   PCLMULQDQ supported
--   POPCNT supported
--   PREFETCHWT1 not supported
--   RDRAND supported
--   RDSEED supported
--   RDTSCP supported
--   RTM not supported
--   SEP supported
--   SHA not supported
--   SSE supported
--   SSE2 supported
--   SSE3 supported
--   SSE4.1 supported
--   SSE4.2 supported
--   SSE4a not supported
--   SSSE3 supported
--   SYSCALL supported
--   TBM not supported
--   XOP not supported
--   XSAVE supported
-- TBB include: C:/Program Files (x86)/IntelSWTools/openvino/deployment_tools/inference_engine/external/tbb/include
-- TBB Release lib: C:/Program Files (x86)/IntelSWTools/openvino/deployment_tools/inference_engine/lib/intel64/Release/tbb.lib
-- TBB Debug lib: C:/Program Files (x86)/IntelSWTools/openvino/deployment_tools/inference_engine/lib/intel64/Debug/tbb_debug.lib
-- Looking for pthread.h
-- Looking for pthread.h - not found
-- Found Threads: TRUE
-- Configuring done
-- Generating done
-- Build files have been written to: C:/Users/jamin/Documents/Intel/OpenVINO/inference_engine_samples_build

等待 0 秒,按一个键继续 ...

###############|| Build Inference Engine samples using MS Visual Studio (MSBuild.exe) ||###############


等待 0 秒,按一个键继续 ...
"C:\Program Files (x86)\MSBuild\14.0\Bin\MSBuild.exe" Samples.sln /p:Configuration=Release /t:security_barrier_camera_demo /clp:ErrorsOnly /m
Microsoft (R) 生成引擎版本 14.0.25420.1
版权所有(C) Microsoft Corporation。保留所有权利。


等待 0 秒,按一个键继续 ...

###############|| Run Inference Engine security barrier camera demo ||###############


等待 0 秒,按一个键继续 ...
"C:\Users\jamin\Documents\Intel\OpenVINO\inference_engine_samples_build\intel64\Release\security_barrier_camera_demo.exe" -i "C:\Program Files (x86)\IntelSWTools\openvino\deployment_tools\demo\\car_1.bmp" -m "C:\Users\jamin\Documents\Intel\OpenVINO\openvino_models\ir\FP32\Security\object_detection\barrier\0106\dldt\vehicle-license-plate-detection-barrier-0106.xml" -m_va "C:\Users\jamin\Documents\Intel\OpenVINO\openvino_models\ir\FP32\Security\object_attributes\vehicle\resnet10_update_1\dldt\vehicle-attributes-recognition-barrier-0039.xml" -m_lpr "C:\Users\jamin\Documents\Intel\OpenVINO\openvino_models\ir\FP32\Security\optical_character_recognition\license_plate\dldt\license-plate-recognition-barrier-0001.xml" -d CPU -d_va CPU -d_lpr CPU
[ INFO ] InferenceEngine:
        API version ............ 1.6
        Build .................. 23780
[ INFO ] Parsing input parameters
[ INFO ] Capturing video streams from the video files or loading images
[ INFO ] Files were added: 1
[ INFO ]     C:\Program Files (x86)\IntelSWTools\openvino\deployment_tools\demo\\car_1.bmp
[ INFO ] Number of input image files: 1
[ INFO ] Number of input video files: 0
[ INFO ] Number of input channels: 1
[ INFO ] Display resolution: 1920x1080
[ INFO ] Loading plugin CPU

        API version ............ 1.6
        Build .................. 23780
        Description ....... MKLDNNPlugin
[ INFO ] Loading network files for VehicleDetection
[ INFO ] Batch size is forced to  1
[ INFO ] Checking Vehicle Detection inputs
[ INFO ] Checking Vehicle Detection outputs
[ INFO ] Loading Vehicle Detection model to the CPU plugin
[ INFO ] Loading network files for VehicleAttribs
[ INFO ] Batch size is forced to 1 for Vehicle Attribs
[ INFO ] Checking VehicleAttribs inputs
[ INFO ] Checking Vehicle Attribs outputs
[ INFO ] Loading Vehicle Attribs model to the CPU plugin
[ INFO ] Loading network files for Licence Plate Recognition (LPR)
[ INFO ] Batch size is forced to  1 for LPR Network
[ INFO ] Checking LPR Network inputs
[ INFO ] Checking LPR Network outputs
[ INFO ] Loading LPR model to the CPU plugin
[ INFO ] Start inference
To close the application, press 'CTRL+C' or any key with focus on the output window

使用Intel NCS2 算力棒 安装部署记录Windows 10, Intel openvino_toolkit_p_2019.1.148_第1张图片

你可能感兴趣的:(PCI佳都科技)