From 2fc260572172df894f7e40db3c84f26989ebddb6 Mon Sep 17 00:00:00 2001 From: bingyanghuang <33643817+bingyanghuang@users.noreply.github.com> Date: Fri, 5 Jul 2019 12:14:59 +0800 Subject: [PATCH] [cherry-pick] Fix int8v2 readme bug (#18511) --- paddle/fluid/inference/tests/api/int8_mkldnn_quantization.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paddle/fluid/inference/tests/api/int8_mkldnn_quantization.md b/paddle/fluid/inference/tests/api/int8_mkldnn_quantization.md index e1d3a31f2..4add8bb2a 100644 --- a/paddle/fluid/inference/tests/api/int8_mkldnn_quantization.md +++ b/paddle/fluid/inference/tests/api/int8_mkldnn_quantization.md @@ -91,7 +91,7 @@ Then the ILSVRC2012 Validation dataset will be preprocessed and saved by default You can run `test_analyzer_int8_imagenet_classification` with the following arguments to reproduce the accuracy result on GoogleNet. ```bash -./paddle/fluid/inference/tests/api/test_analyzer_int8_imagenet_classification --infer_model=third_party/inference_demo/int8v2/resnet50/model --infer_data=/~/.cache/paddle/dataset/int8/download/int8_full_val.bin --batch_size=1 --paddle_num_threads=1 +./paddle/fluid/inference/tests/api/test_analyzer_int8_image_classification --infer_model=third_party/inference_demo/int8v2/resnet50/model --infer_data=/~/.cache/paddle/dataset/int8/download/int8_full_val.bin --batch_size=1 --paddle_num_threads=1 ``` To verify all the 7 models, you need to set the parameter of `--infer_model` to one of the following values in command line: -- GitLab