GithubHelp home page GithubHelp logo

Empty TFLite output about tensorflowasr HOT 3 CLOSED

liuyibox avatar liuyibox commented on June 11, 2024
Empty TFLite output

from tensorflowasr.

Comments (3)

liuyibox avatar liuyibox commented on June 11, 2024

Is this because the run_tflite_model.py file did not organize the input as the way the training dataset did? run_tflite_model.py directly feeds the raw audio into the tflite model instead of doing preprocessing, e.g., stft.

from tensorflowasr.

liuyibox avatar liuyibox commented on June 11, 2024

Is this because the run_tflite_model.py file did not organize the input as the way the training dataset did? run_tflite_model.py directly feeds the raw audio into the tflite model instead of doing preprocessing, e.g., stft.

I used the pretrained tflite models on the drive for inference and it does output the correct speech transcripts as expected. So this does not necessarily need preprocessing.

However, the weird thing is after I convert the h5 model on the driver to tflite and I inference on that tflite model, the inference outputs weird transcripts, how can this happen? Can you provide the h5 models for the 2 tflite models on google drive so that I can test if there are problems in the current "gen_tflite_model.py" file?

�s himsinengebe be theninsaidYgghimscamecamefacewrllblebleordlet barlet Ygg�Ybleil((bleblebleblebleblebe shoushouL

from tensorflowasr.

liuyibox avatar liuyibox commented on June 11, 2024

The "gen_tflite_model.py" works well. It turns out we definitely need more epochs to train the conformed models. After 20 epochs training, the conformer tflite model can outout "kutches me and i am bed" something meanful. I'm closing this issue.

from tensorflowasr.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.