how can I use the model from https://www.tensorflow.org/tutorials/audio/simple_audio in my Android app? How to provide inputs correctly and how to interpret outputs?
CodePudding user response:
TensorFlow Lite's Task Library has an Audio Classification example for Android, which is what you might be looking for. The guide explains how the Java AudioClassifier
API works.
The Task Library uses YAMNet for audio analysis, which has a pre-trained version on TFHub. If you want to train with your own dataset, please refer to the notebooks mentioned here.