Open doyu opened 1 year ago
Is the goal for this task to convert a normal Tensorflow model into TFLite and/or a C source for TFLite micro? Didn't really understand what is meant by "compiling" in this context :)
I think that this is same as https://github.com/Origami-TinyML/tflm_hello_world/issues/54 Just generating a flatbuf model binary. The rest of process should be done by https://github.com/Origami-TinyML/tflm_hello_world/issues/55 since the application logic and a model should be independent. You should work on human detection of this now without hello now. Did I answer your question here?
Yes I am working on the human detection now. And thanks for the clarification :)
How should we go about implementing this with the Webapp, since the conversion to .cc model is done via command line ? https://www.tensorflow.org/lite/microcontrollers/build_convert#convert_to_a_c_array
Instead of dumping with xxd, can't just c-program read a binary file of flatbuff tflite directly?
Alternatively, you could use a linker file to embed a binary in it too.
Just got the xxd to work :) Should we still keep the xxd or skip it and use the .tflite files directly.
xxd is OK for now ;)
Should I make a new PR for this or push it to #67 , since this is just one additional method to the existing model training code?
Let's leave them separated.
Steps
Hello is just a dummy use case. You won't need any fancy UI for now. This is just a preparation for the coming real use case.
This is the destination page, https://doyu-tflm-hello-world-tinymlaas-yaz40u.streamlit.app/Compiling
This may be similar to https://github.com/doyu/uoh-software-project-time-report/