-
Notifications
You must be signed in to change notification settings - Fork 26
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
Speech Command Tutorial #18
Comments
I started working on it! |
I just learnt that there's an engineer in TFLite team is now working on rebuilding the speech command sample using TF2 and that may overlap with the tutorial that you're working on. Do you mind pausing the effort for now? Sorry for the back and forth...
I think it was taken down from TF.org because it's a TF 1 tutorial. I think it's the same one with this document on GitHub. |
Yes no problem, I saw that code was with TF version 1.14 and I was wondering if everything was going to compile. Thanks |
That's nice! There won't be overlapping on that so please proceed :) Once the training code is converted to TF2, we can connect it with the new Kotlin app that you are going to build. |
Hi Khanh, I want to ask if I can use the same colors, TensorFlow logos and layouts inside Speech commands Kotlin app. Is it a problem? |
Update. Working already:
Not working yet:
Also I want to ask if I have to unhide selection for NNAPI delegate and make it work. This option is hidden and apparently never completed. Do you think I have to show it now? Thanks |
Sure, feel free to use the TF colors.
If it wasn't shown in the current app UI and not currently used then I think it's fine to keep it that way. Delegate support would be nice to have but I haven't tested if the model is supported by any of the current delegates. |
I have already finished app. I have created a landscape layout file: I will work the READ.ME file for some more info for the users. Please build to confirm that everything is working and get back with some suggestions of improvement. Thank you |
I played with some delegates It seems that GPU is not supported as there is no improvement of speed. But I think NnApiDelegate is supported as it give results....lower inference time but it runs with no problems. NnApiDelegate time 350ms with 1 thread |
It's very likely that NNAPI CPU implementation is slower, especially if you're using an older phone because NNAPI implementation is included in Android while TFLite CPU implementation can be updated over time. Given that the delegates don't provide any performance advantage, let's exclude it from the UI then. |
@farmaker47 are you still working on this project? |
No I am not Sayak . I have just finished the android application. |
I think we could still include the application as a demo app within our README. |
@farmaker47 thank you for agreeing to help with the speech command tutorial!
Background
Our ask
The text was updated successfully, but these errors were encountered: