janakisingh-bme/tinyml-har-esp32 ? reverse-engineered prompt

Reverse engineered prompt

Build me a small research project that trains a lightweight human activity recognition model from accelerometer data, then turns it into a quantized version that can run on an ESP32.

I want the full flow, from data prep and training a simple 1D CNN on the UCI HAR dataset, to exporting both float and INT8 TensorFlow Lite models, and then a working ESP32 deployment using TensorFlow Lite Micro and ESP IDF. Please include whatever notebooks and scripts are needed to reproduce the training and evaluation, plus firmware that can run inference on preprocessed test windows stored in flash and report accuracy, latency, and memory use.

Keep it focused on the tradeoff between model size, speed, and accuracy, and make sure the project is easy to run and understand. If you need to check current docs online for any ESP32 or TensorFlow Lite Micro details, go ahead and do that.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab