Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob

Remember to install QEMU before running ML (Machine Learning) Configurator at ModusToolbox

Remember to install QEMU before running ML (Machine Learning) Configurator at ModusToolbox

Harris_Chan
Employee
Employee
5 comments on KBA 10 questions asked 100 sign-ins

ModusToolbox (currently v3.1) contains several code example projects for Machine Learning applications.  After creating, building, and programming an ML project (such as Machine_Learning_Neural_Network_Profiler) to your EVK (such as CY8CKIT-062S2-43012 with CY8CKIT-028-TFT Shield), you may launch ML Configurator for machine learning model validation.  At ML Configurator, user can click:

Generate Source at General Settings tab,

Validate at Validate in Desktop tab or

Validate at Validate on Target tab.   

In case there are errors, please check whether you have installed QEMU (a generic and open source machine emulator and virtualizer) from:

https://www.qemu.org/download

- Please download QEMU 6.2.0 as ML Configurator expects QEMU versions between 6.0.0 and 6.2.0 inclusively.

2021-12-15: New QEMU installers (6.2.0).

https://qemu.weilnetz.de/w64/2021/qemu-w64-setup-20211215.exe

 

Please also ensure adding below PATHs at your Environment Variables… of your computer.

IFX_MTBML_QEMU_PATH

C:\Program Files\qemu (or your directory where QEMU was installed)

Path

C:\Program Files\qemu (or your directory where QEMU was installed)

 

Then close ML Configurator and Eclipse IDE for ModusToolbox, and relaunch.  The ML Configurator errors should be gone.

 

INFO] QEMU application: Will use IFX_MTBML_QEMU_PATH environment variable

[INFO] QEMU application location C:\Program Files\qemu\qemu-system-arm.exe

 

[INFO] QEMU application version: 6.2.0

[INFO] QEMU: Executing C:\Users\chanharris\ModusToolbox\packs\ModusToolbox-Machine-Learning-Pack\tools\ml-coretools\ml-coretools-tflm-qemu-images\tflm-qemu-model-mem-calc-cm4

Harris_Chan_3-1707380504720.png

Harris_Chan_4-1707380504731.png

Harris_Chan_5-1707380504736.png

0 Likes
51 Views
Contributors