Fix ModelAccuracyTool and ImageTensorGenerator's command line option typo
authorSiCong Li <sicong.li@arm.com>
Thu, 25 Jul 2019 13:54:39 +0000 (14:54 +0100)
committerMatteo Martincigh <matteo.martincigh@arm.com>
Fri, 26 Jul 2019 12:23:44 +0000 (12:23 +0000)
Signed-off-by: SiCong Li <sicong.li@arm.com>
Change-Id: Id753fa1ea7a0aabc95b319cb78492f4220b701a4

tests/ModelAccuracyTool-Armnn/ModelAccuracyTool-Armnn.cpp
tests/ModelAccuracyTool-Armnn/README.md

index 23e2f43..ee8e8e4 100644 (file)
@@ -94,7 +94,7 @@ int main(int argc, char* argv[])
                 ("validation-labels-path,v", po::value<std::string>(&validationLabelPath)->required(),
                  "Path to ImageNet Validation Label file")
                 ("data-layout,l", po::value<std::string>(&inputLayout)->default_value("NHWC"),
-                 "Data layout. Supported value: NHWC, NCHW. Default: NHCW")
+                 "Data layout. Supported value: NHWC, NCHW. Default: NHWC")
                 ("compute,c", po::value<std::vector<armnn::BackendId>>(&computeDevice)->default_value(defaultBackends),
                  backendsMessage.c_str())
                 ("validation-range,r", po::value<std::string>(&validationRange)->default_value("1:0"),
index 4545902..7a29bc8 100644 (file)
@@ -21,7 +21,7 @@ To build ModelAccuracyTool, pass the following options to Cmake:
 | -d | --data-dir               | Path to directory containing the ImageNet test data |
 | -p | --model-output-labels    | Path to model output labels file.
 | -v | --validation-labels-path | Path to ImageNet Validation Label file
-| -l | --data-layout ]          | Data layout. Supported value: NHWC, NCHW. Default: NHCW
+| -l | --data-layout ]          | Data layout. Supported value: NHWC, NCHW. Default: NHWC
 | -c | --compute                | Which device to run layers on by default. Possible choices: CpuRef, CpuAcc, GpuAcc. Default: CpuAcc, CpuRef |
 | -r | --validation-range       | The range of the images to be evaluated. Specified in the form <begin index>:<end index>. The index starts at 1 and the range is inclusive. By default the evaluation will be performed on all images. |
 | -b | --blacklist-path         | Path to a blacklist file where each line denotes the index of an image to be excluded from evaluation. |