Ceci est une ancienne révision du document !
Table des matières
Intel Neural Compute Stick 2
OpenVINO
Intel Neural Compute Stick 2 est un calculateur, adapté aux produits Intel, dixit Intel.
IL a été concu pour être un calculateur sur un PC sans GPU, genre Raspberry Pi.
OpenVINO est un fork de OpenCV, optmisé pour les produits Intel:
- Intel Neural Compute Stick 2
- Le GPU intégré aux CPU Intel: genre HD 530
Installation de OpenVINO
* https://docs.openvinotoolkit.org/2021.3/openvino_docs_install_guides_installing_openvino_linux.html
pb dépendances
bug E: Impossible de récupérer http://realsense-hw-public.s3.amazonaws.com/Debian/apt-repo/dists/bionic/InRelease 403 Forbidden [IP : 52.218.108.170 80]
Dans le sources.list http://realsense-hw-public.s3.amazonaws.com/Debian/apt-repo/dists/bionic/InRelease devient
https://librealsense.intel.com/Debian/apt-repo
https://docs.openvinotoolkit.org/latest/omz_tools_downloader.html
https://docs.openvinotoolkit.org/latest/omz_demos_human_pose_estimation_demo_python.html
Conversion du caffemodel en Intermediate Representation IR
Convert a Caffe* Model to produce an optimized Intermediate Representation (IR) of the model based on the trained network topology, weights, and biases values
Dans le dossier du caffemodel:
python3 /opt/intel/openvino_2021/deployment_tools/model_optimizer/mo.py --input_model pose.caffemodel --input_proto pose.prototxt
Les fichiers .caffemodel et .prototxt doivent avoir les mêmes noms
mo.utils.error.Error: Exception occurred during running replacer "REPLACEMENT_ID" (<class 'extensions.middle.PartialInfer.PartialInfer'>): Stopped shape/value propagation at "pool1_stage1" node.
For more information please refer to Model Optimizer FAQ, question #38. (https://docs.openvinotoolkit.org/latest/openvino_docs_MO_DG_prepare_model_Model_Optimizer_FAQ.html?question=38#question-38)
OpenCV Deep Neural Network module cv2.dnn
serge@serge-PS42-8M:~$ python3 Python 3.6.9 (default, Jan 26 2021, 15:33:00) [GCC 8.4.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import cv2 >>> print(cv2.__version__) 4.5.2-openvino >>>