ESP icon indicating copy to clipboard operation
ESP copied to clipboard

Running the trained pipeline on the Arduino

Open giladnahor opened this issue 7 years ago • 2 comments

Hi, I'm trying to port the trained pipeline to run the classification on the Arduino itself (Arduino 101) Is it possible? Training can be done offline but I want the project to be self sustained. Thanks

giladnahor avatar Jun 18 '17 15:06 giladnahor

Theoretically, the feasibility depends on the modules you use. Some pre-processing, feature extraction, classification, or post-processing modules require more RAM than an embedded platform can offer. Also because of the slow CPU on embedded platforms, running prediction may be too slow.

Practically, porting GRT to embedded platforms may need to change quite some internal implementations. David (@damellis) has tried to port GRT onto embedded platforms. He can probably comment more.

nebgnahz avatar Aug 11 '17 04:08 nebgnahz

It would take a decent amount of effort to port the GRT to an Arduino 101. It also requires a full C++ implementation, enough to compile the STL; I'm not sure if the Arduino 101 has a full-featured enough compiler. There are also various changes to the GRT required to remove use of files, etc. There's a start to that in the port Ben linked to: https://github.com/damellis/grt/tree/arm

damellis avatar Aug 13 '17 01:08 damellis