GithubHelp home page GithubHelp logo

Comments (10)

GolferChen avatar GolferChen commented on May 23, 2024

Since the file is not empty, I infer maybe it is the file permission problem. Please let me know whether or not, so I can update the code to resolve the permission problem automatically.

from fakebob.

GolferChen avatar GolferChen commented on May 23, 2024

For quick debug, please add the following code to Line 253 in ivector_PLDA_kaldiHelper.py and re-run the code.

permission_command = "chmod -R 777 " + self.ivector_dir
import os
os.system(permission_command)

The programe will run well after adding the above code if the issue is indeed raised by file permission problem.

from fakebob.

hypernovas avatar hypernovas commented on May 23, 2024

Hmm, I didn't notice this before but it seems that the problem is ivector.scp is put under "/Users/user1/FAKEBOB/test-iv-CSI/"
instead of "/Users/user1/FAKEBOB/test-iv-CSI/ivector/"

from fakebob.

GolferChen avatar GolferChen commented on May 23, 2024

Actually, there should be two ivector.scp files, the one placed in /Users/user1/FAKEBOB/test-iv-CSI/ is for training voices (i.e., the enrollment voices) , and the other one placed in /Users/user1/FAKEBOB/test-iv-CSI/ivector/ is for testing voices (i.e., voices to be scored).

So please check whether both files exist.

from fakebob.

GolferChen avatar GolferChen commented on May 23, 2024

Are you sure every step of kaldi runs successfully, including mfcc extraction, vad decision and ivector extractor ?

The warning message "empty argument to --cmd option" appears many times in your provided log.

I doubt that the ivectors for testing voices did not get generated, so /Users/user1/FAKEBOB/test-iv-CSI/ivector/ivector.scp does not exist. You can verify this by checking if there are many .ark files in /Users/user1/FAKEBOB/test-iv-CSI/ivector/.

from fakebob.

hypernovas avatar hypernovas commented on May 23, 2024

Ok. The only file in /Users/user1/FAKEBOB/test-iv-CSI/ivector/ is trials

from fakebob.

GolferChen avatar GolferChen commented on May 23, 2024

I got it. The ivectors for testing voices did not get generated. Can you check /Users/user1/FAKEBOB/test-iv-CSI/mfcc/ ? Are there many ".ark" files there ?

from fakebob.

GolferChen avatar GolferChen commented on May 23, 2024

I doubt that your step 7 actually did not run normally.

from fakebob.

hypernovas avatar hypernovas commented on May 23, 2024

Got a chance to set up an ubuntu environment, it just works more smooth. Everything is working fine now. Some notes that might help.

  1. data.tgz file contains some links (instead of audio files) which create some errors
  2. Some weird bugs can be fixed by setting up nj to be 1, there could be some sync problem in local machine

Thanks a lot for all helps.

from fakebob.

GolferChen avatar GolferChen commented on May 23, 2024

Ok. Thanks for your feedback.

from fakebob.

Related Issues (16)

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.