Caldarie / flutter_tflite_audio

Audio classification Tflite package for flutter (iOS & Android). Can support Google Teachable Machine models
MIT License
64 stars 25 forks source link

issue using google's yamnet model #45

Open hbtalha7 opened 1 year ago

hbtalha7 commented 1 year ago

Hi,

Can you use this library to run google's yamnet tflite version model (used this one https://tfhub.dev/google/lite-model/yamnet/classification/tflite/1)? when i am trying to use i am getting generic error PFA.

Screenshot_20221228_163747

Thanks!

Caldarie commented 1 year ago

I believe it’s possible. All you need to do is change the input and output size of the plugin to match those of Yamnet.

I had been meaning to add yamnet as an option, but have been very busy lately.

Matterspeed commented 1 year ago

Hi, I am also trying to run yamnet but couldnt get it working. What do you mean with changing the input and output size of the plugin, where can I do this?

Caldarie commented 1 year ago

It seems a lot of people are having this problem. I’ll take a look sometime this week and see if I can provide a quick update

Matterspeed commented 1 year ago

thanks, that would be awesome!!!

mostafanada commented 1 year ago

this issue is solved? @Matterspeed