Skip to content

RuntimeError: failed to compute mgcep; error occured in theq #2

@SangsakaWira

Description

@SangsakaWira

Hello ttslr, thanks for your repo and give me some insight on how to calculate the MCD. However, there is an error I could not figure it out how to handle, saying:

Processing -----------30.wav
theq() : determinant of the normal matrix is too small!
mgcep : Error in theq() at 0th iteration!
theq() : determinant of the normal matrix is too small!
mgcep : Error in theq() at 1th iteration!
Traceback (most recent call last):
File "MCD-DTW.py", line 49, in
mgc1 = readmgc(filename1)
File "MCD-DTW.py", line 28, in readmgc
mgc = pysptk.mgcep(frames, order, alpha, gamma)
File "", line 2, in mgcep
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/pysptk/util.py", line 75, in apply_along_last_axis
ret = np.apply_along_axis(func, -1, *args, **kwargs)
File "<array_function internals>", line 5, in apply_along_axis
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/numpy/lib/shape_base.py", line 379, in apply_along_axis
res = asanyarray(func1d(inarr_view[ind0], *args, **kwargs))
File "", line 2, in mgcep
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/pysptk/util.py", line 94, in automatic_type_conversion
return func(*args, **kwargs).astype(dtypein)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/pysptk/sptk.py", line 728, in mgcep
return _sptk.mgcep(windowed, order, alpha, gamma, num_recursions, miniter,
File "pysptk/_sptk.pyx", line 219, in pysptk._sptk.mgcep
RuntimeError: failed to compute mgcep; error occured in theq

Do you have any idea how to solve this problem? Thanks..

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions