Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integrate new version of Tensorflow Lite Micro #378

Closed
mbanth opened this issue Aug 24, 2022 · 2 comments
Closed

Integrate new version of Tensorflow Lite Micro #378

mbanth opened this issue Aug 24, 2022 · 2 comments

Comments

@mbanth
Copy link
Collaborator

mbanth commented Aug 24, 2022

We have a improved version of Tensorflow Lite Micro. The developer wants to make it available for use in fwk_voice and specifically the Voice-Noise Ratio component. This issue exists to identify and complete any necessary work to integrate this new version of TFLM.

@uvvpavel
Copy link
Collaborator

uvvpavel commented Sep 6, 2022

  • Build lib_vnr as a static library
  • Use new tflite_mirco_compiler and change vnr calls
  • Move calc_vnr_pred into IC
  • vnr cleanup
  • full xcore build
  • full x86 build
  • Document ic_calc_vnr_pred
  • make sure Windows build works
  • All tests passing

@uvvpavel
Copy link
Collaborator

uvvpavel commented Sep 8, 2022

One of the python cffi tests exits with the segmentation error which is usually related to using memory outside of the allocated stack or stack running out of memory. This line appears to break the test.
https://github.com/uvvpavel/sw_avona-1/blob/latest_tflite_micro/modules/lib_vnr/src/inference/model/outFile.cpp#L35
Making the kTensorArenaSize larger makes the test pass. This issue will be parked till @panickal-xmos is back from holiday.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants