tum-ei-eda / mlonmcu

Tool for the deployment and analysis of TinyML applications on TFLM and MicroTVM backends
Apache License 2.0
29 stars 12 forks source link

Stream input data over serial port at runtime #41

Open PhilippvK opened 2 years ago

PhilippvK commented 2 years ago

Another long term goal for the project would be the ability to input send data for the model over a serial interface to the target device (real hardware or simulator) and receive the resulting tensor data after inference. This would allow to validate the results on the computer in instead of on the hardware itself, i.e. to test a larger number of samples (which would not fit in ROM) or to evaluate the on-device accuracy (Optional as the quantized accuracy should be the same as determined during model conversion.)

The existing MLIF inout data feature should stay the default.

Some considerations:

PhilippvK commented 1 year ago

Related to #52