5 篇文章带有标签 “OpenVINO”

OpenVINO Benchmark Python Tool

$ 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。

OpenVINO Cross Check Tool

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!")

Deep Learning Accuracy Validation Framework

可以看到在目录下使用当前时间生成新目录。

$ 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