deepC on
December 13, 2019 ยท View on GitHub
Bring your own Model (BYOM)
- Train your machine learnig model.
- Convert it to onnx
deepC Compile to C++
Download and install deepC and run onnx2cpp command
% onnx2cpp <model>.onnx
Embed deepC model
Use setup and loop to include C++ file compiled by deepC
Consult Arduino Reference to complete your application/sketch.
Run
- Upload the sketch: Sketch -> Upload
- Open the Serial Monitor: Tools -> Serial Monitor

KPNS
- Replace Eigen lib of deepC with Arduino port, in case you run into Eigen errors.