ã€ã³ã¹ããŒã«ããŸã ã®äººã¯ãã€ã³ã¹ããŒã«ãå®äºããŠãã ããã
AIãå§ãããïŒOpenVINOã®ã€ã³ã¹ããŒã«ãããã¢ã®å®è¡ãŸã§
ã€ã³ãã«ãçšæããåŠç¿æžã¿ã¢ãã«ã䜿ã
OpenVINOããŒã«ãããã«ã¯ãã€ã³ãã«ãè©äŸ¡çšã«äœæããåŠç¿æžã¿ã¢ãã«ãå«ãŸããŸãŠããŸãã
ã€ã³ãã«ã¢ãã«ã®ãã©ã«ãïŒ/opt/intel/computer_vison_sdk/deployment_tools/intel_models/
ãã®ãã©ã«ãã®index.htmlãéããŠãã©ã®ãããªã¢ãã«ãçšæãããŠããã®ã確èªããŸãããã
ç©äœæ€åºãç»åèªèãç»åå確èªãã»ãã³ãã£ãã¯ã»ã°ã¡ã³ããŒã·ã§ã³ã®ïŒçš®é¡ã®ã¢ãã«ãçšæãããŠããŸãã
ç©äœæ€åºïŒé¡ã人ç©ãè»ãªã©ã®ç»åé åãæ€åºïŒ
ç»åèªèïŒè»çš®å€å®ãæ§å¥ã»å¹Žéœ¢ã®å€å®ïŒ
ç»åå確èªïŒç»åã®åäžæ§ãå€å®ïŒ
åç»ã®åãã¬ãŒã ã«æ ã£ããªããžã§ã¯ãïŒäººã®é¡ãè»ã®è»çš®ïŒãåãã§ãããå€å®ããéã«äœ¿çšããã

ã»ãã³ãã£ãã¯ã»ã°ã¡ã³ããŒã·ã§ã³
ç»åã«æ ã£ãé åãåå²ããŸããäŸãã°ãéè·¯ãšè»ãæšèãªã©ã®é åãèªèããŸãã


