From 776670b56b50d1c71ba4134b0dc8650b4f252df2 Mon Sep 17 00:00:00 2001 From: Alexander Suslov Date: Thu, 16 Nov 2023 01:33:10 +0400 Subject: [PATCH] Fixed output text in the ptq onnx example (#2272) ### Changes Fixed output text in the ptq onnx example ### Reason for changes Incorrect output text in the ptq onnx example ### Related tickets N/A ### Tests test_examples --- examples/post_training_quantization/onnx/mobilenet_v2/main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/post_training_quantization/onnx/mobilenet_v2/main.py b/examples/post_training_quantization/onnx/mobilenet_v2/main.py index 5f9850f8cbe..2d9f94d64be 100755 --- a/examples/post_training_quantization/onnx/mobilenet_v2/main.py +++ b/examples/post_training_quantization/onnx/mobilenet_v2/main.py @@ -140,11 +140,11 @@ def transform_fn(data_item): print("[4/7] Benchmark INT8 model:") int8_fps = run_benchmark(int8_model_path, shape=[1, 3, 224, 224], verbose=True) -print("[5/7] Validate OpenVINO FP32 model:") +print("[5/7] Validate ONNX FP32 model in OpenVINO:") fp32_top1 = validate(fp32_model_path, val_loader) print(f"Accuracy @ top1: {fp32_top1:.3f}") -print("[6/7] Validate OpenVINO INT8 model:") +print("[6/7] Validate ONNX INT8 model in OpenVINO:") int8_top1 = validate(int8_model_path, val_loader) print(f"Accuracy @ top1: {int8_top1:.3f}")