博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
linux install Openvino
阅读量:5047 次
发布时间:2019-06-12

本文共 9476 字,大约阅读时间需要 31 分钟。

recommend centos7

1.

browser download   to ~/obama.mp4

2. install ui 

Report error:

Transaction check error:  file /boot/efi/EFI/centos from install of fwupdate-efi-12-5.el7.centos.x86_64 conflicts with file from package grub2-common-1:2.02-0.65.el7.centos.2.noarch

resolve by  

2. Movidius

 

ncsdk 和 openvino 没有关系。

doc1: 

cd /opt/intel/computer_vision_sdk/deployment_tools/documentationpython3 -m http.server

doc2:

/opt/intel/computer_vision_sdk/deployment_tools/intel_modelspython3 -m http.server 8001

  

  

3. build exmaple

cd /opt/intel/computer_vision_sdk/deployment_tools/inference_engine/samples./build_samples.shecho "PATH=\$PATH:$HOME/inference_engine_samples_build/intel64/Release" >> ~/.bashrcsource ~/.bashrc# Build completed, you can find binaries for all samples in the /home/user/inference_engine_samples_build/intel64/Release subfolder.

  

ls /opt/intel/computer_vision_sdk/deployment_tools/intel_models

  

4.  

echo "MZOOPATH=/opt/intel/computer_vision_sdk/deployment_tools/intel_models" >> ~/.bashrcsource ~/.bashrc

  

 5. download new Model

cd /opt/intel/computer_vision_sdk/deployment_tools/model_downloaderecho "PATH=\$PATH:/opt/intel/computer_vision_sdk/deployment_tools/model_downloader" >> ~/.bashrcecho "PATH=\$PATH:/opt/intel/computer_vision_sdk/deployment_tools/model_optimizer" >> ~/.bashrcsource ~/.bashrc# python3 downloader.py --name alexnetdownloader.py --name alexnetcd $HOME/classification/alexnet/caffe/# python3 mo.py --input_model alexnet.caffemodelmo.py --input_model alexnet.caffemodel

 

6. classification   

wget  https://www.petmd.com/sites/default/files/what-does-it-mean-when-cat-wags-tail.jpg -O cat.jpgclassification_sample -i cat.jpg -m alexnet.xml -nt 5

7.  Security Barrier Camera Demo

cd $MZOOPATHsecurity_barrier_camera_demo -i vehicle-attributes-recognition-barrier-0039/description/vehicle-attributes-recognition-barrier-0039-1.png vehicle-attributes-recognition-barrier-0039/description/vehicle-attributes-recognition-barrier-0039-2.png  -m vehicle-license-plate-detection-barrier-0106/FP32/vehicle-license-plate-detection-barrier-0106.xml -m_va vehicle-attributes-recognition-barrier-0039/FP32/vehicle-attributes-recognition-barrier-0039.xml -m_lpr license-plate-recognition-barrier-0001/FP32/license-plate-recognition-barrier-0001.xmlsecurity_barrier_camera_demo -i  vehicle-attributes-recognition-barrier-0039/description/vehicle-attributes-recognition-barrier-0039-2.png  -m vehicle-license-plate-detection-barrier-0106/FP32/vehicle-license-plate-detection-barrier-0106.xml -m_va vehicle-attributes-recognition-barrier-0039/FP32/vehicle-attributes-recognition-barrier-0039.xml -m_lpr license-plate-recognition-barrier-0001/FP32/license-plate-recognition-barrier-0001.xmlsecurity_barrier_camera_demo -i vehicle-attributes-recognition-barrier-0039/description/vehicle-attributes-recognition-barrier-0039-1.png vehicle-attributes-recognition-barrier-0039/description/vehicle-attributes-recognition-barrier-0039-2.png  -m vehicle-license-plate-detection-barrier-0106/FP32/vehicle-license-plate-detection-barrier-0106.xml -m_va vehicle-attributes-recognition-barrier-0039/FP32/vehicle-attributes-recognition-barrier-0039.xml -m_lpr license-plate-recognition-barrier-0001/FP32/license-plate-recognition-barrier-0001.xmlsecurity_barrier_camera_demo -i vehicle-license-plate-detection-barrier-0106/description/vehicle-license-plate-detection-barrier-0106.jpeg vehicle-attributes-recognition-barrier-0039/description/vehicle-attributes-recognition-barrier-0039-2.png  -m vehicle-license-plate-detection-barrier-0106/FP32/vehicle-license-plate-detection-barrier-0106.xml -m_va vehicle-attributes-recognition-barrier-0039/FP32/vehicle-attributes-recognition-barrier-0039.xml -m_lpr license-plate-recognition-barrier-0001/FP32/license-plate-recognition-barrier-0001.xmlsecurity_barrier_camera_demo -i license-plate-recognition-barrier-0001/description/license-plate-recognition-barrier-0001.png vehicle-attributes-recognition-barrier-0039/description/vehicle-attributes-recognition-barrier-0039-2.png  -m vehicle-license-plate-detection-barrier-0106/FP32/vehicle-license-plate-detection-barrier-0106.xml -m_va vehicle-attributes-recognition-barrier-0039/FP32/vehicle-attributes-recognition-barrier-0039.xml -m_lpr license-plate-recognition-barrier-0001/FP32/license-plate-recognition-barrier-0001.xml

