From 3107aa2152de9be8317e62da1d0327bcad6552e2 Mon Sep 17 00:00:00 2001 From: Isabella Gottardi Date: Thu, 27 Jan 2022 16:39:37 +0000 Subject: MLECO-2873: Object detection usecase follow-up Change-Id: Ic14e93a50fb7b3f3cfd9497bac1280794cc0fc15 Signed-off-by: Isabella Gottardi --- docs/use_cases/inference_runner.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'docs/use_cases/inference_runner.md') diff --git a/docs/use_cases/inference_runner.md b/docs/use_cases/inference_runner.md index 01bf4d0..2824def 100644 --- a/docs/use_cases/inference_runner.md +++ b/docs/use_cases/inference_runner.md @@ -59,7 +59,7 @@ following: - `inference_runner_DYNAMIC_MEM_LOAD_ENABLED`: This can be set to ON or OFF, to allow dynamic model load capability for use with MPS3 FVPs. See section [Building with dynamic model load capability](./inference_runner.md#building-with-dynamic-model-load-capability) below for more details. -To build **ONLY** the Inference Runner example application, add `-DUSE_CASE_BUILD=inferece_runner` to the `cmake` +To build **ONLY** the Inference Runner example application, add `-DUSE_CASE_BUILD=inference_runner` to the `cmake` command line, as specified in: [Building](../documentation.md#Building). ### Build process @@ -199,7 +199,7 @@ To install the FVP: ### Starting Fast Model simulation -Once completed the building step, the application binary `ethos-u-infernce_runner.axf` can be found in the `build/bin` +Once completed the building step, the application binary `ethos-u-inference_runner.axf` can be found in the `build/bin` folder. Assuming that the install location of the FVP was set to `~/FVP_install_location`, then the simulation can be started by @@ -287,9 +287,11 @@ cmake .. \ ``` Once the configuration completes, running: + ```commandline make -j ``` + will build the application that will expect the neural network model and the IFM to be loaded into specific addresses. These addresses are defined in [corstone-sse-300.cmake](../../scripts/cmake/subsystem-profiles/corstone-sse-300.cmake) for the MPS3 @@ -314,6 +316,7 @@ binary blob. --data /path/to/custom-ifm.bin@0x92000000 \ --dump cpu0=/path/to/output.bin@Memory:0x93000000,1024 ``` + The above command will dump a 1KiB (1024 bytes) file with output tensors as a binary blob after it has consumed the model and IFM data provided by the file paths specified and the inference is executed successfully. -- cgit v1.2.1