Code Monkey home page Code Monkey logo

Comments (7)

menon92 avatar menon92 commented on July 28, 2024

@skfaysal1997, Could you please share the notebook that you run for inference.
I'm getting correct output by running inference notebook
Thanks

from bangalasr.

MdFaysal97 avatar MdFaysal97 commented on July 28, 2024

Sure!
https://github.com/MdFaysal97/github-share/blob/main/inference.ipynb

from bangalasr.

skfaysal1997 avatar skfaysal1997 commented on July 28, 2024

@menon92 Here's the inference notebook:
https://nbviewer.org/github/MdFaysal97/github-share/blob/main/inference.ipynb

from bangalasr.

menon92 avatar menon92 commented on July 28, 2024

@MdFaysal97 @skfaysal1997 Do you use the model that provided in this repository ? or you use your custom model ?

from bangalasr.

MdFaysal97 avatar MdFaysal97 commented on July 28, 2024

@menon92 Here's is the inference output of the model provided in the repo for my custom data.
https://nbviewer.org/github/MdFaysal97/github-share/blob/main/asr_inferance.ipynb
I thought the miss prediction make sense as you have already told it's a biased model. But when i tried training the model using your script i got the following error:
list_error

Anyway we can ignore the error by not passing the "display_cb" to the callbacks and complete the training.After training while i inference the model i got prediction like:
https://github.com/menon92/BangalASR/issues/2#issue-1018226133

For your convenient,The scripts are:
train.py
https://gist.github.com/MdFaysal97/34e1c03bbe8a2025cb7d2a185fe399fa
utils.py
https://gist.github.com/MdFaysal97/8c034076fd7d2467f13dbeaf1e1284db
config.py
https://gist.github.com/MdFaysal97/06bf4f1027baa167e1ba0b841d8962a6
Can you please help?

from bangalasr.

rayat927 avatar rayat927 commented on July 28, 2024

I am also facing the same issue. I am using the model provided in this repo

from bangalasr.

menon92 avatar menon92 commented on July 28, 2024

@MdFaysal97 , @rayat927 The was a bug in training code.
I did not pass the unique chars to VectorizeChar class, I update the code

vectorizer = VectorizeChar(unique_chars, max_target_len)

Thanks

from bangalasr.

Related Issues (3)

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.