8. Object Detection for Faster R-CNN Demo

mkdir -p ~/ObjDetection/faster_rcnn/caffecd ~/ObjDetection/faster_rcnn/caffewget https://raw.githubusercontent.com/rbgirshick/py-faster-rcnn/master/models/pascal_voc/VGG16/faster_rcnn_end2end/test.prototxt# curl -k -O -L  https://dl.dropboxusercontent.com/s/o6ii098bu51d139/faster_rcnn_models.tgz?dl=0mv faster_rcnn_models.tgz* faster_rcnn_models.tgztar -zxvf faster_rcnn_models.tgz# cd faster_rcnn_models/mo_caffe.py --input_model  faster_rcnn_models/VGG16_faster_rcnn_final.caffemodel --input_proto test.prototxtobject_detection_demo -i $MZOOPATH/person-detection-retail-0002/description/person-detection-retail-0002.png -m VGG16_faster_rcnn_final.xml

 

cd $MZOOPATHobject_detection_demo -i $MZOOPATH/person-detection-retail-0002/description/person-detection-retail-0002.png -m person-detection-retail-0002/FP32/person-detection-retail-0002.xml --bbox_name detector/bbox/ave_pred -d CPU

 

8. Object Detection SSD Demo, Async API Performance Showcase

object_detection_demo_ssd_async -i <path_to_video>/inputVideo.mp4 -m <path_to_model>/ssd.xml -d GPU

9. Object Detection with SSD-VGG Sample

 

object_detection_sample_ssd -i $MZOOPATH/person-detection-retail-0013/description/person-detection-retail-0013.png -m $MZOOPATH/person-detection-retail-0013/FP32/person-detection-retail-0013.xml

 

10. TensorFlow* Object Detection Mask R-CNNs Segmentation Demo

./mask_rcnn_demo -i <path_to_image>/inputImage.bmp -m <path_to_model>/faster_rcnn.xml

  

11. Automatic Speech Recognition Sample

 

mkdir -p ~/kaldi/gna/cd ~/kaldi/gna/     wget https://download.01.org/openvinotoolkit/2018_R3/models_contrib/GNA/wsj_dnn5b_smbr/wsj_dnn5b.countswget https://download.01.org/openvinotoolkit/2018_R3/models_contrib/GNA/wsj_dnn5b_smbr/wsj_dnn5b.nnetwget https://download.01.org/openvinotoolkit/2018_R3/models_contrib/GNA/wsj_dnn5b_smbr/dev93_scores_10.arkwget https://download.01.org/openvinotoolkit/2018_R3/models_contrib/GNA/wsj_dnn5b_smbr/dev93_10.arkmo.py --framework kaldi --input_model wsj*.nnet  --counts wsj*.counts --remove_output_softmaxspeech_sample -d GNA_AUTO -bs 2 -i dev93_10.ark -m wsj_dnn5b.xml -o scores.ark -r dev93_scores_10.ark

  

12. Use of Sample in Kaldi* Speech Recognition Pipeline

普及

 

13. Neural Style Transfer Sample

$ locate  cat.jpg/home/user/ncappzoo/data/images/cat.jpg/home/user/ncsdk/examples/data/images/cat.jpg/opt/movidius/ssd-caffe/examples/images/cat.jpg

./style_transfer_sample -i <path_to_image>/cat.bmp -m <path_to_model>/1_decoder_FP32.xml

 

14. Hello Infer Request Classification Sample

 

cd $HOME/classification/alexnet/caffe/hello_request_classification alexnet.xml /home/user/ncsdk/examples/data/images/cat.jpg CPU

  

