summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-09-13Fix: downgrade numpy version to 1.21.322.08Richard Burton
Recent ethos-u-vela version 3.5.0 does not support numpy version higher than 1.21.3. Downgrading numpy version to 1.21.3 for set_up_default_resources.py script to install proper packages. Change-Id: I15d8b1dbe04e974ebb140f99ba0f17bf6ee4f933 Signed-off-by: Maksims Svecovs <maksims.svecovs@arm.com>
2022-09-07MLECO-3535: update to 22.08 versions of modelsNina Drozd
* update to 22.08 release of ethos-u-vela * update download_dependencies script to new tf revision Signed-off-by: Nina Drozd <nina.drozd@arm.com> Change-Id: Ib4cb47ac0881d45fc6766b6b87154584d9db7374
2022-09-05MLECO-3538: Minor documentation updatesNina Drozd
* updated table of contents for building page * point to timing adapter page * updates to timing adapter page links and tables Change-Id: I54bde77db1a082afddae0abe109fa1369506057c
2022-09-01MLECO-3537: Fix Cmake build issue when using build-apisConor Kennedy
* Filter ".md" entry from UC_API_LIST Signed-off-by: Conor Kennedy <conor.kennedy@arm.com> Change-Id: Iec0f3fd1960b4e3f9ff1b2f730befedb0143ca30
2022-09-01MLECO-3449: Update tflite_micro submoduleMaksims Svecovs
Updating tflite_micro version according to the release from mlplatform: https://review.mlplatform.org/plugins/gitiles/ml/ethos-u/ethos-u/+/refs/heads/master/22.08.json#49 Signed-off-by: Maksims Svecovs <maksims.svecovs@arm.com> Change-Id: I212f1e8540e88aa339b6008371b62f9028b1d3d7
2022-09-01MLECO-3395: Fix high coverity issueMaksims Svecovs
Most of the issues identified by coverity scan as high are false-positives revolving around intrinsics of lambda-function in C++. This patch fixes high risk reports about function pointer not being initialized. Signed-off-by: Maksims Svecovs <maksims.svecovs@arm.com> Change-Id: I52998ed4603ca943568f7bec5cb0d6a77731b02f
2022-08-31MLECO-3449: Update dependancies to 22.08 tagsMaksims Svecovs
Update dependencies to be aligned with 22.08 release of mlplatform according to: https://review.mlplatform.org/plugins/gitiles/ml/ethos-u/ethos-u/+/refs/heads/master/22.08.json CMSIS-DSP is moved to a separate repository, this patch adds a new repository along with user build parameter. Signed-off-by: Maksims Svecovs <maksims.svecovs@arm.com> Change-Id: I356fb19b5dac87a21adfc34c67f9699131666074
2022-08-25MLECO-3252: Minor documentation additionsKshitij Sisodia
Documentation md files added under source tree with links to the main docs. Minor updates to FAQs for MLECO-3251 as well. Change-Id: Ifdcc587f2fcf77228fd46e211d3f9c3963bc9b97 Signed-off-by: Kshitij Sisodia <kshitij.sisodia@arm.com>
2022-08-24MLECO-3399: Remove default bin dir from presetsMaksims Svecovs
Configuring binaryDir prevents user from creating and naming out directory - cmake ignores ./ folder it is run from and creates root/binaryDir for the output. Removing this option allows user full control over the destination directory. Signed-off-by: Maksims Svecovs <maksims.svecovs@arm.com> Change-Id: I2190d5063f4b9f70376934f7b23ecdb9d6cedc8f
2022-08-17MLECO-3427: Updating dependencies to 22.08 RCs22.08-rc1Kshitij Sisodia
Git submodules updated to latest tags/versions. Change-Id: Idf797be3476094f7fb894a0e874061d4adc6ca95 Signed-off-by: Kshitij Sisodia <kshitij.sisodia@arm.com>
2022-08-16MLECO-3321: Updated TensorFlow Lite Micro.Kshitij Sisodia
Updated to latest version of TensorFlow Lite Micro and removed forcing TENSORFLOW_LITE_MICRO_TARGET_ARCH to Arm Cortex-M55 for SSE-310 (now it is correctly set to Cortex-M85 instead). Change-Id: Ib1e8680a8d2ea803e0e003032119a10b1d71754e Signed-off-by: Kshitij Sisodia <kshitij.sisodia@arm.com>
2022-08-16MLECO-3319: Documentation updates for Arm® Corstone™-310.Kshitij Sisodia
Documentation updates around use of Arm® Corstone™-310 AVH, especially in terms of use of timing adapters (TA). Also, use of TA's is forced off for SSE-310 subsystem's CMake configuration. Signed-off-by: Kshitij Sisodia <kshitij.sisodia@arm.com> Signed-off-by: Maksims Svecovs <maksims.svecovs@arm.com> Change-Id: I66a87060d8d47ce2580aa15f3908be20162eab54
2022-08-16MLECO-3244: Documentation on timing adaptersMaksims Svecovs
Documents current differences between timing adapters implementations on Corstone-300 and Corstone-310 platforms. Signed-off-by: Maksims Svecovs <maksims.svecovs@arm.com> Change-Id: I3161dc929bd01217a4992be869f13377a58e5471
2022-08-15MLECO-3103: updates to ml embedded use case API packNina Drozd
* refactor component cgroup and csub names for easier inclusion by projects * update version to format expected by cpackget tool * update use case api version Change-Id: I00c71219ca95299787ec4fd79dca8ff2b2d50494
2022-08-05MLECO-3232: Add basic cmake presetsMaksims Svecovs
Assuming cmake 3.21 adds basic configuration and build presets: * Target mps3 board with gcc * Target mps3 board with armclang * Target simple platform with gcc * Target simple platform with armclang * Target native build system Adds test preset for native build to run default ctests. Adds respective doc section to building instructions. Note: hidden configurationPresets are to be moved to respective project directories once cmake 3.24 is supported in the codebase and preset include is supported. Note: it is encouraged to create a personal CMakeUserPresets.json with personal preferences like specific `LOG_LEVEL` and `jobs` for faster compilation time. Usage example: cmake --preset=mps3-gcc Signed-off-by: Maksims Svecovs <maksims.svecovs@arm.com> Change-Id: I07a8861ed91160cc3f5167e16be45a921b60a285
2022-08-03MLECO-3375: Update documentation for missing AVH python3.8 venv packageRichard Burton
Change-Id: Idfee5b33b31cabdf7e825c2161df1e71191d115a
2022-07-08MLECO-3296 Override the AXI Burst Length for Ethos-U65Eanna O Cathain
Signed-off-by: Eanna O Cathain <eanna.ocathain@arm.com> Change-Id: Ia0d349ea0014ee10f275731f3c1de4f9287839e1
2022-06-29MLECO-3253 Adding docs for how to run the FVP without UIEanna O Cathain
Change-Id: I3e69514aac22973f5c2395371f1311bd5bbb83a3
2022-06-10MLCE-864: Enabling I-Cache and D-Cache for MPS322.05Kshitij Sisodia
Both supported implementation on MPS3 (Arm Corstone-300 and Arm Corstone-310) will now have caches enabled. Also including a minor change left over from refactoring of code for HAL components. Change-Id: Ie5768cd26eef9083a817bca7c87ff691dae67fca
2022-06-10MLECO-3148 Generating the output test result fileEanna O Cathain
Change-Id: I584a0d8523b18025e8f20c31750baa2e6cbef49b
2022-06-09MLCE-864: Removing redundant warningKshitij Sisodia
MPS3 clock is logged in the output, removing the warning as profiling would be impacted by this additional logging over UART. Change-Id: I1f941a75752bed0c871240aee664f8191916ab1d
2022-06-02MLECO-3148 Enabling Ctest driven testingEanna O Cathain
Signed-off-by: Eanna O Cathain <eanna.ocathain@arm.com> Change-Id: Ica67662d20b0c02b75418f79d4ba2f4d18373310
2022-06-01MLECO-3094: Updated to 22.05 release components22.05-rc1Richard Burton
Signed-off-by: Richard Burton <richard.burton@arm.com> Change-Id: Icd208b5fc92d08e8dfbff95feecf3b387e76ccb4
2022-06-01MLECO-2968 Create a docker image with all requirementsKshitij Sisodia
Added a Dockerfile to setup and install requirements for the ml-embedded-evaluation-kit repository. Also included minor change (MLCE-859) for NPU components' source file. Signed-off-by: Matthew Sloyan <matthew.sloyan@arm.com> Change-Id: I621fb2991218a451a0e8c33e14032b9c9e36709e
2022-05-31MLECO-3213: Downgrade requirment from Python3.8 to Python3.7Richard Burton
Update Vela to 3.4.0 Signed-off-by: Richard Burton <richard.burton@arm.com> Change-Id: If203d29d6884219cd4947a5753a1fb8d8284f174
2022-05-25MLECO-3290: Correction for TAKshitij Sisodia
Timing adapter parameter correction for Arm Ethos-U65's default configuration. Change-Id: I5ec9412f4893d0bfb0447ce71b788099123b6cf9
2022-05-25MLECO-3185: Documentation updatesKshitij Sisodia
Documentation updated to reflect refactoring changes in the last few weeks. Change-Id: Ic7abf5cc3af9898123049e890c189ed74e505309
2022-05-24MLECO-3188: update AVH documentationNina Drozd
* update to Arm Virtual Hardware link Change-Id: If93d20e32b32ff4d6bcfa8f0e0ef096f3fff9492
2022-05-23MLECO-3225: Using official support for Arm Cortex-M85 CPU.Kshitij Sisodia
* CMake version requirement bumped up to 3.21.0 * CMake 3.22.4 installed in the local Python virtualenv * CPU flags updated in toolchain files. * Using __ARM_FEATURE_DSP instead of potentially defining ARM_MATH_DSP wrongly. * CMake project version bumped up to 22.05.0 Changes also made for MLECO-3107 (pack generation): * TensorFlow Lite Micro CMSIS-pack version updated to 1.22.02. * Change to using __ARM_FEATURE_DSP will also help the generated pack. Partial changes for MLECO-3095: * CMSIS updated to version post 5.9.0 * TensorFlow Lite Micro updated to latest available * Ethos-U driver and core-platform repositories updated to 20.05_rc2 tags. Change-Id: I012c9e65897aed8ce589cff9bfe3a19efc3edeb9 Signed-off-by: Kshitij Sisodia <kshitij.sisodia@arm.com>
2022-05-20Remove dependency on extern defined constants from OD use caseRichard Burton
OD API now takes in these paramaters as part of the constructor Change-Id: I4cce25e364b2a99847b4540440db059997f6a81b
2022-05-17MLECO-2985 Adding Corstone-310 supportKshitij Sisodia
Change-Id: Ifa4b11154478355c10cb3e747b9938a74afd242b Signed-off-by: Eanna O Cathain <eanna.ocathain@arm.com>
2022-05-16Minor change to help build API libs independently.Richard Burton
* Remove unused CMake left behind after API refactoring. * Include TensorFlow source path directory for common_api target when building CMSIS packs. Signed-off-by: Richard Burton <richard.burton@arm.com> Change-Id: I3ed63781edddf24887f61a971bfadaa037739fa8
2022-05-13MLECO-3101: Minor changes for CMSIS packKshitij Sisodia
Improvements based on feedback from initial tests done with the generated pack. Change-Id: Ia769dd6264c53e6b9337473e1c50bdfa6469a216 Signed-off-by: Kshitij Sisodia <kshitij.sisodia@arm.com>
2022-05-13MLECO-3202: Reduce Profiler's heap usageRichard Burton
* Profiler now only maintains a running average of profiling stats * Memory now constant for use cases with multiple inferences like Noise Reduction Signed-off-by: Richard Burton <richard.burton@arm.com> Change-Id: I50e0ca802edb637d363c1d61671d48a6885880f7
2022-05-12MLECO-3186: Each use case should same namespace convention as KWS and ASRLiam Barry
Certain UCs required additional work due to case context variables which also became part of a namespace in generated files. Solution was to declare these extra variables as part of the UC namespace in the respective model.hpp files. Additional changes to standardise use of namespaces may be required - proposing new task. Minor typo and rewording of customizing.md in relevant sections included. Signed-off-by: Liam Barry <liam.barry@arm.com> Change-Id: Ie78f82a30be252cb841136ea5115f21fc8d762cb
2022-05-11MLECO-3187: Remove NPU op inclusion checksMatthew Sloyan
* If an optimized model is accidentally supplied with Ethos-U support disabled it will return from the model.Init() function before it gets to these checks so they are redundant. Signed-off-by: Matthew Sloyan <matthew.sloyan@arm.com> Change-Id: Ibe25531347ce29cb0866a9cc087c7267673ab4da
2022-05-10MLECO-3189: Object detection keeps all detectionsMatthew Sloyan
* Clear vector before each inference to make sure there are no leftover results when running all inferences. Signed-off-by: Matthew Sloyan <matthew.sloyan@arm.com> Change-Id: If2417364151d7f380c3311447b10f971a5475f9e
2022-05-10MLECO-3160 Adding .clang-formatEanna O Cathain
Change-Id: If5cf20e189273a887917aefcc745c4992be93e1d Reviewed-on: https://eu-gerrit-2.euhpc.arm.com/c/ml/ecosystem/ml-embedded-evaluation-kit/+/543186 Tested-by: mlecosys <mlecosys@arm.com> Reviewed-by: Nina Drozd <nina.drozd@arm.com> Reviewed-by: Kshitij Sisodia <kshitij.sisodia@arm.com>
2022-05-09MLECO-3184: Adding helper for CMSIS pack genKshitij Sisodia
Adding CMakeLists and use-case-api.yml file under scripts/cmake. These files can be used by CMSIS pack generation tools. Change-Id: I6fff715c71fc068184a1a038e6b70a3547c30ff4
2022-05-06MLECO-3183: Refactoring application sourcesKshitij Sisodia
Platform agnostic application sources are moved into application api module with their own independent CMake projects. Changes for MLECO-3080 also included - they create CMake projects individial API's (again, platform agnostic) that dependent on the common logic. The API for KWS_API "joint" API has been removed and now the use case relies on individual KWS, and ASR API libraries. Change-Id: I1f7748dc767abb3904634a04e0991b74ac7b756d Signed-off-by: Kshitij Sisodia <kshitij.sisodia@arm.com>
2022-05-05MLECO-3171: Add flag to make VWW grayscale conversion optionalRichard Burton
Signed-off-by: Richard Burton <richard.burton@arm.com> Change-Id: I4ae40a60efc0c09f27b02f739769238e95bb112c
2022-05-04MLECO-3173: Add AD, KWS_ASR and Noise reduction use case API'sRichard Burton
Signed-off-by: Richard Burton <richard.burton@arm.com> Change-Id: I36f61ce74bf17f7b327cdae9704a22ca54144f37
2022-05-03MLECO-3178: Fix for error reportingKshitij Sisodia
TensorFlow Lite Micro's error reporting fix with some minor wiring changes. Change-Id: Ib011ab132c82db5809b75a7c4b983a3db2a808d6
2022-04-27MLECO-3076: Add use case API for object detectionRichard Burton
* Removed unused prototype for box drawing Signed-off-by: Richard Burton <richard.burton@arm.com> Change-Id: I1b03b88e710a5efb1ff8e107859d2245b1fead26
2022-04-22MLECO-3174: Minor refactoring to implemented use case APISRichard Burton
Looks large but it is mainly just many small adjustments Removed the inference runner code as it wasn't used Fixes to doc strings Consistent naming e.g. Asr/Kws instead of ASR/KWS Signed-off-by: Richard Burton <richard.burton@arm.com> Change-Id: I43b620b5c51d7910a29a63b509ac4d8a82c3a8fc
2022-04-22MLECO-3077: Add ASR use case APIRichard Burton
* Minor adjustments to doc strings in KWS * Remove unused score threshold in KWS Signed-off-by: Richard Burton <richard.burton@arm.com> Change-Id: Ie1c5bf6f7bdbebb853b6a10cb7ba1c4a1d9a76c9
2022-04-21MLECO-3110: Fix for warnings from TensorFlow Lite MicroKshitij Sisodia
Changes to fix "Pillow not found" warnings from TensorFlow Lite Micro build. Change-Id: I42a9b3f6df746ac3e34585e0c79ffdf35da97aef Signed-off-by: Kshitij Sisodia <kshitij.sisodia@arm.com>
2022-04-19MLECO-3078: Add VWW use case APIRichard Burton
We now expect that img_class and vww use cases model inputs should have 4 dims as dictated by use case logic Signed-off-by: Richard Burton <richard.burton@arm.com> Change-Id: I67a57a3a28a7ff2e09c917c40e9fc2c08384a45c
2022-04-13MLECO-2921: Minor changes for HAL projectsKshitij Sisodia
Ensuring individual HAL projects can be configured without the need to be wrapped. Tests can now be added to build individual components and check for any unintended dependencies creeping in. Change-Id: I057699c3c3cc0fc280615db30a25fbe4c28ae8ea Signed-off-by: Kshitij Sisodia <kshitij.sisodia@arm.com>
2022-04-13MLECO-3075: Add KWS use case APIRichard Burton
Removed some of the templates for feature calculation that we are unlikely to ever use. We might be able to refactor the feature caching and feature calculator code in the future to better integrate it with with PreProcess API. Signed-off-by: Richard Burton <richard.burton@arm.com> Change-Id: Ic0c0c581c71e2553d41ff72cd1ed3b3efa64fa92