Outils pour utilisateurs

Outils du site


raspberry_pi_et_intel_neuronal_computer_stick_2

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentes Révision précédente
Prochaine révision
Révision précédente
raspberry_pi_et_intel_neuronal_computer_stick_2 [2019/07/04 13:25]
serge [Installation sur Ubuntu 16.14 sur un desktop dans Virtual Box]
raspberry_pi_et_intel_neuronal_computer_stick_2 [2019/07/17 16:45] (Version actuelle)
Benjamin Labomedia
Ligne 27: Ligne 27:
   * https://​software.intel.com/​en-us/​articles/​intel-neural-compute-stick-2-and-open-source-openvino-toolkit   * https://​software.intel.com/​en-us/​articles/​intel-neural-compute-stick-2-and-open-source-openvino-toolkit
    
-=====Installation sur Ubuntu 16.14 sur un desktop dans Virtual Box=====+=====Installation sur Ubuntu 16.04 sur un desktop dans Virtual Box=====
   * **https://​movidius.github.io/​ncsdk/​vm_config.html**   * **https://​movidius.github.io/​ncsdk/​vm_config.html**
 Voir [[debian_installation_configuration#​virtualbox_buster_10|VirtualBox Debian Installation Configuration]] pour activer les Guest Additions, les exentions, l'usb 3  Voir [[debian_installation_configuration#​virtualbox_buster_10|VirtualBox Debian Installation Configuration]] pour activer les Guest Additions, les exentions, l'usb 3 
Ligne 36: Ligne 36:
   sudo apt install git   sudo apt install git
   git clone -b ncsdk2 http://​github.com/​Movidius/​ncsdk && cd ncsdk && make install   git clone -b ncsdk2 http://​github.com/​Movidius/​ncsdk && cd ncsdk && make install
 +  ​
 +Installation longue avec beaucoup de paquets {{::​install_ncs2.txt.zip|}}.
 +
 +====Ne réinventons pas la poudre====
 +===Essai 0===
 +  * [[https://​richardstechnotes.com/​2019/​01/​03/​yolov3-object-detection-now-working-on-ncs-2/​|yolov3-object-detection-now-working-on-ncs-2]] dit que [[https://​richardstechnotes.com/​2018/​12/​01/​running-yolov3-with-openvino-on-cpu-and-not-ncs-2/​|running-yolov3-with-openvino-on-cpu-and-not-ncs-2/​]] marche depuis **OpenVINO version 2018.5.445**
 +
 +===Essai 1===
 +  *   * [[https://​github.com/​PINTO0309/​OpenVINO-YoloV3|Ubuntu LaptopPC+NCS/​NCS2+USB Camera+Python+OpenVINO]] [[https://​qiita.com/​PINTO|qiita.com/​PINTO]] **Très complet**
 +
 +1. Installation sur un laptop avec ubuntu 16.04
 +  cd ~
 +  curl -sc /tmp/cookie "​https://​drive.google.com/​uc?​export=download&​id=1ciX7cHqCh8lLFYI0HKkhC3r_fMirrlKk"​ > /dev/null
 +  CODE="​$(awk '/​_warning_/​ {print $NF}' /​tmp/​cookie)"​
 +  curl -Lb /tmp/cookie "​https://​drive.google.com/​uc?​export=download&​confirm=${CODE}&​id=1ciX7cHqCh8lLFYI0HKkhC3r_fMirrlKk"​ -o l_openvino_toolkit_p_2019.1.133.tgz
 +  tar -zxf l_openvino_toolkit_p_2019.1.133.tgz
 +  rm l_openvino_toolkit_p_2019.1.133.tgz
 +  cd l_openvino_toolkit_p_2019.1.133
 +  sudo -E ./​install_openvino_dependencies.sh
 +  sudo ./​install_GUI.sh
 +
 +2. Configure the Model Optimizer
 +  cd /​opt/​intel/​openvino/​install_dependencies/​
 +  sudo -E ./​install_openvino_dependencies.sh
 +  nano ~/.bashrc
 +  source /​opt/​intel/​openvino/​bin/​setupvars.sh
 +  source ~/.bashrc
 +  cd /​opt/​intel/​openvino/​deployment_tools/​model_optimizer/​install_prerequisites/​
 +  sudo ./​install_prerequisites.sh
 +
 +3. Additional installation steps for Intel® Neural Compute Stick v2
 +  sudo usermod -a -G users "​$(whoami)"​
 +  cat <<EOF > 97-usbboot.rules
 +  SUBSYSTEM=="​usb",​ ATTRS{idProduct}=="​2150",​ ATTRS{idVendor}=="​03e7",​ GROUP="​users",​ MODE="​0666",​ ENV{ID_MM_DEVICE_IGNORE}="​1"​
 +  SUBSYSTEM=="​usb",​ ATTRS{idProduct}=="​2485",​ ATTRS{idVendor}=="​03e7",​ GROUP="​users",​ MODE="​0666",​ ENV{ID_MM_DEVICE_IGNORE}="​1"​
 +  SUBSYSTEM=="​usb",​ ATTRS{idProduct}=="​f63b",​ ATTRS{idVendor}=="​03e7",​ GROUP="​users",​ MODE="​0666",​ ENV{ID_MM_DEVICE_IGNORE}="​1"​
 +  EOF
 +
 +  sudo cp 97-usbboot.rules /​etc/​udev/​rules.d/​
 +  sudo udevadm control --reload-rules
 +  sudo udevadm trigger
 +  sudo ldconfig
 +  rm 97-usbboot.rules
 +
 +4. Additional installation steps for processor graphics (GPU, Intel HD Graphics series only)
 +  cd /​opt/​intel/​openvino/​install_dependencies/​
 +  sudo -E su
 +  uname -r
 +
 +  ### Execute only when the kernel version is older than 4.14
 +  ./​install_4_14_kernel.sh
 +  ​
 +  ./​install_NEO_OCL_driver.sh
 +  sudo reboot
 =====Installation de Raspbian===== =====Installation de Raspbian=====
 <WRAP center round alert 60% centeralign>​ <WRAP center round alert 60% centeralign>​
Ligne 73: Ligne 127:
   * [[https://​www.raspberrypi.org/​documentation/​hardware/​raspberrypi/​bootmodes/​bootflow.md|Boot flow for models prior to the Raspberry Pi 4]]   * [[https://​www.raspberrypi.org/​documentation/​hardware/​raspberrypi/​bootmodes/​bootflow.md|Boot flow for models prior to the Raspberry Pi 4]]
  
-{{tag>ia sb}}+{{tag>ia sb raspberry_pi}}
  
  
  
  
raspberry_pi_et_intel_neuronal_computer_stick_2.1562239543.txt.gz · Dernière modification: 2019/07/04 13:25 par serge