15. Interactive Face Detection Demo

 

16. Image Segmentation Demo

17. Crossroad Camera Demo 

cd $MZOOPATHcrossroad_camera_demo -i vdieo.mp4 -m person-vehicle-bike-detection-crossroad-0078/FP32/person-vehicle-bike-detection-crossroad-0078.xml -m_pa person-attributes-recognition-crossroad-0200/FP32/person-attributes-recognition-crossroad-0200.xml -m_reid person-reidentification-retail-0079/FP32/person-reidentification-retail-0079.xml

  

18. Multi-Channel Face Detection Demo 

multi-channel-demo -m $MZOOPATH/face-detection-retail-0004/FP32/face-detection-retail-0004.xml \-l $HOME/inference_engine_samples_build/intel64/Release/lib/libcpu_extension.so \-nc 1 -duplicate_num 3  

 

19. Hello Autoresize Classification Sample

cd $HOME/classification/alexnet/caffe/hello_autoresize_classification alexnet.xml /home/user/ncsdk/examples/data/images/cat.jpg CPU

  

20. Hello Shape Infer Sample

 ./hello_shape_infer_ssd <path_to_model>/ssd_300.xml <path_to_image>/500x500.bmp CPU 3

 

21. Human Pose Estimation Demo 

human_pose_estimation_demo -i ~/obama.mp4 -m $MZOOPATH/human-pose-estimation-0001/FP32/human-pose-estimation-0001.xml -d CPU

 

22. Object Detection YOLO* V3 Demo, Async API Performance Showcase

 object_detection_demo_yolov3_async -i <path_to_video>/inputVideo.mp4 -m <path_to_model>/yolo_v3.xml -d GPU

 

23. Pedestrian Tracker Demo

pedestrian_tracker_demo -i ~/obama.mp4 -m_det $MZOOPATH/person-detection-retail-0013/FP32/person-detection-retail-0013.xml -m_reid $MZOOPATH/person-reidentification-retail-0031/FP32/person-reidentification-retail-0031.xml

  

24. Smart Classroom Demo

./smart_classroom_demo -m_act <path to the person/action detection retail model .xml file> -m_fd <path to the face detection retail model .xml file> -m_reid <path to the face reidentification retail model .xml file> -m_lm <path to the landmarks regression retail model .xml file> -fg <path to faces_gallery.json> -i <path to the input video>

 

25. Super Resolution Demo

./super_resolution_demo -i <path_to_image>/image.bmp -m <path_to_model>/model.xml

 

26. 

 

cd ~git clone -b ssd https://github.com/weiliu89/caffe.gitcd caffegit branchcd ..wget http://host.robots.ox.ac.uk/pascal/VOC/voc2007/VOCtest_06-Nov-2007.tar   tar -xvf VOCtest_06-Nov-2007.tar

  

sed -i -e "s/^\(INCLUDE_DIRS := \$(PYTHON_INCLUDE) \/usr\/local\/include\)/\1 \/usr\/include\/hdf5\/serial\//" Makefile.configsed -i -e "s/hdf5_hl hdf5/hdf5_serial_hl hdf5_serial/" Makefile

  

转载于:https://www.cnblogs.com/shaohef/p/10189625.html

你可能感兴趣的文章
HDU 4920(杭电多校训练#5 1010 题) Matrix multiplication(不知道该挂个什么帽子。。。)...
查看>>
服务器端配置
查看>>
变态跳青蛙
查看>>
SVN版本控制服务
查看>>
Luogu P4342 Polygon 题解报告
查看>>
RHEL 6.5----iscsi多路径存储
查看>>
两侧跟随广告
查看>>
发生了 System.Data.SqlClient.SqlException HResult=0x80131904 Message=在与 SQL Server 建立连接时出现与网络相关的或特定...
查看>>
三种前端模块化规范
查看>>
三种隐藏元素方法的区别
查看>>
华为“云-管-端”:未来信息服务新架构
查看>>
Ruby系列教程(附ruby电子书下载)【转】
查看>>
php 数组排序
查看>>
基于Sentinel实现redis主从自动切换
查看>>
函数(二)
查看>>
oracle中所有存在不存在的用户都可以使用dba连接到数据库
查看>>
函数式编程思想
查看>>
java安全沙箱(二)之.class文件检验器
查看>>
http协议篇
查看>>
AngularJS的使用方法
查看>>