GithubHelp home page GithubHelp logo

Comments (12)

GolferChen avatar GolferChen commented on May 23, 2024

Could you run 'which ivector-plda-scoring' in your terminal and provide the output?
The possible reason is that you do not set up the environment properly so that the system cannot find it.
Did you follow the suggestion in step-6 in README ?

Step-6: Setting the System Variable which kaldi relies on. We have made it as simple as possible. You just need to copy and paste all the commands in path_cmd.sh to your ~/.zshrc or ~/.bashrc. Do not forget to modify KALDI_ROOT and FAKEBOB_PATH in path_cmd.sh

from fakebob.

GolferChen avatar GolferChen commented on May 23, 2024

Notice: if your shell is bash, then you should paste the commands in path_cmd.sh to your ~/.bashrc, not ~/.zshrc, and source ~/.bashrc, not source ~/.zshrc.
Check the type of your shell by 'echo $0'

from fakebob.

woliyanyan avatar woliyanyan commented on May 23, 2024

It can be found and output in the terminal,
2

And set it according to the suggestions in step 6 of the readme。
But the problem remains unresolved

from fakebob.

FAKEBOB-adversarial-attack avatar FAKEBOB-adversarial-attack commented on May 23, 2024

Quite weird...

Could you set debug = True in the line 36 of build_spk_models.py, re-run the file and provide the log?

from fakebob.

woliyanyan avatar woliyanyan commented on May 23, 2024

this is the running log after modifying debug = true
1

from fakebob.

FAKEBOB-adversarial-attack avatar FAKEBOB-adversarial-attack commented on May 23, 2024

I see.
So the problem may be not due to ivector-plda-scoring since your program even fails at the step of mfcc extraction.

As the first red-colored line of the log indicates, the system cannot find parse_options.sh. This script is in pre-models/utils/ and path_cmd.sh in step-6 has appended it to the PATH environment variable.

Could you run which parse_options.sh and provide the output? This is my output.

image

from fakebob.

woliyanyan avatar woliyanyan commented on May 23, 2024

This is my output.
1

from fakebob.

FAKEBOB-adversarial-attack avatar FAKEBOB-adversarial-attack commented on May 23, 2024

What is your shell type? Zsh?

from fakebob.

woliyanyan avatar woliyanyan commented on May 23, 2024

2

from fakebob.

FAKEBOB-adversarial-attack avatar FAKEBOB-adversarial-attack commented on May 23, 2024

Quite confusing. Currently, I cannot figure out why the system can find all these files when you run which xx, but fail to find them when you run build_spk_models.py.

I will try to reproduce the manual installation from scratch on a new machine to see whether your problem is a common one.

Before that, I suggest you turn to docker installation. It will save you much effort.

from fakebob.

woliyanyan avatar woliyanyan commented on May 23, 2024

OK, thank you. Please!

from fakebob.

FAKEBOB-adversarial-attack avatar FAKEBOB-adversarial-attack commented on May 23, 2024

Hi, I have reproduced the manual installation from scratch on a new machine (not the one I previously worked on). Everything went smoothly. The only exception is that I accidentally forgot to run source ~/.zshrc in step-6 and encountered the same problem as you. However, the problem was easily fixed after I executed source ~/.zshrc.

So did you strictly follow the instruction of manual installation (especially step-6)?

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.