Intel OpenVINO 茞åº
ãã®ã¬ã€ãã§ã¯ãYOLOv8 ã®ã¢ãã«ã OpenVINOãã©ãŒããããžã®ãšã¯ã¹ããŒããåãäžããŸãã CPUã®ã¹ããŒãã¢ãããšãYOLO æšè«ã®é«éåã«ã€ããŠèª¬æãããIntel GPUãNPUããŒããŠã§ã¢äžã§ã® æšè«ã®é«éåã«ã€ããŠèª¬æããŸãã
OpenVINOOpen Visual Inference &Neural NetworkOptimization toolkitã®ç¥ã§ãAIæšè«ã¢ãã«ã®æé©åãšå±éã®ããã®å æ¬çãªããŒã«ãããã§ãããååã«Visualãå«ãŸããŠããŸãããOpenVINO ãèšèªãé³å£°ãæç³»åãªã©æ§ã ãªè¿œå ã¿ã¹ã¯ããµããŒãããŠããŸãã
èŠããã ïŒ OpenVINO ã䜿ã£ãæšè«ã®ããã«Ultralytics YOLOv8 ã¢ãã«ããšã¯ã¹ããŒãããŠæé©åããæ¹æ³ .
䜿çšäŸ
YOLOv8n ã¢ãã«ãOpenVINO 圢åŒã«ãšã¯ã¹ããŒããããšã¯ã¹ããŒãããã¢ãã«ã§æšè«ãå®è¡ããã
äŸ
from ultralytics import YOLO
# Load a YOLOv8n PyTorch model
model = YOLO("yolov8n.pt")
# Export the model
model.export(format="openvino") # creates 'yolov8n_openvino_model/'
# Load the exported OpenVINO model
ov_model = YOLO("yolov8n_openvino_model/")
# Run inference
results = ov_model("https://ultralytics.com/images/bus.jpg")
è°è«
ã㌠| äŸ¡å€ | 説æ |
---|---|---|
format |
'openvino' |
ãšã¯ã¹ããŒããããã©ãŒããã |
imgsz |
640 |
ã¹ã«ã©ãŒãŸã㯠(h, w) ãªã¹ããšããŠã®ç»åãµã€ãºïŒããªãã¡ (640, 480) |
half |
False |
FP16éåå |
int8 |
False |
INT8 éåå |
batch |
1 |
æšè«ã®ããããµã€ãº |
dynamic |
False |
ãã€ãããã¯ãªå ¥åãµã€ãºãå¯èœ |
ã¡ãªããOpenVINO
- ããã©ãŒãã³ã¹ïŒIntel CPUãçµ±åGPUããã£ã¹ã¯ãªãŒãGPUãFPGAã®ãã¯ãŒã掻çšããããšã§ãOpenVINO ãé«æ§èœãªæšè«ãå®çŸã
- ããããžãã¢ã¹å®è¡ã®ãµããŒãïŒOpenVINO ã¯ãäžåºŠæžãã°ããµããŒããããŠããIntel ããŒããŠã§ã¢ïŒCPU ãGPU ãFPGAãVPUãªã©ïŒã«ãããã€ã§ããAPIãæäŸããã
- ã¢ãã«ã»ãªããã£ãã€ã¶ãŒïŒOpenVINO ã¯ãPyTorch ãªã©ã®äžè¬çãªãã£ãŒãã©ãŒãã³ã°ã»ãã¬ãŒã ã¯ãŒã¯ã®ã¢ãã«ãã€ã³ããŒããå€æãæé©åããã¢ãã«ã»ãªããã£ãã€ã¶ãŒãæäŸããã TensorFlowTensorFlow LiteãKerasãONNX ãPaddlePaddle ãCaffeã
- 䜿ããããïŒããŒã«ãããã«ã¯ãããŒã«ãããã®ããŸããŸãªåŽé¢ãæãã80以äžã®ãã¥ãŒããªã¢ã«ããŒããã㯠ïŒYOLOv8 æé©åãå«ãïŒãä»å±ããŠããŸãã
OpenVINO 茞åºæ§é
ã¢ãã«ãOpenVINO ãã©ãŒãããã«ãšã¯ã¹ããŒããããšã次ã®ãããªãã£ã¬ã¯ããªãäœæãããŸãïŒ
- XMLãã¡ã€ã«ïŒãããã¯ãŒã¯ã®ããããžãŒãèšè¿°ããã
- BINãã¡ã€ã«ïŒweights and biases ãã€ããªããŒã¿ãå«ãã
- ãããã³ã°ãã¡ã€ã«ïŒå ã®ã¢ãã«åºåãã³ãœã«ã®OpenVINO tensor ãžã®ãããã³ã°ãä¿æããã
ãããã®ãã¡ã€ã«ã䜿çšããŠãOpenVINO æšè«ãšã³ãžã³ã§æšè«ãå®è¡ããããšãã§ããã
ãããã€ã¡ã³ãã§OpenVINO ãšã¯ã¹ããŒãã䜿çšãã
OpenVINO ãã¡ã€ã«ãå ¥æããããOpenVINO Runtimeã䜿ã£ãŠã¢ãã«ãå®è¡ããããšãã§ãããã©ã³ã¿ã€ã ã¯ããµããŒããããŠãããã¹ãŠã®Intel ããŒããŠã§ã¢ã«ããã£ãŠæšè«ãè¡ãããã®çµ±äžãããAPIãæäŸããããŸããIntel ããŒããŠã§ã¢éã®ããŒããã©ã³ã·ã³ã°ãéåæå®è¡ãªã©ã®é«åºŠãªæ©èœãæäŸããŸããæšè«ã®å®è¡ã«é¢ãã詳现ã¯ããInference withOpenVINO RuntimeGuideããåç §ããŠãã ããã
Runtimeã§ã¢ãã«ãæ£ããã»ããã¢ããããŠäœ¿çšããã«ã¯ãXMLãã¡ã€ã«ãšBINãã¡ã€ã«ãããã³å ¥åãµã€ãºãæ£èŠåã®ããã®ã¹ã±ãŒã«ãã¡ã¯ã¿ãŒãªã©ãã¢ããªã±ãŒã·ã§ã³åºæã®èšå®ãå¿ èŠã§ããããšãå¿ããªãã§ãã ããã
ãããã€ã¡ã³ãã»ã¢ããªã±ãŒã·ã§ã³ã§ã¯ãéåžžã以äžã®æé ãå®è¡ããïŒ
- ãäœæããŠOpenVINO ãåæåããã
core = Core()
. - ã¢ãã«ãããŒãããã«ã¯
core.read_model()
ã¡ãœããã䜿çšããã - ã¢ãã«ãã³ã³ãã€ã«ããã«ã¯
core.compile_model()
é¢æ°ã§ããã - å ¥åïŒç»åãããã¹ããé³å£°ãªã©ïŒãæºåããã
- ã䜿çšããŠæšè«ãå®è¡ããã
compiled_model(input_data)
.
ãã詳现ãªæé ãšã³ãŒãã»ã¹ããããã«ã€ããŠã¯ãOpenVINO ããã¥ã¡ã³ããŸãã¯API ãã¥ãŒããªã¢ã«ãåç §ããŠãã ããã
OpenVINO YOLOv8 ãã³ãããŒã¯
YOLOv8 以äžã®ãã³ãããŒã¯ã¯ãUltralytics ããŒã ã«ãã£ãŠãé床ãšç²ŸåºŠã枬å®ãã 4 ã€ã®ç°ãªãã¢ãã«åœ¢åŒã§å®è¡ãããŸããïŒPyTorch ãTorchScript ãONNX ãOpenVINO ããã³ãããŒã¯ã¯ãIntel Flexããã³Arc GPUãIntel Xeon CPUã§FP32ã§å®è¡ãããã 粟床 (ãæ〠half=False
åŒæ°ïŒã
泚
以äžã®ãã³ãããŒã¯çµæã¯åèå€ã§ãããã·ã¹ãã ã®æ£ç¢ºãªããŒããŠã§ã¢ããã³ãœãããŠã§ã¢æ§æããã³ãããŒã¯å®è¡æã®ã·ã¹ãã ã®çŸåšã®äœæ¥è² è·ã«ãã£ãŠç°ãªãå ŽåããããŸãã
ãã¹ãŠã®ãã³ãããŒã¯ã¯ openvino
Python ããã±ãŒãžããŒãžã§ã³ 2023.0.1.
Intel ãã¬ãã¯ã¹GPU
ã€ã³ãã«Â® Data CenterGPU Flex ã·ãªãŒãºã¯ãã€ã³ããªãžã§ã³ããªããžã¥ã¢ã«ã¯ã©ãŠãåãã«èšèšãããå€çšéã§å ç¢ãªãœãªã¥ãŒã·ã§ã³ã§ãããã®GPU ã¯ãã¡ãã£ã¢ã»ã¹ããªãŒãã³ã°ãã¯ã©ãŠãã»ã²ãŒãã³ã°ãAI ããžã¥ã¢ã«ã»ã€ã³ãã¡ã¬ã³ã¹ãä»®æ³ãã¹ã¯ãããã»ã€ã³ãã©ã¹ãã©ã¯ãã£ã»ã¯ãŒã¯ããŒããªã©ãå¹ åºãã¯ãŒã¯ããŒãããµããŒãããŸãããªãŒãã³ã»ã¢ãŒããã¯ãã£ãšAV1ãšã³ã³ãŒãã®ãã«ãã€ã³ã»ãµããŒããç¹åŸŽã§ãé«æ§èœã§ã¯ãã¹ã¢ãŒããã¯ãã£ã®ã¢ããªã±ãŒã·ã§ã³ã«æšæºããŒã¹ã®ãœãããŠã§ã¢ã»ã¹ã¿ãã¯ãæäŸããŸããFlex SeriesGPU ã¯å¯åºŠãšå質ã«æé©åãããŠãããé«ãä¿¡é Œæ§ãå¯çšæ§ãæ¡åŒµæ§ãæäŸããã
以äžã®ãã³ãããŒã¯ã¯ãã€ã³ãã«Â® Data CenterGPU Flex 170äžã§FP32粟床ã§å®è¡ãããŠããã
ã¢ãã« | ãã©ãŒããã | ã¹ããŒã¿ã¹ | ãµã€ãº (MB) | mAP50-95(B) | æšè«æéïŒms/imïŒ |
---|---|---|---|---|---|
YOLOv8n | PyTorch | â | 6.2 | 0.3709 | 21.79 |
YOLOv8n | TorchScript | â | 12.4 | 0.3704 | 23.24 |
YOLOv8n | ONNX | â | 12.2 | 0.3704 | 37.22 |
YOLOv8n | OpenVINO | â | 12.3 | 0.3703 | 3.29 |
YOLOv8s | PyTorch | â | 21.5 | 0.4471 | 31.89 |
YOLOv8s | TorchScript | â | 42.9 | 0.4472 | 32.71 |
YOLOv8s | ONNX | â | 42.8 | 0.4472 | 43.42 |
YOLOv8s | OpenVINO | â | 42.9 | 0.4470 | 3.92 |
YOLOv8m | PyTorch | â | 49.7 | 0.5013 | 50.75 |
YOLOv8m | TorchScript | â | 99.2 | 0.4999 | 47.90 |
YOLOv8m | ONNX | â | 99.0 | 0.4999 | 63.16 |
YOLOv8m | OpenVINO | â | 49.8 | 0.4997 | 7.11 |
YOLOv8l | PyTorch | â | 83.7 | 0.5293 | 77.45 |
YOLOv8l | TorchScript | â | 167.2 | 0.5268 | 85.71 |
YOLOv8l | ONNX | â | 166.8 | 0.5268 | 88.94 |
YOLOv8l | OpenVINO | â | 167.0 | 0.5264 | 9.37 |
YOLOv8x | PyTorch | â | 130.5 | 0.5404 | 100.09 |
YOLOv8x | TorchScript | â | 260.7 | 0.5371 | 114.64 |
YOLOv8x | ONNX | â | 260.4 | 0.5371 | 110.32 |
YOLOv8x | OpenVINO | â | 260.6 | 0.5367 | 15.02 |
ãã®è¡šã¯ã5ã€ã®ç°ãªãã¢ãã«(YOLOv8n,YOLOv8s,YOLOv8m,YOLOv8l,YOLOv8x)ãš4ã€ã®ç°ãªããã©ãŒããã(PyTorch,TorchScript,ONNX,OpenVINO)ã®ãã³ãããŒã¯çµæã§ãããåçµã¿åããã®ã¹ããŒã¿ã¹ããµã€ãºãmAP50-95(B)ã¡ããªãã¯ãæšè«æéã瀺ããŠããã
Intel ã¢ãŒã¯GPU
ã€ã³ãã«Â® Arc⢠ã¯ãIntel ã®å°çšåžå ŽïŒGPU ïŒãžã®é²åºã象城ããŠããŸããArcâ¢ã·ãªãŒãºã¯ãAMDãNVIDIA ã®ãããªå€§æã¡ãŒã«ãŒGPU ãšç«¶åããããã«èšèšãããŠãããã©ããããããšãã¹ã¯ãããã®äž¡æ¹ã®åžå Žã«å¯Ÿå¿ããŠããããã®ã·ãªãŒãºã«ã¯ãããŒãããœã³ã³ã®ãããªå°åæ©åšåãã®ã¢ãã€ã«ã»ããŒãžã§ã³ãšããã¹ã¯ãããã»ã³ã³ãã¥ãŒã¿åãã®å€§åã§åŒ·åãªããŒãžã§ã³ããããŸãã
Arcâ¢ã·ãªãŒãºã¯3ã€ã®ã«ããŽãªãŒã«åãããŠããïŒArc⢠3ãArc⢠5ãArc⢠7ã®3ã€ã®ã«ããŽãªãŒã«åããããããããã®æ°åãæ§èœã¬ãã«ã瀺ããŠãããåã«ããŽãªãŒã«ã¯è€æ°ã®ã¢ãã«ããããGPU ã®ã¢ãã«åã«ãããMãã¯ãã¢ãã€ã«äžäœåã®ããªãšãŒã·ã§ã³ãæå³ããŸãã
åæã®ã¬ãã¥ãŒã§ã¯ãArcâ¢ã·ãªãŒãºãç¹ã«çµ±ååA770MGPU ã®çŽ æŽãããã°ã©ãã£ãã¯æ§èœãé«ãè©äŸ¡ãããŠããŸããArc⢠ã·ãªãŒãºã¯å°åã«ãã£ãŠå ¥æå¯èœãªã¢ãã«ãç°ãªããè¿æ¥äžã«è¿œå ã¢ãã«ããªãªãŒã¹ãããäºå®ã§ããã€ã³ãã«Â® Arc⢠GPUã¯ãã²ãŒã ããã³ã³ãã³ãå¶äœãŸã§ãããŸããŸãªã³ã³ãã¥ãŒãã£ã³ã°ã»ããŒãºã«å¯Ÿå¿ããé«æ§èœãœãªã¥ãŒã·ã§ã³ãæäŸããŸãã
以äžã®ãã³ãããŒã¯ã¯ãã€ã³ãã«Â® Arc 770GPU 㧠FP32 粟床ã§å®è¡ãããŠããŸãã
ã¢ãã« | ãã©ãŒããã | ã¹ããŒã¿ã¹ | ãµã€ãº (MB) | ã¡ããªãã¯/mAP50-95(B) | æšè«æéïŒms/imïŒ |
---|---|---|---|---|---|
YOLOv8n | PyTorch | â | 6.2 | 0.3709 | 88.79 |
YOLOv8n | TorchScript | â | 12.4 | 0.3704 | 102.66 |
YOLOv8n | ONNX | â | 12.2 | 0.3704 | 57.98 |
YOLOv8n | OpenVINO | â | 12.3 | 0.3703 | 8.52 |
YOLOv8s | PyTorch | â | 21.5 | 0.4471 | 189.83 |
YOLOv8s | TorchScript | â | 42.9 | 0.4472 | 227.58 |
YOLOv8s | ONNX | â | 42.7 | 0.4472 | 142.03 |
YOLOv8s | OpenVINO | â | 42.9 | 0.4469 | 9.19 |
YOLOv8m | PyTorch | â | 49.7 | 0.5013 | 411.64 |
YOLOv8m | TorchScript | â | 99.2 | 0.4999 | 517.12 |
YOLOv8m | ONNX | â | 98.9 | 0.4999 | 298.68 |
YOLOv8m | OpenVINO | â | 99.1 | 0.4996 | 12.55 |
YOLOv8l | PyTorch | â | 83.7 | 0.5293 | 725.73 |
YOLOv8l | TorchScript | â | 167.1 | 0.5268 | 892.83 |
YOLOv8l | ONNX | â | 166.8 | 0.5268 | 576.11 |
YOLOv8l | OpenVINO | â | 167.0 | 0.5262 | 17.62 |
YOLOv8x | PyTorch | â | 130.5 | 0.5404 | 988.92 |
YOLOv8x | TorchScript | â | 260.7 | 0.5371 | 1186.42 |
YOLOv8x | ONNX | â | 260.4 | 0.5371 | 768.90 |
YOLOv8x | OpenVINO | â | 260.6 | 0.5367 | 19 |
Intel ãžãŒãªã³CPU
ã€ã³ãã«Â® Xeon®CPU ã¯ãè€éã§èŠæ±ã®å³ããã¯ãŒã¯ããŒãåãã«èšèšãããé«æ§èœãªãµãŒããŒã°ã¬ãŒãã®ããã»ããµãŒã§ãããã€ãšã³ãã®ã¯ã©ãŠãã»ã³ã³ãã¥ãŒãã£ã³ã°ãä»®æ³åãã人工ç¥èœãæ©æ¢°åŠç¿ã¢ããªã±ãŒã·ã§ã³ãŸã§ãXeon® CPUã¯ä»æ¥ã®ããŒã¿ã»ã³ã¿ãŒã«å¿ èŠãªãã¯ãŒãä¿¡é Œæ§ãæè»æ§ãæäŸããŸãã
ç¹çãã¹ãã¯ãXeon® CPUãé«ãæŒç®å¯åºŠãšã¹ã±ãŒã©ããªãã£ãå®çŸããäžå°äŒæ¥ãã倧äŒæ¥ãŸã§çæ³çãªç°å¢ãæäŸããããšã§ããã€ã³ãã«Â® Xeon® CPUãéžæããããšã§ãäŒæ¥ã¯ãè²»çšå¯Ÿå¹æãšéçšå¹çãç¶æããªãããæãèŠæ±ã®å³ããã³ã³ãã¥ãŒãã£ã³ã°ã»ã¿ã¹ã¯ãèªä¿¡ãæã£ãŠåŠçããã€ãããŒã·ã§ã³ãä¿é²ããããšãã§ããŸãã
以äžã®ãã³ãããŒã¯ã¯ã第4äžä»£ã€ã³ãã«Â® Xeon® ScalableCPU ã§FP32粟床ã§å®è¡ãããŠããŸãã
ã¢ãã« | ãã©ãŒããã | ã¹ããŒã¿ã¹ | ãµã€ãº (MB) | ã¡ããªãã¯/mAP50-95(B) | æšè«æéïŒms/imïŒ |
---|---|---|---|---|---|
YOLOv8n | PyTorch | â | 6.2 | 0.3709 | 24.36 |
YOLOv8n | TorchScript | â | 12.4 | 0.3704 | 23.93 |
YOLOv8n | ONNX | â | 12.2 | 0.3704 | 39.86 |
YOLOv8n | OpenVINO | â | 12.3 | 0.3704 | 11.34 |
YOLOv8s | PyTorch | â | 21.5 | 0.4471 | 33.77 |
YOLOv8s | TorchScript | â | 42.9 | 0.4472 | 34.84 |
YOLOv8s | ONNX | â | 42.8 | 0.4472 | 43.23 |
YOLOv8s | OpenVINO | â | 42.9 | 0.4471 | 13.86 |
YOLOv8m | PyTorch | â | 49.7 | 0.5013 | 53.91 |
YOLOv8m | TorchScript | â | 99.2 | 0.4999 | 53.51 |
YOLOv8m | ONNX | â | 99.0 | 0.4999 | 64.16 |
YOLOv8m | OpenVINO | â | 99.1 | 0.4996 | 28.79 |
YOLOv8l | PyTorch | â | 83.7 | 0.5293 | 75.78 |
YOLOv8l | TorchScript | â | 167.2 | 0.5268 | 79.13 |
YOLOv8l | ONNX | â | 166.8 | 0.5268 | 88.45 |
YOLOv8l | OpenVINO | â | 167.0 | 0.5263 | 56.23 |
YOLOv8x | PyTorch | â | 130.5 | 0.5404 | 96.60 |
YOLOv8x | TorchScript | â | 260.7 | 0.5371 | 114.28 |
YOLOv8x | ONNX | â | 260.4 | 0.5371 | 111.02 |
YOLOv8x | OpenVINO | â | 260.6 | 0.5371 | 83.28 |
Intel ã³ã¢CPU
ã€ã³ãã«Â® Core® ã·ãªãŒãºã¯ãIntel ã®é«æ§èœããã»ããµãŒè£œå矀ã§ãããã©ã€ã³ãããã«ã¯ãCore i3ïŒãšã³ããªãŒã¬ãã«ïŒãCore i5ïŒãããã¬ã³ãžïŒãCore i7ïŒãã€ãšã³ãïŒãCore i9ïŒãšã¯ã¹ããªãŒã ããã©ãŒãã³ã¹ïŒããããåã·ãªãŒãºã¯ãæ¥åžžçãªã¿ã¹ã¯ããèŠæ±ã®å³ãããããã§ãã·ã§ãã«ãªã¯ãŒã¯ããŒããŸã§ãããŸããŸãªã³ã³ãã¥ãŒãã£ã³ã°ããŒãºãšäºç®ã«å¯Ÿå¿ããŠããŸããæ°ããäžä»£ã«ãªãããšã«ãããã©ãŒãã³ã¹ããšãã«ã®ãŒå¹çãæ©èœãæ¹åãããŠããŸãã
以äžã®ãã³ãããŒã¯ã¯ã第13äžä»£ã€ã³ãã«Â® Core® i7-13700HCPU ã§FP32粟床ã§å®è¡ãããŠããŸãã
ã¢ãã« | ãã©ãŒããã | ã¹ããŒã¿ã¹ | ãµã€ãº (MB) | ã¡ããªãã¯/mAP50-95(B) | æšè«æéïŒms/imïŒ |
---|---|---|---|---|---|
YOLOv8n | PyTorch | â | 6.2 | 0.4478 | 104.61 |
YOLOv8n | TorchScript | â | 12.4 | 0.4525 | 112.39 |
YOLOv8n | ONNX | â | 12.2 | 0.4525 | 28.02 |
YOLOv8n | OpenVINO | â | 12.3 | 0.4504 | 23.53 |
YOLOv8s | PyTorch | â | 21.5 | 0.5885 | 194.83 |
YOLOv8s | TorchScript | â | 43.0 | 0.5962 | 202.01 |
YOLOv8s | ONNX | â | 42.8 | 0.5962 | 65.74 |
YOLOv8s | OpenVINO | â | 42.9 | 0.5966 | 38.66 |
YOLOv8m | PyTorch | â | 49.7 | 0.6101 | 355.23 |
YOLOv8m | TorchScript | â | 99.2 | 0.6120 | 424.78 |
YOLOv8m | ONNX | â | 99.0 | 0.6120 | 173.39 |
YOLOv8m | OpenVINO | â | 99.1 | 0.6091 | 69.80 |
YOLOv8l | PyTorch | â | 83.7 | 0.6591 | 593.00 |
YOLOv8l | TorchScript | â | 167.2 | 0.6580 | 697.54 |
YOLOv8l | ONNX | â | 166.8 | 0.6580 | 342.15 |
YOLOv8l | OpenVINO | â | 167.0 | 0.0708 | 117.69 |
YOLOv8x | PyTorch | â | 130.5 | 0.6651 | 804.65 |
YOLOv8x | TorchScript | â | 260.8 | 0.6650 | 921.46 |
YOLOv8x | ONNX | â | 260.4 | 0.6650 | 526.66 |
YOLOv8x | OpenVINO | â | 260.6 | 0.6619 | 158.73 |
Intel ãŠã«ãã©7 155H æµææ¹CPU
ã€ã³ãã«Â® Ultra⢠7 155H ã¯ãã²ãŒããŒããã³ã³ãã³ãã»ã¯ãªãšãŒã¿ãŒãŸã§ãæãèŠæ±ã®å³ãããŠãŒã¶ãŒã«å¯Ÿå¿ããããèšèšãããããã€ããã©ãŒãã³ã¹ã»ã³ã³ãã¥ãŒãã£ã³ã°ã®æ°ããªãã³ãããŒã¯ã§ããUltra⢠7 155Hã¯åãªãCPU ïŒåŒ·åãªGPU ãšå é²ã®NPUïŒãã¥ãŒã©ã«ã»ããã»ãã·ã³ã°ã»ãŠãããïŒã1ã€ã®ãããã«çµ±åããå€æ§ãªã³ã³ãã¥ãŒãã£ã³ã°ã»ããŒãºã«å¯Ÿããå æ¬çãªãœãªã¥ãŒã·ã§ã³ãæäŸããŸãã
ãã®ãã€ããªããã»ã¢ãŒããã¯ãã£ã«ãããUltra⢠7 155Hã¯ãåŸæ¥ã®CPU ã¿ã¹ã¯ãšGPU-å éãããã¯ãŒã¯ããŒãã®äž¡æ¹ã§åªããæ§èœãçºæ®ããããšãã§ããŸããäžæ¹ãNPUã¯AIé§åããã»ã¹ã匷åããããé«éã§å¹ççãªæ©æ¢°åŠç¿æäœãå¯èœã«ããŸãããã®ãããUltra⢠7 155Hã¯ãé«æ§èœã°ã©ãã£ãã¯ã¹ãè€éãªèšç®ãAIæšè«ãå¿ èŠãšããã¢ããªã±ãŒã·ã§ã³ã«ãšã£ãŠå€ç®çãªéžæè¢ãšãªããŸãã
Ultra⢠7 ã·ãªãŒãºã«ã¯è€æ°ã®ã¢ãã«ããããããããæ§èœã¬ãã«ãç°ãªããŸããåæã®ãã³ãããŒã¯ã§ã¯ãUltra⢠7 155Hã®åè¶ããããã©ãŒãã³ã¹ã匷調ãããŠãããç¹ã«ãã«ãã¿ã¹ã¯ç°å¢ã§ã¯ãCPU ãGPU ãNPUã®è€åãã¯ãŒãé¡èãªå¹çãšé床ã«ã€ãªãã£ãŠããŸãã
Intel ã®æå 端æè¡ãžã®ã³ãããã¡ã³ãã®äžç°ãšããŠãUltra⢠7 155H ã¯å°æ¥ã®ã³ã³ãã¥ãŒãã£ã³ã°ã®ããŒãºãæºããããã«èšèšãããŠãããä»åŸããã«å€ãã®ã¢ãã«ããªãªãŒã¹ãããäºå®ã§ããUltra⢠7 155Hã¯ãå°åã«ãã£ãŠå ¥æå¯èœãªã¢ãã«ãç°ãªããŸããã1ã€ã®ãããã«3ã€ã®åŒ·åãªããã»ãã·ã³ã°ã»ãŠããããçµ±åããã³ã³ãã¥ãŒãã£ã³ã°ã»ããã©ãŒãã³ã¹ã®æ°ããªåºæºãæã¡ç«ãŠãããšãè©äŸ¡ããç¶ããŠããŸãã
以äžã®ãã³ãããŒã¯ã¯ãã€ã³ãã«Â® Ultra⢠7 155Hã§FP32ããã³INT8粟床ã§å®è¡ãããŠããŸãã
ãã³ãããŒã¯
ã¢ãã« | ãã©ãŒããã | ç²Ÿå¯ | ã¹ããŒã¿ã¹ | ãµã€ãº (MB) | ã¡ããªãã¯/mAP50-95(B) | æšè«æéïŒms/imïŒ |
---|---|---|---|---|---|---|
YOLOv8n | PyTorch | FP32 | â | 6.2 | 0.6381 | 35.95 |
YOLOv8n | OpenVINO | FP32 | â | 12.3 | 0.6117 | 8.32 |
YOLOv8n | OpenVINO | INT8 | â | 3.6 | 0.5791 | 9.88 |
YOLOv8s | PyTorch | FP32 | â | 21.5 | 0.6967 | 79.72 |
YOLOv8s | OpenVINO | FP32 | â | 42.9 | 0.7136 | 13.37 |
YOLOv8s | OpenVINO | INT8 | â | 11.2 | 0.7086 | 9.96 |
YOLOv8m | PyTorch | FP32 | â | 49.7 | 0.737 | 202.05 |
YOLOv8m | OpenVINO | FP32 | â | 99.1 | 0.7331 | 28.07 |
YOLOv8m | OpenVINO | INT8 | â | 25.5 | 0.7259 | 21.11 |
YOLOv8l | PyTorch | FP32 | â | 83.7 | 0.7769 | 393.37 |
YOLOv8l | OpenVINO | FP32 | â | 167.0 | 0.0 | 52.73 |
YOLOv8l | OpenVINO | INT8 | â | 42.6 | 0.7861 | 28.11 |
YOLOv8x | PyTorch | FP32 | â | 130.5 | 0.7759 | 610.71 |
YOLOv8x | OpenVINO | FP32 | â | 260.6 | 0.748 | 73.51 |
YOLOv8x | OpenVINO | INT8 | â | 66.0 | 0.8085 | 51.71 |
ã¢ãã« | ãã©ãŒããã | ç²Ÿå¯ | ã¹ããŒã¿ã¹ | ãµã€ãº (MB) | ã¡ããªãã¯/mAP50-95(B) | æšè«æéïŒms/imïŒ |
---|---|---|---|---|---|---|
YOLOv8n | PyTorch | FP32 | â | 6.2 | 0.6381 | 34.69 |
YOLOv8n | OpenVINO | FP32 | â | 12.3 | 0.6092 | 39.06 |
YOLOv8n | OpenVINO | INT8 | â | 3.6 | 0.5968 | 18.37 |
YOLOv8s | PyTorch | FP32 | â | 21.5 | 0.6967 | 79.9 |
YOLOv8s | OpenVINO | FP32 | â | 42.9 | 0.7136 | 82.6 |
YOLOv8s | OpenVINO | INT8 | â | 11.2 | 0.7083 | 29.51 |
YOLOv8m | PyTorch | FP32 | â | 49.7 | 0.737 | 202.43 |
YOLOv8m | OpenVINO | FP32 | â | 99.1 | 0.728 | 181.27 |
YOLOv8m | OpenVINO | INT8 | â | 25.5 | 0.7285 | 51.25 |
YOLOv8l | PyTorch | FP32 | â | 83.7 | 0.7769 | 385.87 |
YOLOv8l | OpenVINO | FP32 | â | 167.0 | 0.7551 | 347.75 |
YOLOv8l | OpenVINO | INT8 | â | 42.6 | 0.7675 | 91.66 |
YOLOv8x | PyTorch | FP32 | â | 130.5 | 0.7759 | 603.63 |
YOLOv8x | OpenVINO | FP32 | â | 260.6 | 0.7479 | 516.39 |
YOLOv8x | OpenVINO | INT8 | â | 66.0 | 0.8119 | 142.42 |
ã¢ãã« | ãã©ãŒããã | ç²Ÿå¯ | ã¹ããŒã¿ã¹ | ãµã€ãº (MB) | ã¡ããªãã¯/mAP50-95(B) | æšè«æéïŒms/imïŒ |
---|---|---|---|---|---|---|
YOLOv8n | PyTorch | FP32 | â | 6.2 | 0.6381 | 36.98 |
YOLOv8n | OpenVINO | FP32 | â | 12.3 | 0.6103 | 16.68 |
YOLOv8n | OpenVINO | INT8 | â | 3.6 | 0.5941 | 14.6 |
YOLOv8s | PyTorch | FP32 | â | 21.5 | 0.6967 | 79.76 |
YOLOv8s | OpenVINO | FP32 | â | 42.9 | 0.7144 | 32.89 |
YOLOv8s | OpenVINO | INT8 | â | 11.2 | 0.7062 | 26.13 |
YOLOv8m | PyTorch | FP32 | â | 49.7 | 0.737 | 201.44 |
YOLOv8m | OpenVINO | FP32 | â | 99.1 | 0.7284 | 54.4 |
YOLOv8m | OpenVINO | INT8 | â | 25.5 | 0.7268 | 30.76 |
YOLOv8l | PyTorch | FP32 | â | 83.7 | 0.7769 | 385.46 |
YOLOv8l | OpenVINO | FP32 | â | 167.0 | 0.7539 | 80.1 |
YOLOv8l | OpenVINO | INT8 | â | 42.6 | 0.7508 | 52.25 |
YOLOv8x | PyTorch | FP32 | â | 130.5 | 0.7759 | 609.4 |
YOLOv8x | OpenVINO | FP32 | â | 260.6 | 0.7637 | 104.79 |
YOLOv8x | OpenVINO | INT8 | â | 66.0 | 0.8077 | 64.96 |
çµæãåçŸãã
äžèšã®Ultralytics ã®ãã³ãããŒã¯ããã¹ãŠã®ãšã¯ã¹ããŒããã©ãŒãããã§åçŸããã«ã¯ã以äžã®ã³ãŒããå®è¡ããŠãã ããïŒ
äŸ
ãã³ãããŒã¯ã®çµæã¯ãã·ã¹ãã ã®æ£ç¢ºãªããŒããŠã§ã¢ãšãœãããŠã§ã¢ã®æ§æãããã³ãã³ãããŒã¯ã®å®è¡æã®ã·ã¹ãã ã®çŸåšã®äœæ¥è² è·ã«ãã£ãŠç°ãªãå¯èœæ§ãããããšã«æ³šæããŠãã ãããæãä¿¡é Œæ§ã®é«ãçµæãåŸãã«ã¯ãç»åæ°ã®å€ãããŒã¿ã»ããã䜿çšããŸãã data='coco128.yaml' (128 val images), or
data='coco.yaml'` (5000 val images)ã
çµè«
ãã³ãããŒã¯çµæã¯ãYOLOv8 ã¢ãã«ãOpenVINO 圢åŒã«ãšã¯ã¹ããŒãããããšã®å©ç¹ãæ確ã«ç€ºããŠãããæ§ã ãªã¢ãã«ãããŒããŠã§ã¢ãã©ãããã©ãŒã ã«ãããŠãOpenVINO 圢åŒã¯ãåçã®ç²ŸåºŠãç¶æããªãããæšè«é床ã®ç¹ã§äžè²«ããŠä»ã®åœ¢åŒãäžåã£ãŠããŸãã
ã€ã³ãã«Â® ããŒã¿ã»ã³ã¿ãŒGPU Flex ã·ãªãŒãºã§ã¯ãOpenVINO ãã©ãŒãããã¯ããªãªãžãã«ã®PyTorch ãã©ãŒãããã«æ¯ã¹ãæšè«é床ãã»ãŒ 10 åéããªããŸãããXeonCPU ã§ã¯ãOpenVINO ãã©ãŒãããã¯PyTorch ãã©ãŒãããã® 2 åé«éã§ãããã¢ãã«ã®ç²ŸåºŠã¯ãç°ãªããã©ãŒãããéã§ã»ãŒåãã§ããã
ãã³ãããŒã¯ã¯ããã£ãŒãã©ãŒãã³ã°ã¢ãã«ãå±éããããŒã«ãšããŠã®OpenVINO ã®æå¹æ§ã匷調ããŠããŸããã¢ãã«ãOpenVINO 圢åŒã«å€æããããšã§ãéçºè ã¯å€§å¹ ãªæ§èœåäžãéæããããšãã§ãããããã®ã¢ãã«ãå®äžçã®ã¢ããªã±ãŒã·ã§ã³ã«å±éããããšã容æã«ãªããŸãã
OpenVINO ã®è©³ããæ å ±ã䜿çšæ¹æ³ã«ã€ããŠã¯ã OpenVINO ã®å ¬åŒããã¥ã¡ã³ããåç §ããŠãã ããã
ããããã質å
YOLOv8 ã¢ãã«ãOpenVINO ãã©ãŒãããã«ãšã¯ã¹ããŒãããã«ã¯ïŒ
YOLOv8 ã¢ãã«ãOpenVINO ãã©ãŒãããã«ãšã¯ã¹ããŒããããšãCPU é床ãå€§å¹ ã«åäžããGPU ãšIntel ããŒããŠã§ã¢ã§ã® NPU ã¢ã¯ã»ã©ã¬ãŒã·ã§ã³ãå¯èœã«ãªããŸãããšã¯ã¹ããŒãããã«ã¯ã以äžã«ç€ºãããã«ãPython ãŸãã¯CLI ã®ããããã䜿çšã§ããŸãïŒ
äŸ
詳现ã«ã€ããŠã¯ããšã¯ã¹ããŒãã»ãã©ãŒãããã®ããã¥ã¡ã³ããåç §ããŠãã ããã
YOLOv8 ã¢ãã«ã§OpenVINO ã䜿çšããå©ç¹ã¯äœã§ããïŒ
YOLOv8 ã¢ãã«ã§Intel ã®OpenVINO ããŒã«ãããã䜿çšãããšãããã€ãã®å©ç¹ãããïŒ
- ããã©ãŒãã³ã¹ïŒCPU æšè«ã§æ倧3åã®ã¹ããŒãã¢ãããéæããIntel GPUãšNPUãã¢ã¯ã»ã©ã¬ãŒã·ã§ã³ã«æŽ»çšã
- ã¢ãã«ã»ãªããã£ãã€ã¶ãŒïŒPyTorch ãTensorFlow ãONNX ã®ãããªäžè¬çãªãã¬ãŒã ã¯ãŒã¯ããã¢ãã«ãå€æãæé©åãå®è¡ããŸãã
- 䜿ããããïŒYOLOv8 ãå«ã80以äžã®ãã¥ãŒããªã¢ã«ããŒãããã¯ãçšæãããŠããŸãã
- ããããžãã¢ã¹å®è¡ïŒçµ±äžããã API ã䜿çšããŠãããŸããŸãªIntel ããŒããŠã§ã¢äžã«ã¢ãã«ãå±éããŸãã
詳现ãªæ§èœæ¯èŒã«ã€ããŠã¯ããã³ãããŒã¯ã»ã¯ã·ã§ã³ãã芧ãã ããã
OpenVINO ã«ãšã¯ã¹ããŒããããYOLOv8 ã¢ãã«ã䜿ã£ãŠæšè«ãå®è¡ããã«ã¯ïŒ
YOLOv8 ã¢ãã«ãOpenVINO 圢åŒã«ãšã¯ã¹ããŒãããåŸãPython ãŸãã¯CLI ã䜿ã£ãŠæšè«ãå®è¡ããããšãã§ããŸãïŒ
äŸ
詳现ã«ã€ããŠã¯ãäºæž¬ã¢ãŒãã®ããã¥ã¡ã³ããåç §ããŠãã ããã
OpenVINO ãšã¯ã¹ããŒãã«ä»ã®ã¢ãã«ã§ã¯ãªããUltralytics YOLOv8 ãéžã¶ã¹ãçç±ã¯äœã§ããïŒ
Ultralytics YOLOv8 ã¯ãé«ç²ŸåºŠã§é«éãªãªã¢ã«ã¿ã€ã ã®ç©äœæ€åºã«æé©åãããŠãããå ·äœçã«ã¯ãOpenVINO ãšçµã¿åãããããšã§ãYOLOv8 ãæäŸããŸãïŒ
- Intel CPUã§æ倧3åã®ã¹ããŒãã¢ãã
- Intel GPUããã³NPUãžã®ã·ãŒã ã¬ã¹ãªå±é
- æ§ã ãªãšã¯ã¹ããŒããã©ãŒãããã§äžè²«ããåçã®ç²ŸåºŠ
詳现ãªããã©ãŒãã³ã¹åæã«ã€ããŠã¯ãããŸããŸãªããŒããŠã§ã¢ã§ã®è©³çŽ°ãªYOLOv8 ãã³ãããŒã¯ãã芧ãã ããã
PyTorch ãONNX ãOpenVINO ã®ãããªç°ãªããã©ãŒãããã§YOLOv8 ã¢ãã«ã®ãã³ãããŒã¯ãåãããšã¯ã§ããŸããïŒ
PyTorch,TorchScript,ONNX,OpenVINO ãå«ãæ§ã ãªåœ¢åŒã®YOLOv8 ã¢ãã«ã®ãã³ãããŒã¯ãå¯èœã§ãã以äžã®ã³ãŒãã»ã¹ããããã䜿çšããŠãéžæããããŒã¿ã»ããã§ãã³ãããŒã¯ãå®è¡ããŸãïŒ
äŸ
詳现ãªãã³ãããŒã¯çµæã«ã€ããŠã¯ããã³ãããŒã¯ã»ã¯ã·ã§ã³ããã³ãšã¯ã¹ããŒããã©ãŒãããã®ããã¥ã¡ã³ããåç §ããŠãã ããã