ãŸããïŒ©ïŒ²ã¯æŒç®ç²ŸåºŠãæå®ããŠå€æããå¿
èŠããããŸããæŒç®ç²ŸåºŠã«ã¯FP32ïŒïŒïŒãããæµ®åå°æ°ç¹æŒç®ïŒãŸãã¯ãFP16ïŒïŒïŒãããæµ®åå°æ°ç¹æŒç®ïŒã®ïŒã€ãèšå®ã§ããŸããå
æ¥ãGoogle Cloud Next 2018ã«åå ããéã«èãã話ã§ãããæŒç®ç²ŸåºŠã¯ããŸãæšè«çµæã«åœ±é¿ããªããšã®ããšã§ããããŸããæšè«ã«äœ¿ãããŒããŠã§ã¢ã«ãã£ãŠäœ¿ããæŒç®ç²ŸåºŠã«éããããã®ã§æ³šæãå¿
èŠã§ããCPUã¯FP16ã䜿ããŸãããMovidius(Myriad)ã¯FP32ã䜿ããŸããã
| FP32 | FP16 | |
|---|---|---|
| CPU | X | |
| GPU | X | X |
| MYRIAD | X |
ã€ã³ãã«ã¢ãã«ã§ã¯ãå粟床ã®ïŒ©ïŒ²ã以äžã®ãã£ã¬ã¯ããªã«åããŠæ ŒçŽããŠããŸãã
ïŒïŒããã粟床ïŒ/opt/intel/computer_vison_sdk/deployment_tools/intel_models/<ã¢ãã«å>/FP32/
ïŒïŒããã粟床ïŒ/opt/intel/computer_vison_sdk/deployment_tools/intel_models/<ã¢ãã«å>/FP16/
ã€ã³ãã«ã¢ãã«ã®å®è¡
ã§ã¯ãäžçªé¢çœã顿€åºã®ãµã³ãã«ããã°ã©ã ãå®è¡ããŠã¿ãŸããããUSBã«ã¡ã©ãæ¥ç¶ãããšãé¡ã®æ€åºçµæããªã¢ã«ã¿ã€ã ã«è¡šç€ºãããŸããäœ¿ãæ¹ã¯ããã«ãã§ç¢ºèªããŸãã
$ cd ~/inference_engine_samples/intel64/Release
$ ./interactive_face_detection_sample -h
InferenceEngine:
API version ............ 1.2
Build .................. 13911
interactive_face_detection [OPTION]
Options:
-h Print a usage message.
-i "<path>" Optional. Path to an video file. Default value is "cam" to work with camera.
-m "<path>" Required. Path to an .xml file with a trained face detection model.
-m_ag "<path>" Optional. Path to an .xml file with a trained age gender model.
-m_hp "<path>" Optional. Path to an .xml file with a trained head pose model.
-m_em "<path>" Optional. Path to an .xml file with a trained emotions model.
-l "<absolute_path>" Required for MKLDNN (CPU)-targeted custom layers.Absolute path to a shared library with the kernels impl.
Or
-c "<absolute_path>" Required for clDNN (GPU)-targeted custom kernels.Absolute path to the xml file with the kernels desc.
-d "<device>" Specify the target device for Face Detection (CPU, GPU, FPGA, or MYRIAD). Sample will look for a suitable plugin for device specified.
-d_ag "<device>" Specify the target device for Age Gender Detection (CPU, GPU, FPGA, or MYRIAD). Sample will look for a suitable plugin for device specified.
-d_hp "<device>" Specify the target device for Head Pose Detection (CPU, GPU, FPGA, or MYRIAD). Sample will look for a suitable plugin for device specified.
-d_em "<device>" Specify the target device for Emotions Detection (CPU, GPU, FPGA, or MYRIAD). Sample will look for a suitable plugin for device specified.
-n_ag "<num>" Specify number of maximum simultaneously processed faces for Age Gender Detection (default is 16).
-n_hp "<num>" Specify number of maximum simultaneously processed faces for Head Pose Detection (default is 16).
-n_em "<num>" Specify number of maximum simultaneously processed faces for Emotions Detection (default is 16).
-dyn_ag Enable dynamic batch size for AgeGender net.
-dyn_hp Enable dynamic batch size for HeadPose net.
-dyn_em Enable dynamic batch size for Emotions net.
-async Enable asynchronous mode
-no_wait No wait for key press in the end.
-no_show No show processed video.
-pc Enables per-layer performance report.
-r Inference results as raw values.
-t Probability threshold for detections.
æäœéã®ãã©ã¡ãŒã¿ãŒãšããŠã-iãš-mãæå®ããŸãã-iã¯å ¥åç»åã§ãä»åã¯USBã«ã¡ã©ãæå®ããŸãããã-mã¯IRã®XMLãã¡ã€ã«ãæå®ããŸããä»åã¯ãã€ã³ãã«ã¢ãã«ã®face-detection-retail-0004ã䜿çšããŸããã
ãŸãã¯ãã«ã¡ã©ãæ¥ç¶ããŠãã ãããããŒãã®å Žåã¯ãæ¬äœå èµã®ã«ã¡ã©ãå©çšã§ããŸãããŸããã³ãã³ãå ¥åã®éã®å ¥åæåæ°ãå°ãªããããã®ã§ãã€ã³ãã«ã¢ãã«ã®ãã©ã«ããŒãžã®ã·ã³ããªãã¯ãªã³ã¯ãäœæããŠããŸãã
$ln -s /opt/intel/computer_vision_sdk/deployment_tools/intel_models/
$ ./interactive_face_detection_sample -i cam -m intel_models/face-detection-retail-0004/FP32/face-detection-retail-0004.xml -d CPU
InferenceEngine:
API version ............ 1.2
Build .................. 13911
[ INFO ] Parsing input parameters
[ INFO ] Reading input
[ INFO ] Loading plugin CPU
API version ............ 1.2
Build .................. lnx_20180510
Description ....... MKLDNNPlugin
[ INFO ] Loading network files for Face Detection
[ INFO ] Batch size is set to 1
[ INFO ] Checking Face Detection inputs
[ INFO ] Checking Face Detection outputs
[ INFO ] Loading Face Detection model to the CPU plugin
[ INFO ] Age Gender DISABLED
[ INFO ] Head Pose DISABLED
[ INFO ] Emotions Recognition DISABLED
[ INFO ] Start inference
Press any key to stop
[ INFO ] Number of processed frames: 75
[ INFO ] Total image throughput: 14.3954 fps
[ INFO ] Execution successful
ãªã¢ã«ã¿ã€ã ã«é¡ãæ€åºãããã¯ãã§ããESCããŒã§çµäºããŠãã ããã
ãã®ãµã³ãã«ã§ã¯ã-mã®ã»ãã«ã-m_ag, -m_hp, -m_emã®3ã€ã®IRãæå®ã§ããŸãã
ã€ã³ã¿ãŒãããã«å ¬éãããã¢ãã«ã䜿ã
次ã«ã¢ãã«ããŠã³ããŒããŒãšã¢ãã«ãªããã£ãã€ã¶ã䜿ããã€ã³ã¿ãŒãããã«å ¬éãããŠããåŠç¿æžã¿ã¢ãã«ãããŠã³ããŒãããŠIRïŒäžé衚çŸïŒãäœæããŸãããã
ããŠã³ããŒãå¯èœãªã¢ãã«ã確èªããŸãã
$ cd /opt/intel/computer_vision_sdk/deployment_tools/model_downloader/
$ python3 downloader.py --print_all
densenet-121
densenet-161
densenet-169
densenet-201
squeezenet1.0
squeezenet1.1
mtcnn-p
mtcnn-r
mtcnn-o
mobilenet-ssd
vgg19
vgg16
ssd512
ssd300
inception-resnet-v2
dilation
googlenet-v1
googlenet-v2
googlenet-v4
alexnet
ssd_mobilenet_v2_coco
ã¢ãã«ã®ããŠã³ããŒã
AIåå¿è
ã®ç§ã«ã¯ã©ã®ã¢ãã«ã䜿ãã°ããã®ãããããªãã£ãã®ã§ãå
šãŠã®ã¢ãã«ãããŠã³ããŒãããŠã¿ãŸããã
ã€ã³ã¿ãŒãããç°å¢ã«ããããŸãããå
šãŠãããŠã³ããŒãããããã«ã¯ïŒæé以äžå¿
èŠã§ãã
$ cd /opt/intel/computer_vision_sdk/deployment_tools/model_downloader
$ python3 downloader.py -o ~/openvino_modles
ããŠã³ããŒãå ã®ãã£ã¬ã¯ããªã¯ããã¢ããã°ã©ã ã®å®è¡æã«ããŒã ãã£ã¬ã¯ããªã«äœæãããopenvino_modlesãæå®ããŸãããããŠã³ããŒããçµäºãããšããã§ããã£ã¬ã¯ããªã確èªããŠã¿ãŸãããã
$ tree ~/openvino_models
.
âââ classification
â âââ alexnet
â â âââ caffe
â â âââ alexnet.caffemodel
â â âââ alexnet.prototxt
â âââ densenet
â â âââ 121
â â â âââ caffe
â â â âââ densenet-121.caffemodel
â â â âââ densenet-121.prototxt
â â âââ 161
â â â âââ caffe
â â â âââ densenet-161.caffemodel
â â â âââ densenet-161.prototxt
â â âââ 169
â â â âââ caffe
â â â âââ densenet-169.caffemodel
â â â âââ densenet-169.prototxt
â â âââ 201
â â âââ caffe
â â âââ densenet-201.caffemodel
â â âââ densenet-201.prototxt
â âââ googlenet
â â âââ v1
â â â âââ caffe
â â â âââ googlenet-v1.caffemodel
â â â âââ googlenet-v1.prototxt
â â âââ v2
â â â âââ caffe
â â â âââ googlenet-v2.caffemodel
â â â âââ googlenet-v2.prototxt
â â âââ v4
â â âââ caffe
â â âââ googlenet-v4.caffemodel
â â âââ googlenet-v4.prototxt
â âââ inception-resnet
â â âââ v2
â â âââ caffe
â â âââ inception-resnet-v2.caffemodel
â â âââ inception-resnet-v2.prototxt
â âââ squeezenet
â â âââ 1.0
â â â âââ caffe
â â â âââ squeezenet1.0.caffemodel
â â â âââ squeezenet1.0.prototxt
â â âââ 1.1
â â âââ caffe
â â âââ squeezenet1.1.caffemodel
â â âââ squeezenet1.1.prototxt
â âââ vgg
â âââ 16
â â âââ caffe
â â âââ vgg16.caffemodel
â â âââ vgg16.prototxt
â âââ 19
â âââ caffe
â âââ vgg19.caffemodel
â âââ vgg19.prototxt
âââ ir
â âââ squeezenet1.1
â âââ squeezenet1.1.bin
â âââ squeezenet1.1.labels
â âââ squeezenet1.1.mapping
â âââ squeezenet1.1.xml
âââ object_detection
â âââ common
â âââ mobilenet-ssd
â â âââ caffe
â â âââ mobilenet-ssd.caffemodel
â â âââ mobilenet-ssd.prototxt
â âââ mtcnn
â â âââ o
â â â âââ caffe
â â â âââ mtcnn-o.caffemodel
â â â âââ mtcnn-o.prototxt
â â âââ p
â â â âââ caffe
â â â âââ mtcnn-p.caffemodel
â â â âââ mtcnn-p.prototxt
â â âââ r
â â âââ caffe
â â âââ mtcnn-r.caffemodel
â â âââ mtcnn-r.prototxt
â âââ ssd
â â âââ 300
â â â âââ caffe
â â â âââ models
â â â â âââ VGGNet
â â â â âââ VOC0712Plus
â â â â âââ SSD_300x300_ft
â â â â âââ finetune_ssd_pascal.py
â â â â âââ solver.prototxt
â â â â âââ test.prototxt
â â â â âââ train.prototxt
â â â âââ ssd300.caffemodel
â â â âââ ssd300.prototxt
â â â âââ ssd300.tar.gz
â â âââ 512
â â âââ caffe
â â âââ models
â â â âââ VGGNet
â â â âââ VOC0712Plus
â â â âââ SSD_512x512
â â â âââ solver.prototxt
â â â âââ ssd_pascal_512.py
â â â âââ test.prototxt
â â â âââ train.prototxt
â â âââ ssd512.caffemodel
â â âââ ssd512.prototxt
â â âââ ssd512.tar.gz
â âââ ssd_mobilenet_v2_coco
â âââ tf
â âââ ssd_mobilenet_v2_coco_2018_03_29
â â âââ checkpoint
â â âââ frozen_inference_graph.pb
â â âââ model.ckpt.data-00000-of-00001
â â âââ model.ckpt.index
â â âââ model.ckpt.meta
â â âââ pipeline.config
â â âââ saved_model
â â âââ saved_model.pb
â â âââ variables
â âââ ssd_mobilenet_v2_coco.tar.gz
âââ semantic_segmentation
âââ dilation
âââ cityscapes
âââ caffe
âââ dilation.caffemodel
âââ dilation.prototxt
ã¢ãã«ã¯ã以äžã®ïŒã€ã®ãã£ã¬ã¯ããªã«ããŠã³ããŒããããŸãã
- classification ãªããžã§ã¯ãåé¡
- object_detection ãªããžã§ã¯ãæ€åº
- semantic_segmentation ã»ãã³ãã£ãã¯ã»ã°ã¡ã³ããŒã·ã§ã³
åŠç¿æžã¿ã¢ãã«ãïŒäžé衚çŸïŒã«å€æ
ããŠã³ããŒããå®äºããããIRïŒäžé衚çŸïŒãžã®å€æãè¡ããŸããæ©éGoogLeNet V4ãIRã«å€æããŠã¿ãŸãã
以äžã®ã¹ã¯ãªãããä¿åããŠãå®è¡ããŠãã ãããIRã®ä¿åå
ã¯ãopenvino_modles/ir/ãšããŸããã
ãŸããã€ã³ãã«ã¢ãã«ã«å£ã£ãŠãæŒç®ç²ŸåºŠããšã«ãã¬ã¯ããªãŒïŒŠïŒ°ïŒïŒãšïŒŠïŒ°ïŒïŒã«åããŠããŸãã
ãªãã·ã§ã³ãšããŠ"--scale 256 --mean_values [105,105,105]âãæå®ããŠããŸããããããæå®ããªããšGoogLeNet V4ã§ã¯ãæ£ããæšè«ãããªãããã§ããæåæå®ããã«è©ŠããŸããããæšè«çµæãã§ãããã ã£ãã®ã§ãã€ã³ãã«ã®æ¹ã«çžè«ãããšããããã®ãªãã·ã§ã³ãã€ããããšãå©èšãããŸããã詳现ã¯äžæã§ãããã¹ã±ãŒãªã³ã°ãå¿ èŠãªã¢ãã«ã¯ããã®æå®ãå¿ èŠãªããã§ããæšè«ãæ£åžžã«çµäºããããçµæãæ£ãããªãå Žåã¯ããã®ãªãã·ã§ã³ã詊ããŠã¿ãŸãããã
# !/bin/bash
mo_path='/opt/intel/computer_vision_sdk/deployment_tools/model_optimizer/mo.py'
# classifdication
model_path=$HOME'/openvino_models/classification/googlenet/v4/caffe/googlenet-v4.caffemodel'
ir_path=$HOME'/openvino_models/ir/'
model_name='googlenet-v4'
add_option='--scale 256 --mean_values [105,105,105]'
data_type='FP32'
$mo_path --input_model $model_path --output_dir $ir_path$data_type/$model_name --data_type $data_type $add_option
data_type='FP16'
$mo_path --input_model $model_path --output_dir $ir_path$data_type/$model_name --data_type $data_type $add_option
倿ãå®è¡ããŸãã
$ ./conv_googlenetv4.sh
Model Optimizer arguments:
Common parameters:
- Path to the Input Model: /home/xxxx/openvino_models/classification/googlenet/v4/caffe/googlenet-v4.caffemodel
- Path for generated IR: /home/xxxx/openvino_models/ir/FP32/googlenet-v4
- IR output name: googlenet-v4
- 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: [105,105,105]
- Scale values: Not specified
- Scale factor: 256.0
- 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: /home/xxxx/openvino_models/classification/googlenet/v4/caffe/googlenet-v4.prototxt
- Path to CustomLayersMapping.xml: Default
- Path to a mean file: Not specified
- Offsets for a mean file: Not specified
Model Optimizer version: 1.2.185.5335e231
[ SUCCESS ] Generated IR model.
[ SUCCESS ] XML file: /home/xxxx/openvino_models/ir/FP32/googlenet-v4/googlenet-v4.xml
[ SUCCESS ] BIN file: /home/xxxx/openvino_models/ir/FP32/googlenet-v4/googlenet-v4.bin
[ SUCCESS ] Total execution time: 15.38 seconds.
Model Optimizer arguments:
Common parameters:
- Path to the Input Model: /home/xxxx/openvino_models/classification/googlenet/v4/caffe/googlenet-v4.caffemodel
- Path for generated IR: /home/xxxx/openvino_models/ir/FP16/googlenet-v4
- IR output name: googlenet-v4
- 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: [105,105,105]
- Scale values: Not specified
- Scale factor: 256.0
- Precision of IR: FP16
- 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: /home/xxxx/openvino_models/classification/googlenet/v4/caffe/googlenet-v4.prototxt
- Path to CustomLayersMapping.xml: Default
- Path to a mean file: Not specified
- Offsets for a mean file: Not specified
Model Optimizer version: 1.2.185.5335e231
[ SUCCESS ] Generated IR model.
[ SUCCESS ] XML file: /home/xxxx/openvino_models/ir/FP16/googlenet-v4/googlenet-v4.xml
[ SUCCESS ] BIN file: /home/xxxx/openvino_models/ir/FP16/googlenet-v4/googlenet-v4.bin
[ SUCCESS ] Total execution time: 15.89 seconds.
IRãäœæãããŸãã®ã§ãtreeã§ç¢ºèªããŠã¿ãŸãããã
å®éã«ãæšè«ã«äœ¿ããããã¡ã€ã«ã¯ãæ¡åŒµåãxmlãšbinã®ïŒã€ã§ãã
$ tree ir
ir
âââ FP16
â âââ googlenet-v4
â âââ googlenet-v4.bin
â âââ googlenet-v4.mapping
â âââ googlenet-v4.xml
âââ FP32
â âââ googlenet-v4
â âââ googlenet-v4.bin
â âââ googlenet-v4.mapping
â âââ googlenet-v4.xml
âââ squeezenet1.1
âââ squeezenet1.1.bin
âââ squeezenet1.1.labels
âââ squeezenet1.1.mapping
âââ squeezenet1.1.xml
æšè«ã®å®è¡
ã¢ãã«ãIRã«å€æã§ãããšããã§ãå®éã«è©ŠããŠã¿ãŸãããã
å
¥åã®ãã¡ã€ã«ã¯ãã€ã³ã¹ããŒã«ãã£ã¬ã¯ããªã®demoãã©ã«ããŒã«ããè»ã®åçã䜿ããŸããã
$ cd ~/inference_engine_samples/intel64/Release
$ ./classification_sample -m ~/openvino_models/ir/FP32/googlenet-v4/googlenet-v4.xml -i /opt/intel/computer_vision_sdk/deployment_tools/demo/car.png
[ INFO ] InferenceEngine:
API version ............ 1.2
Build .................. 13911
[ INFO ] Parsing input parameters
[ INFO ] Loading plugin
API version ............ 1.2
Build .................. lnx_20180510
Description ....... MKLDNNPlugin
[ INFO ] Loading network files:
/home/xxxx/openvino_models/ir/FP32/googlenet-v4/googlenet-v4.xml
/home/xxxx/openvino_models/ir/FP32/googlenet-v4/googlenet-v4.bin
[ INFO ] Preparing input blobs
[ WARNING ] Image is resized from (787, 259) to (299, 299)
[ 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 /opt/intel/computer_vision_sdk/deployment_tools/demo/car.png
817 0.2654692 label #817
511 0.1985555 label #511
436 0.1777671 label #436
581 0.0727099 label #581
479 0.0657209 label #479
627 0.0134304 label #627
656 0.0092363 label #656
468 0.0081523 label #468
717 0.0060212 label #717
751 0.0041756 label #751
total inference time: 214.2507583
Average running time of one iteration: 214.2507583 ms
Throughput: 4.6674281 FPS
[ INFO ] Execution successful
ã©ãã«çªå·ã§åºåãããã®ã§ããããããã§ããã
ã©ãã«ãã¡ã€ã«ãçšæãããŠããã®ã§ããããã³ããŒãããšèªèããåè£ã衚瀺ãããŸãã
ã©ãã«ãã¡ã€ã«ã¯ãã€ã³ã¹ããŒã«ãã£ã¬ã¯ããªã®demoãã©ã«ãã«ãããŸãã
/opt/intel/computer_vision_sdk/deployment_tools/demo/squeezenet1.1.labels
ããããIRã®ãã©ã«ããŒã«ã³ããŒããŸãããã®éã«ãæ¡åŒµåãé€ããã¡ã€ã«åãIRãã¡ã€ã«ãšåãã«ããŸãã
$ cp /opt/intel/computer_vision_sdk/deployment_tools/demo/squeezenet1.1.labels ~/openvino_models/ir/FP32/googlenet-v4/googlenet-v4.labels
$ ./classification_sample -m ~/openvino_models/ir/FP32/googlenet-v4/googlenet-v4.xml -i /opt/intel/computer_vision_sdk/deployment_tools/demo/car.png
[ INFO ] InferenceEngine:
API version ............ 1.2
Build .................. 13911
[ INFO ] Parsing input parameters
[ INFO ] Loading plugin
API version ............ 1.2
Build .................. lnx_20180510
Description ....... MKLDNNPlugin
[ INFO ] Loading network files:
/home/xxxx/openvino_models/ir/FP32/googlenet-v4/googlenet-v4.xml
/home/xxxx/openvino_models/ir/FP32/googlenet-v4/googlenet-v4.bin
[ INFO ] Preparing input blobs
[ WARNING ] Image is resized from (787, 259) to (299, 299)
[ 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 /opt/intel/computer_vision_sdk/deployment_tools/demo/car.png
817 0.2654692 label sports car, sport car
511 0.1985555 label convertible
436 0.1777671 label beach wagon, station wagon, wagon, estate car, beach waggon, station waggon, waggon
581 0.0727099 label grille, radiator grille
479 0.0657209 label car wheel
627 0.0134304 label limousine, limo
656 0.0092363 label minivan
468 0.0081523 label cab, hack, taxi, taxicab
717 0.0060212 label pickup, pickup truck
751 0.0041756 label racer, race car, racing car
total inference time: 305.9048653
Average running time of one iteration: 305.9048653 ms
Throughput: 3.2689902 FPS
[ INFO ] Execution successful
ããã§ãããããããªããŸããã
ã¡ãããšã¹ããŒãã«ãŒãšããŠèªèãããŠããŸããããããããªç»åãèªãŸããŠãæ£ããèå¥ããã詊ããŠã¿ãŸãããã
ãµã³ãã«ã®äœ¿ãæ¹ãçè§£ãããšããã§ã次ãã¯Pythonã§ç»åãå
¥åããŠæšè«ãè¡ãã³ãŒããæžããŠã¿ãŸãããã
AIãå§ãããïŒPythonã§OpenVINOã®ä»çµã¿ãçè§£ãã


