GithubHelp home page GithubHelp logo

Comments (6)

dogancan avatar dogancan commented on June 27, 2024

Thanks for the report. I remember fixing these methods some time back but it seems I fixed them only for the FullGmm class. I'll try to fix them for other Gmm types later today -- no promises though. If you have installed pykaldi from source, you should be able to update your installation once the fix is up. If you have installed using conda, you will have to wait until we update the conda package which might take a day or so.

from pykaldi.

dogancan avatar dogancan commented on June 27, 2024

I just pushed a fix. Feel free to reopen this issue if you continue to have this problem.

from pykaldi.

kresle avatar kresle commented on June 27, 2024

@dogancan Thanks a lot!
I just compiled and these methods work perfectly now for both of DiagGmm and FullGmm.
But I have another problem with FullGmm when reading data.
ki = xopen('diag_ubm/final.dubm',mode='rb') for DiagGmm ubm works fine but ki = xopen('full_ubm/final.dubm',mode='rb') for FullGmm ubm gives IOError: Could not open stream for reading.
Can you give me some advice?

from pykaldi.

dogancan avatar dogancan commented on June 27, 2024

It seems like the second file does not exist on that path or it is not readable. Can you check if it is indeed there? If it is there, could you copy and paste the output of “ls -l full_ubm”?

from pykaldi.

kresle avatar kresle commented on June 27, 2024

@dogancan It works now. Maybe I typed in some error, but the error occured when calling gmm.read(ki.stream(), ki.binary) instead of xopen. Anyway, thanks for your time!

from pykaldi.

dogancan avatar dogancan commented on June 27, 2024

You’re welcome.

from pykaldi.

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.