在 MacBook Pro M2 Max 上安装 OpenVINO
将 libopenvino_intel_myriad_plugin.so, usb-ma2x8x.mvcmd 文件拷贝到 2023 版本下,并编辑了 plugins.xml 文件,但没有起作用。
将 libopenvino_intel_myriad_plugin.so, usb-ma2x8x.mvcmd 文件拷贝到 2023 版本下,并编辑了 plugins.xml 文件,但没有起作用。
$ benchmark_app -i catdog.jpg -m /data/wjj/openvino/ir/public/googlenet-v1/FP32/googlenet-v1.xml -d CPU -api sync -t 10
[Step 2/11] Loading OpenVINO
[ WARNING ] PerformanceMode was not explicitly specified in command line. Device CPU performance hint will be set to LATENCY.
[Step 10/11] Measuring performance (Start inference synchronously, inference only: True, limits: 10000 ms duration)
[Step 11/11] Dumping statistics report
Count: 1674 iterations
Duration: 10003.75 ms
Latency:
Median: 5.86 ms
AVG: 5.89 ms
MIN: 5.77 ms
MAX: 14.02 ms
Throughput: 170.76 FPS
可以看到设备性能模式自动设置为 LATENCY。
Windows 版本有 BUG:在文件 cross_check_tool/utils.py 中的 input_processing 函数。
tensor_name = 'data' # ADD
if tensor_name not in input_names:
raise Exception(f"Input with name {tensor_name} doesn't exist in the model!")
可以看到在目录下使用当前时间生成新目录。
$ head -n 4 2022-05-18_11-17-20/SampLeNet_example_openvino_CPU__sample_dataset_classification.csv
identifier,annotation_label,prediction_label,accuracy_result
domestic_cat_s_000907.png,3,[3],1.0
hydrofoil_s_000078.png,8,[8],1.0
sea_boat_s_001456.png,8,[8],1.0